simple_command 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dabb8a7bf076158513db0079c22a32a62c9be279
4
- data.tar.gz: bfe07f08f8a996b159774cbaa140068f1c345006
3
+ metadata.gz: 34d0c5727245163347f97d47f2b6d1ee2427b3fc
4
+ data.tar.gz: 55e57dbdac2641a907b8186b822a32c1ce5584e0
5
5
  SHA512:
6
- metadata.gz: 5ddb4a9d44224a97779d648d761cd4e9f45409fbd7c16964224535ee03160d12fc9e4b8222a1ff0473709ea6b51cbcbcfdbf7b2f354fe694a883e9967f42dfab
7
- data.tar.gz: 9caa9600dbeda9e0de74f96e83fd541f6c28cd68ea48c24fc6b27ea9c7a7ad27019e1c908fca116dd99cd2c18b1c69afa1aeaabcf7dc634471cb5b6ecdac616f
6
+ metadata.gz: 42f9820c03e53e70355decbf26c15d17559198404a171d3e5f37f54284b77f046a1094a69921abad73c34a793916066b301916ede8a8a0c88b74837ef72af3ce
7
+ data.tar.gz: a86431bceab44ee6e2a25dc328b5c8e57a71d7eeed8aabde579e6287272d8b9d890ef99737f96e43e666405c2a0056d7582aebfede4c631e8a4d9e3662ecd9dc
@@ -8,7 +8,7 @@ module SimpleCommand
8
8
  self[key].uniq!
9
9
  end
10
10
 
11
- def add_errors(errors_hash)
11
+ def add_multiple_errors(errors_hash)
12
12
  errors_hash.each do |key, values|
13
13
  values.each { |value| add_error key, value }
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleCommand
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
@@ -18,7 +18,7 @@ describe SimpleCommand::Errors do
18
18
  end
19
19
  end
20
20
 
21
- describe '#add_errors' do
21
+ describe '#add_multiple_errors' do
22
22
  let(:errors_list) do
23
23
  {
24
24
  some_error: ['some error description'],
@@ -27,7 +27,7 @@ describe SimpleCommand::Errors do
27
27
  end
28
28
 
29
29
  before do
30
- errors.add_errors errors_list
30
+ errors.add_multiple_errors errors_list
31
31
  end
32
32
 
33
33
  it 'populates itself with the added errors' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrea Pavoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-12 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler