parliament-grom-decorators 0.30.0 → 0.31.0.pre.rc

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
- SHA1:
3
- metadata.gz: 61ac05487ac2d1b3e88ef39f0361119e613c6653
4
- data.tar.gz: f7b968e9b68959d11f6d536445ea5e2861802c27
2
+ SHA256:
3
+ metadata.gz: 27cc3cf27d79e12c413ee98b69115747405e4b1d2aa666a84aa6a66e5a2ba97f
4
+ data.tar.gz: edda9ff6864dab6701090a70c8a68c2fe871d6ef5ef9e0dda4ca426a62d068d5
5
5
  SHA512:
6
- metadata.gz: c9d8cd1fe703a8549672297179ddf8c3e24b1225d7a01d6ed0a7d9a2338aaa9bcea59d45fe6867540b8eab0d60fa00bd3be1b48cbe6b00d34c8ca955b5d57e13
7
- data.tar.gz: e9faf90985cc7c74ea445cfa86f3b3992c7589bb45488e90ea0fcb93235506b0cc45292d3dbb402aa7d00da570697f45541e1e50c5f421ca23c6df708651988e
6
+ metadata.gz: aa7753c032ca66032beab731f7e729c2910ff87017ab5251ba6cf85286a958f9cd5951e0076efebf65bf8e5fb04d861748672791e9a2d3da9951e96a625f996b
7
+ data.tar.gz: abacf7c38ea92a157b29acdf91a23de1efcbf0f91b592b4d93a095d86499cbce5730ab1a3206f98b1f47200009b0d57d13891caa8a83160da9905792499a482d
@@ -1,7 +1,7 @@
1
1
  module Parliament
2
2
  module Grom
3
3
  module Decorator
4
- VERSION = '0.30.0'.freeze
4
+ VERSION = '0.31.0-rc'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'parliament/grom/decorator/version'
2
2
  require 'parliament/grom/decorator/helpers'
3
3
 
4
- Dir['./lib/parliament/grom/decorator/*.rb'].each { |file| require file }
4
+ Dir[File.dirname(__FILE__)+'/decorator/*.rb'].each { |file| require file }
5
5
 
6
6
  # Namespace for classes and modules that handle connections to, and processing of data from the parliamentary API.
7
7
  # @since 0.1.0
@@ -11,13 +11,14 @@ module Parliament
11
11
  #
12
12
  # @since 0.1.0
13
13
  module Decorator
14
- INTERNAL_MODULES = %i[
14
+ internal_modules = %i[
15
15
  Helpers
16
16
  VERSION
17
17
  ].freeze
18
18
 
19
- MAPPING = {}
20
- (constants - INTERNAL_MODULES).each { |constant| MAPPING[constant.to_s] = const_get(constant) }
19
+ mapping_hash = {}
20
+ (constants - internal_modules).each { |constant| mapping_hash[constant.to_s] = const_get(constant) }
21
+ MAPPING = mapping_hash.freeze
21
22
 
22
23
  class << self
23
24
  # Gets the root directory of the gem
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-grom-decorators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.0.pre.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rebecca Appleyard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-05 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -255,12 +255,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
255
  version: '0'
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements:
258
- - - ">="
258
+ - - ">"
259
259
  - !ruby/object:Gem::Version
260
- version: '0'
260
+ version: 1.3.1
261
261
  requirements: []
262
262
  rubyforge_project:
263
- rubygems_version: 2.6.8
263
+ rubygems_version: 2.7.6
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: Parliamentary Grom decorator