def_enum_helper 0.2.0 → 0.3.0

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: f228f2de771b59063b78d5cc48b4cd09d90fedd0
4
- data.tar.gz: 9acd36ca28215033c92183105c6bf3f51d6a1bb3
3
+ metadata.gz: 461321a94afff38dac2cacb8bf4b61dc7de5aa67
4
+ data.tar.gz: c87bf0b00d70922fc1f7d7bc54acbd4286fcaa93
5
5
  SHA512:
6
- metadata.gz: 8c84b07d8820b4956e3a01f67073ca35ddf2f46031a0b5ec87d348f4fcb1e4ad45b2c9a95e39a2576d80de37f991dc818219aa94fb45fdaf459ee5713fee151c
7
- data.tar.gz: 0b1273f73956933aa6a4476cd8f69c3ca44ae4ff17f163d14c7219aabe86a96961ba8244b55bbd84132cbe9cea78499559bdfb4696532277531f2ffe8f87dc4c
6
+ metadata.gz: 22eee2d51f333aae1055d9358468655a9a787427b4b579afa6a88561e8e28d72cd82e9e0a99427de42e4dbf82a2bbca915a8e350f97a1aedd05b52d3f5dc8e54
7
+ data.tar.gz: 5483ab06a9f4d6e38093ee365f63b3535d760fdbfa7094fd33a68dccbe9e1c0441e9dab56e63fd2e8d296daa1fbf0cd52087a584ca223e92e4bb9873881c2871
@@ -130,5 +130,5 @@ def def_enum_struct_with_index(module_name, enum_hash, index_name: :index, displ
130
130
 
131
131
  define_enum_methods(m, enum_index_hash, enum_display_hash)
132
132
 
133
- Kernel.const_set(module_name, m)
133
+ const_set(module_name, m)
134
134
  end
@@ -1,3 +1,3 @@
1
1
  module DefEnumHelper
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: def_enum_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Zhang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-24 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler