penchant 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
data/features/cli.feature
CHANGED
@@ -40,6 +40,15 @@ Feature: CLI
|
|
40
40
|
When I run "bin/penchant gemfile remote" in the "tmp" directory
|
41
41
|
Then the output should include "git hooks not installed"
|
42
42
|
|
43
|
+
Scenario: Run in a project where there are no git hooks, but there is a git repo
|
44
|
+
Given I have the file "tmp/Gemfile.penchant" with the content:
|
45
|
+
"""
|
46
|
+
gem 'rake'
|
47
|
+
"""
|
48
|
+
Given I have the directory "tmp/.git"
|
49
|
+
When I run "bin/penchant gemfile remote" in the "tmp" directory
|
50
|
+
Then the output should not include "git hooks not installed"
|
51
|
+
|
43
52
|
Scenario: Run in a project where git hooks are set up
|
44
53
|
Given I have the file "tmp/Gemfile.penchant" with the content:
|
45
54
|
"""
|
data/lib/penchant/hooks.rb
CHANGED
data/lib/penchant/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: penchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.15
|
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-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- features/ruby_gemfile.feature
|
145
145
|
- features/step_definitions/given/i_am_on_the_linux_platform.rb
|
146
146
|
- features/step_definitions/given/i_expect_git_hooks_to_be_installed.rb
|
147
|
+
- features/step_definitions/given/i_have_the_directory_tmp_git.rb
|
147
148
|
- features/step_definitions/given/i_have_the_file_with_content.rb
|
148
149
|
- features/step_definitions/given/i_have_the_symlink_git_hooks_pre_commit_which_points_to_script_hooks_pre_commit.rb
|
149
150
|
- features/step_definitions/then/i_should_get_the_following_environments.rb
|
@@ -197,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
198
|
version: '0'
|
198
199
|
segments:
|
199
200
|
- 0
|
200
|
-
hash:
|
201
|
+
hash: 3497942139244782900
|
201
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
203
|
none: false
|
203
204
|
requirements:
|
@@ -206,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
207
|
version: '0'
|
207
208
|
segments:
|
208
209
|
- 0
|
209
|
-
hash:
|
210
|
+
hash: 3497942139244782900
|
210
211
|
requirements: []
|
211
212
|
rubyforge_project: penchant
|
212
213
|
rubygems_version: 1.8.23
|
@@ -220,6 +221,7 @@ test_files:
|
|
220
221
|
- features/ruby_gemfile.feature
|
221
222
|
- features/step_definitions/given/i_am_on_the_linux_platform.rb
|
222
223
|
- features/step_definitions/given/i_expect_git_hooks_to_be_installed.rb
|
224
|
+
- features/step_definitions/given/i_have_the_directory_tmp_git.rb
|
223
225
|
- features/step_definitions/given/i_have_the_file_with_content.rb
|
224
226
|
- features/step_definitions/given/i_have_the_symlink_git_hooks_pre_commit_which_points_to_script_hooks_pre_commit.rb
|
225
227
|
- features/step_definitions/then/i_should_get_the_following_environments.rb
|