rails_config_validator 0.2.0 → 1.0.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: ff18f579ada65dfbdd3d7c2d2678e04a6f610de8
4
- data.tar.gz: af9422fa2f2b1dc175cc853b5991675b4773e32b
3
+ metadata.gz: ba8536a2e15844c5d235f20655bc72f93af878c9
4
+ data.tar.gz: cb9abde9e0090beb2395fe2519e103ba36878299
5
5
  SHA512:
6
- metadata.gz: 3ec6cbd1d5e01d9abfe746f09dc2fcb681eae068e89dfc1e7477af69e15ff4458468e9abe208c9e24a2561acba69eee2c7a07205f4b892f5290541f47afc633a
7
- data.tar.gz: 8b23315e6016df39b9a14075e5e9e1da7ca4c714b6e943717d6ef0dd8196f0cded39a4570e2b60056e62561ab9b559baad0d6add6533f970e36289b712de6aca
6
+ metadata.gz: a1c15769940bcce4ac92ece69ce073c3a3f663092bae8d8513adea9627056d1832b28b0b54c71e6a8f8adf8aab63b9606f0ce3807c38bbbbfcd7311507f8a613
7
+ data.tar.gz: c80b2bc3c8a6db3d500fbe8598487d9f2771dc072cd46669874b86c473e0cefcd88ab51a8ae35ba1962aa125ae429d94538df96fe1a58401a81393668b88b5eb
data/.travis.yml CHANGED
@@ -2,5 +2,7 @@ env:
2
2
  - COVERAGE=1
3
3
  language: ruby
4
4
  rvm:
5
+ - 1.9.3
5
6
  - 2.1.5
6
7
  - 2.2.1
8
+ - jruby-19mode
data/README.md CHANGED
@@ -13,7 +13,7 @@ The gem uses [Kwalify](http://www.kuwata-lab.com/kwalify/) schema validator to c
13
13
  Add this line to your application's `Gemfile`:
14
14
 
15
15
  ```ruby
16
- gem 'rails_config_validator', '~> 0.1'
16
+ gem 'rails_config_validator'
17
17
  ```
18
18
 
19
19
  And then execute:
@@ -33,7 +33,7 @@ module RailsConfigValidator
33
33
  env = args[:env] || Rails.env
34
34
  fail 'Missing parameter :config' if args[:config].nil?
35
35
 
36
- v = RailsConfigValidator::Validator.new(config, env, schema_path: schema)
36
+ v = RailsConfigValidator::Validator.new(config, env, schema)
37
37
  v.valid!
38
38
  end
39
39
  end
@@ -4,7 +4,7 @@ require 'rails_config_validator/errors'
4
4
 
5
5
  module RailsConfigValidator
6
6
  class Validator
7
- def initialize(config_path, env, schema_path: nil)
7
+ def initialize(config_path, env, schema_path = nil)
8
8
  @config_path = config_path
9
9
  @schema_path = schema_path || config_to_schema_path(config_path)
10
10
  @env = env
@@ -1,3 +1,3 @@
1
1
  module RailsConfigValidator
2
- VERSION = '0.2.0'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_config_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Knapik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-01 00:00:00.000000000 Z
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify