config_module 1.2.1 → 1.2.2

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: ad1e44032bb7a0030ccd3966f6b4bb502489212f
4
- data.tar.gz: 4ebabc3fccfc9fe8ecaa7429b8018aecf9e72e32
2
+ SHA256:
3
+ metadata.gz: c659612630af7af88191a53d41f67505aeab718ff20048e351af9f62a56f6719
4
+ data.tar.gz: 2efa5cb28e6658f14efb5de8c1cf975dc77c9862f262aae6b151f7a0fd540d63
5
5
  SHA512:
6
- metadata.gz: 0a3c4126289d2beb05d12677ea2e7920f83a3a4efbbe432714ab42b1fb947d3739d260f0060da1e43c5e788dbaea98c85f5824bde24bf286637f06bee09b1f30
7
- data.tar.gz: 3483c7da45fb8fd86d78dc94a1b9e53995dc41eb6881cd56c0949e734bd20ac1df5fd960006b9419c4e6a4ae186eae29b240c127d9c8fa1a826ad904282f580c
6
+ metadata.gz: be3fce66346dae46f5390526c1dc383111b9cf63246946d639d32fa0c4b4726e00ec69b914b988fbb3e931ef788f911c5bb6fea0ed316bedd7e13216085c7c13
7
+ data.tar.gz: feb89b0f8dfe9cad75297f99dabb0902a279b094710dfd68e589825bb0988c376319cb0600c0bd3b20f1be26e5f5f1da987103967c376826aa6cd198587489d3
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.3.3
1
+ 2.3.7
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.3
3
+ - 2.5
4
+ - 2.4
5
+ - 2.3
4
6
  - 2.2
5
7
  - 2.1
6
8
  - 2.0
@@ -21,7 +23,7 @@ before_install:
21
23
  - gem update bundler
22
24
  before_script:
23
25
  - bundle exec gem list
24
- script: bundle exec ruby uspec/run_all_specs.rb
26
+ script: bundle exec uspec
25
27
 
26
28
  addons:
27
29
  code_climate:
@@ -8,7 +8,7 @@ module ConfigModule
8
8
  end
9
9
 
10
10
  def method_missing_handler name, source, *args, &block
11
- config.send name, *args, &block
11
+ ConfigOption.wrap config.send(name, *args, &block)
12
12
  rescue NoMethodError => error
13
13
  if error.name == name then
14
14
  raise(
@@ -1,3 +1,3 @@
1
1
  module ConfigModule
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_module
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony M. Cook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-22 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uspec
@@ -55,7 +55,6 @@ files:
55
55
  - uspec/exceptions_spec.rb
56
56
  - uspec/method_missing_spec.rb
57
57
  - uspec/namespace_spec.rb
58
- - uspec/run_all_specs.rb
59
58
  - uspec/spec_helper.rb
60
59
  homepage: http://github.com/acook/config_module
61
60
  licenses:
@@ -77,10 +76,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
76
  - !ruby/object:Gem::Version
78
77
  version: '0'
79
78
  requirements: []
80
- rubyforge_project:
81
- rubygems_version: 2.6.8
79
+ rubygems_version: 3.0.4
82
80
  signing_key:
83
81
  specification_version: 4
84
82
  summary: Load important configuration files into their own modules!
85
83
  test_files: []
86
- has_rdoc:
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require_relative 'spec_helper'
4
-
5
- Dir['*_spec.rb'].each do |filename|
6
- require File.absolute_path(filename)
7
- end