Skip to content

Commit 6bac84e

Browse files
committed
Merge pull request #87 from rusikf/patch-5
update appraisal to 1.0
2 parents 3fe77a4 + 4b445ce commit 6bac84e

File tree

7 files changed

+27
-21
lines changed

7 files changed

+27
-21
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ rvm:
88
gemfile:
99
- gemfiles/rails_4_0.gemfile
1010
- gemfiles/rails_4_1.gemfile
11+
- gemfiles/rails_4_2.gemfile
1112
matrix:
1213
exclude:
1314
- rvm: 1.9.3
1415
gemfile: gemfiles/rails_4_1.gemfile
16+
script: "bundle exec rake test"

Appraisals

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
appraise "rails_4_0" do
22
gem "rails", "~> 4.0.1"
3-
4-
gem 'rubysl', '~> 2.0', platforms: :rbx
5-
gem 'minitest', platforms: :rbx
63
end
74

85
appraise "rails_4_1" do
9-
gem "rails", "4.1.0.beta1"
6+
gem "rails", "4.1"
7+
end
108

11-
gem 'rubysl', '~> 2.0', platforms: :rbx
12-
gem 'minitest', platforms: :rbx
9+
appraise "rails_4_2" do
10+
gem "rails", "4.2"
1311
end

Rakefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1+
require 'rubygems'
12
require 'bundler'
23
Bundler::GemHelper.install_tasks
34

4-
begin
5-
require 'appraisal'
6-
rescue LoadError
7-
end
8-
95
require 'rake/testtask'
106
Rake::TestTask.new(:test) do |test|
117
test.libs << 'lib' << 'test'

gemfiles/rails_4_0.gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

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

5+
gem "rubysl", "~> 2.0", :platforms => :rbx
6+
gem "minitest", :platforms => :rbx
7+
gem "html2haml"
58
gem "rails", "~> 4.0.1"
69

7-
gem 'rubysl', '~> 2.0', platforms: :rbx
8-
gem 'minitest', platforms: :rbx
9-
10-
gemspec :path=>"../"
10+
gemspec :path => "../"

gemfiles/rails_4_1.gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

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

5-
gem "rails", "4.1.0.beta1"
5+
gem "rubysl", "~> 2.0", :platforms => :rbx
6+
gem "minitest", :platforms => :rbx
7+
gem "html2haml"
8+
gem "rails", "4.1"
69

7-
gem 'rubysl', '~> 2.0', platforms: :rbx
8-
gem 'minitest', platforms: :rbx
9-
10-
gemspec :path=>"../"
10+
gemspec :path => "../"

gemfiles/rails_4_2.gemfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rubysl", "~> 2.0", :platforms => :rbx
6+
gem "minitest", :platforms => :rbx
7+
gem "html2haml"
8+
gem "rails", "4.2"
9+
10+
gemspec :path => "../"

haml-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
s.add_development_dependency "rails", [">= 4.0.1"]
2525
s.add_development_dependency "bundler", "~> 1.2"
2626
s.add_development_dependency "rake"
27-
s.add_development_dependency 'appraisal', '>= 0.3.8'
27+
s.add_development_dependency 'appraisal', '~> 1.0'
2828

2929
s.files = `git ls-files`.split("\n")
3030
s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}

0 commit comments

Comments
 (0)