busser 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.3.2 / 2013-04-10
2
+
3
+ ### Improvements
4
+
5
+ * Add more cucumber steps for vendor paths. ([@fnichol][])
6
+
7
+
1
8
  ## 0.3.1 / 2013-04-10
2
9
 
3
10
  ### Bug fixes
@@ -69,6 +69,21 @@ Then(/^the suite file "(.*?)" should contain exactly:$/) do |file, content|
69
69
  check_exact_file_content(file_name, content)
70
70
  end
71
71
 
72
+ Then(/^the vendor directory named "(.*?)" should exist$/) do |name|
73
+ directory = File.join(ENV['BUSSER_ROOT'], "vendor", name)
74
+ check_directory_presence([directory], true)
75
+ end
76
+
77
+ Then(/^the vendor directory named "(.*?)" should not exist$/) do |name|
78
+ directory = File.join(ENV['BUSSER_ROOT'], "vendor", name)
79
+ check_directory_presence([directory], false)
80
+ end
81
+
82
+ Then(/^the vendor file "(.*?)" should contain "(.*?)"$/) do |file, content|
83
+ file_name = File.join(ENV['BUSSER_ROOT'], "vendor", file)
84
+ check_file_content(file_name, content, true)
85
+ end
86
+
72
87
  Then(/^a gem named "(.*?)" is installed with version "(.*?)"$/) do |name, ver|
73
88
  unbundlerize do
74
89
  run_simple(unescape("gem list #{name} --version #{ver} -i"), true, nil)
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Busser
20
- VERSION = "0.3.1"
20
+ VERSION = "0.3.2"
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: