utilise 0.5.0 → 0.5.1.pre.48

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c34f45ba9c380804e5f7b9ae592a2510ec5a32f6
4
- data.tar.gz: 575424d3619f9764562554d07cd2cb617fce0e83
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NTlkNDUzNTRhZTc3YjY3MGZiNTQ4OTUzMDFiMTM4ZDdlNDk1YmQwMQ==
5
+ data.tar.gz: !binary |-
6
+ MWU1YTgzZDE4YTVmMGYyNDY1MDRiMGUyODM5OWJmY2ExYjFiNDExMQ==
5
7
  SHA512:
6
- metadata.gz: 00c8befc8af5056b9e7f29653810cc38fc02e8ed01ab5ef5fcaab1fe9b4d9f93b9a5aca19ee0074e2b4fddede0e7279a90697a1c672421fd72f4ad2127596159
7
- data.tar.gz: cc8a53477d0cb140750936a50ed0458234c51ca9cc766529e5274f675e2d52be870a637047c2bee719abd2255235cb973a1a5852b5a108d36dbfd0554c87066b
8
+ metadata.gz: !binary |-
9
+ YWNlZWNkNTY1YjBjMGJlMTQ5MGQ4YzI3NDMzN2Y3YWNjYTk5MWVjNmY0Mjgz
10
+ YWM4OTM2NWIxYmUwZGU5MTZhZjY2YWEzNDFlZTIwZTlkM2Q1NmFmZmFjNzc5
11
+ YjQwZGEwNWYyMjE1YzkxNTQ2MTNlNzE3ZTZmM2Y1YmU1NzhiNDk=
12
+ data.tar.gz: !binary |-
13
+ MDYxZDNlZGY0YTdmMmI2MTU4NDk0NGNmOWFkOWVkNjBhODk5YjhkZTg0ZGZh
14
+ NDI5MmQxYzA5ZjgzY2Q2ZTBhY2E0MjVhNTliZDQ3NDUwMTZjMWY5MmEzMDEw
15
+ MzViOWZiZTY3MjE1NGNlMDFkYTY0ZTQ2OTA1NzZkNmI5ODMyM2E=
@@ -8,7 +8,7 @@ module Utilise
8
8
  class Bash < Hashie::Mash
9
9
  # The default proc to be used for the bash hash
10
10
  DEFAULT_PROC = lambda do |hash, key|
11
- fail NameError, "No value for:#{key} in #{hash.to_hash.inspect}"
11
+ fail NameError, "No key '#{key}' in #{hash.to_hash.inspect}"
12
12
  end
13
13
 
14
14
  def initialize(source_hash = nil, default = nil, &blk)
@@ -1,9 +1,9 @@
1
1
  # Utilise
2
2
  module Utilise
3
3
  # The current gem version
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  # The version update date
6
- DATE = '2015-08-12'
6
+ DATE = '2015-08-28'
7
7
  # Debug output message
8
8
  MSG = 'Version %s %s (running on %s-%s)'
9
9
 
@@ -37,7 +37,7 @@ describe Utilise::Augment::Crash::Bash do
37
37
  end
38
38
 
39
39
  it 'raises the correct error' do
40
- expect { @hash.x }.to raise_error(/No value for:\w+ in .+/)
40
+ expect { @hash.x }.to raise_error(/No key 'x' in .+/)
41
41
  end
42
42
  end
43
43
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Utilise do
4
4
  describe '.version' do
5
5
  it 'should return the current gem version' do
6
- expect(Utilise.version).to eq('0.5.0')
6
+ expect(Utilise.version).to eq('0.5.1')
7
7
  end
8
8
 
9
9
  it 'should return the current gem version with debug information' do
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utilise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1.pre.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Slaughter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-12 00:00:00.000000000 Z
11
+ date: 2015-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.6'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.4'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.33'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.33'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.10'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.10'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: yard
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.8.7
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.8.7
111
111
  description: Extends a few ruby classes with helpful methods
@@ -152,29 +152,28 @@ require_paths:
152
152
  - lib
153
153
  required_ruby_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ">="
155
+ - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ">="
160
+ - - ! '>'
161
161
  - !ruby/object:Gem::Version
162
- version: '0'
162
+ version: 1.3.1
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.4.8
165
+ rubygems_version: 2.4.5
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Utilises a few extra methods
169
169
  test_files:
170
- - spec/spec_helper.rb
171
- - spec/utilise/array_spec.rb
172
- - spec/utilise/fixnum_spec.rb
173
- - spec/utilise/hash_spec.rb
174
- - spec/utilise/hashie_spec.rb
175
- - spec/utilise/object_spec.rb
176
- - spec/utilise/string_spec.rb
177
- - spec/utilise/symbol_spec.rb
178
- - spec/utilise/time_spec.rb
179
170
  - spec/utilise/version_spec.rb
180
- has_rdoc:
171
+ - spec/utilise/time_spec.rb
172
+ - spec/utilise/symbol_spec.rb
173
+ - spec/utilise/string_spec.rb
174
+ - spec/utilise/object_spec.rb
175
+ - spec/utilise/hashie_spec.rb
176
+ - spec/utilise/hash_spec.rb
177
+ - spec/utilise/fixnum_spec.rb
178
+ - spec/utilise/array_spec.rb
179
+ - spec/spec_helper.rb