appraisal 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/appraisal/appraisal.rb +1 -1
- data/lib/appraisal/version.rb +1 -1
- data/spec/appraisal/appraisal_spec.rb +13 -3
- metadata +4 -4
data/lib/appraisal/appraisal.rb
CHANGED
data/lib/appraisal/version.rb
CHANGED
@@ -9,8 +9,18 @@ describe Appraisal::Appraisal do
|
|
9
9
|
appraisal.bundle_command.should == "bundle check --gemfile='/home/test/test directory' || bundle install --gemfile='/home/test/test directory'"
|
10
10
|
end
|
11
11
|
|
12
|
-
it "
|
13
|
-
appraisal = Appraisal::Appraisal.new("
|
14
|
-
appraisal.gemfile_path.should =~ /
|
12
|
+
it "converts spaces to underscores in the gemfile path" do
|
13
|
+
appraisal = Appraisal::Appraisal.new("one two", "Gemfile")
|
14
|
+
appraisal.gemfile_path.should =~ /one_two\.gemfile$/
|
15
|
+
end
|
16
|
+
|
17
|
+
it "converts punctuation to underscores in the gemfile path" do
|
18
|
+
appraisal = Appraisal::Appraisal.new("o&ne!", "Gemfile")
|
19
|
+
appraisal.gemfile_path.should =~ /o_ne_\.gemfile$/
|
20
|
+
end
|
21
|
+
|
22
|
+
it "keeps dots in the gemfile path" do
|
23
|
+
appraisal = Appraisal::Appraisal.new("rails3.0", "Gemfile")
|
24
|
+
appraisal.gemfile_path.should =~ /rails3\.0\.gemfile$/
|
15
25
|
end
|
16
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appraisal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
segments:
|
141
141
|
- 0
|
142
|
-
hash:
|
142
|
+
hash: 2044545027023341244
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
segments:
|
150
150
|
- 0
|
151
|
-
hash:
|
151
|
+
hash: 2044545027023341244
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
154
|
rubygems_version: 1.8.24
|