git-approvals 0.1.4 → 0.2.0
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/bin/git-approvals +3 -0
- data/lib/git/approvals/approval.rb +1 -1
- data/lib/git/approvals/version.rb +1 -1
- data/spec/fixtures/hash.txt +2 -2
- data/spec/git/approvals/approval_spec.rb +1 -1
- metadata +4 -2
data/bin/git-approvals
ADDED
data/spec/fixtures/hash.txt
CHANGED
@@ -63,7 +63,7 @@ describe Git::Approvals::Approval do
|
|
63
63
|
end
|
64
64
|
it 'formats hashes' do
|
65
65
|
approval = described_class.new './spec/fixtures/hash.txt'
|
66
|
-
approval.diff( { :foo => 'bar', :
|
66
|
+
approval.diff( { :foo => 'bar', :quux => 'bar' } ){ |diff| fail diff }
|
67
67
|
end
|
68
68
|
it 'formats json' do
|
69
69
|
approval = described_class.new './spec/fixtures/hash.json', :format => :json
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-approvals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -126,7 +126,8 @@ dependencies:
|
|
126
126
|
description: Simple git-powered approval tests. With RSpec integration.
|
127
127
|
email:
|
128
128
|
- jeremy.ruppel@gmail.com
|
129
|
-
executables:
|
129
|
+
executables:
|
130
|
+
- git-approvals
|
130
131
|
extensions: []
|
131
132
|
extra_rdoc_files: []
|
132
133
|
files:
|
@@ -138,6 +139,7 @@ files:
|
|
138
139
|
- LICENSE.txt
|
139
140
|
- README.md
|
140
141
|
- Rakefile
|
142
|
+
- bin/git-approvals
|
141
143
|
- git-approvals.gemspec
|
142
144
|
- lib/git-approvals.rb
|
143
145
|
- lib/git/approvals.rb
|