Skip to content

Commit

Permalink
Various small updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
bil-bas committed Sep 7, 2013
1 parent f54edb5 commit 1386fc1
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 18 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
@@ -1,11 +1,12 @@
Releasy Change Log
==================

Next release
------------
v0.3.0
------

* _Project#file_ and _Project#exposed_files_ no longer require the argument to be an array (can take multiple arguments instead).
* Handles 7-ZIP not being found better (always gives error message).
* Removed support for the :github deployer, since they've stopped hosting files.

v0.2.2
------
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,3 +1,3 @@
source :rubygems
source "https://rubygems.org"

gemspec
18 changes: 7 additions & 11 deletions Rakefile
@@ -1,9 +1,8 @@
require 'rubygems'
require 'bundler'
Bundler.setup(:development)
require 'bundler/setup'

require 'rake'
# Hack to ensure rake testtask/clean will load on Ruby 1.8.x
Gem.loaded_specs['rake'].add_self_to_load_path if RUBY_VERSION =~ /^1\.8\.\d+/
#Gem.loaded_specs['rake'].add_self_to_load_path if RUBY_VERSION =~ /^1\.8\.\d+/
require 'rake/testtask'
require 'rake/clean'
require 'yard'
Expand All @@ -12,13 +11,10 @@ CLEAN << "test_output" # Created by running tests.

Bundler::GemHelper.install_tasks

desc "Run all tests"
task :test do
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
# t.options = "--verbose" # Add --verbose to run full descriptive list.
end
Rake::TestTask.new do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
t.verbose = false # Add --verbose to run full descriptive list.
end

YARD::Rake::YardocTask.new
Expand Down
4 changes: 2 additions & 2 deletions releasy.gemspec
Expand Up @@ -26,8 +26,8 @@ END
s.executable = "releasy"

s.add_runtime_dependency('ocra', '~> 1.3.0')
s.add_runtime_dependency('bundler', '~> 1.2.1')
s.add_runtime_dependency('rake', '~> 0.9.2.2')
s.add_runtime_dependency('bundler', '>= 1.2.1')
s.add_runtime_dependency('rake', '>= 0.9.2.2')
s.add_runtime_dependency('cri', '~> 2.1.0')
s.add_runtime_dependency('thor', '~> 0.14.6') # Only needed in Ruby 1.8, since it provides HashWithIndifferentAccess.

Expand Down
4 changes: 2 additions & 2 deletions test_project/Gemfile
@@ -1,9 +1,9 @@
# Hacky gemfile to ensure that we can generate output in tests from this sub-project.
# That is, so we can avoid using the Releasy gemfile.

source :rubygems
source "https://rubygems.org"

# Just include some gems that we know must be installed on the system that has Releasy.
gem "cri"
gem "ocra"
gem "thor"
gem "thor"
16 changes: 16 additions & 0 deletions test_project/Gemfile.lock
@@ -0,0 +1,16 @@
GEM
remote: https://rubygems.org/
specs:
colored (1.2)
cri (2.4.0)
colored (>= 1.2)
ocra (1.3.1)
thor (0.18.1)

PLATFORMS
ruby

DEPENDENCIES
cri
ocra
thor

0 comments on commit 1386fc1

Please sign in to comment.