hooks 0.3.4 → 0.3.5

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: 0f63910d0f878778c924a59a0de9503a56bdb748
4
- data.tar.gz: 99e98842efad2faee958e2083101035623bae89e
3
+ metadata.gz: 667b11cabf0e31ce6915b5acedc3f6bb33547307
4
+ data.tar.gz: 14d261838dbcb5f189efc8dc9222133bf384c992
5
5
  SHA512:
6
- metadata.gz: bd8cfb3df2da9db53a3ad96084f5664bb4df4918cc2bbf9328e08fa5a24685f766db913e881a68aae6d3df617850299f5af9f9322b291c5fe9b6a705c714c43b
7
- data.tar.gz: 4f104c3b400edf21cb19523b4233b8aac411733d5c8d79b11e645f01c72d8b71019f9ee514200c7b7ac3aae714232948299e5219375661978f0eb1c590767566
6
+ metadata.gz: 2c003d89f6509c22384807e98e18ea95e4a73f36924dc629b6e20d238a5ce5e67dc280dcd8002d7b286d0d5ddf92bee9a9ee9aee19c44fe50eb1e1063027bcc3
7
+ data.tar.gz: 55070c29fa509cc6dab3cac0c35b9a717ffe6ffbbecc9168c6f042fdc6c762158e3a7a3bcb232fe5a4321330d32b9ce89e1389ba373e6dde989292c0155c251c
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.5
2
+
3
+ * Fixing bug where `uninitialized constant Hooks` was thrown when using InheritableAttribute exclusively. Thanks to @haswalt for reporting.
4
+
1
5
  ## 0.3.4
2
6
 
3
7
  * Removing `InheritableAttribute` as we use uber's `InheritableAttr` now.
@@ -1,5 +1,7 @@
1
1
  require "uber/inheritable_attr"
2
2
 
3
- Hooks::InheritableAttribute = Uber::InheritableAttr
3
+ module Hooks
4
+ InheritableAttribute = Uber::InheritableAttr
5
+ end
4
6
 
5
7
  warn "WARNING: Hooks::InheritableAttribute is deprecated, use Uber::InheritableAttr instead."
@@ -1,3 +1,3 @@
1
1
  module Hooks
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-06 00:00:00.000000000 Z
11
+ date: 2014-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uber
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.0.2
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: 0.0.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 5.0.0
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: 5.0.0
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: '0'
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: '0'
55
55
  description: Declaratively define hooks, add callbacks and run them with the options
@@ -60,8 +60,8 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".gitignore"
64
- - ".travis.yml"
63
+ - .gitignore
64
+ - .travis.yml
65
65
  - CHANGES.md
66
66
  - Gemfile
67
67
  - LICENSE.txt
@@ -87,22 +87,18 @@ require_paths:
87
87
  - lib
88
88
  required_ruby_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ">="
90
+ - - '>='
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.2.1
100
+ rubygems_version: 2.0.3
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Generic hooks with callbacks for Ruby.
104
- test_files:
105
- - test/hook_test.rb
106
- - test/hooks_test.rb
107
- - test/instance_hooks_test.rb
108
- - test/test_helper.rb
104
+ test_files: []