anyway_config 1.0.0.rc1 → 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: 429f99711260e7eb7c57d207d1c9b5df66663a3f
4
- data.tar.gz: 79e50e810078aa95ba472587b04fc2929af1c641
3
+ metadata.gz: efb55eb76ff8fe050d265f9f73af34e1ca813134
4
+ data.tar.gz: ea56b66f8d7eb4b6d63a4fb068c1631feb6d49e9
5
5
  SHA512:
6
- metadata.gz: 5b2ac6da8c645a45a70cc3f5a0958c12a7097da8b6a79ae5732656b3ad15d4d7e6ec360be0da47b8d496c84ba187d3a6de9ea465eaa727fec68cac713cf6ece2
7
- data.tar.gz: 1afa0ed9d11219ef5036ad399795ce5a431c9673492eea9cf4971bf717c5165c4469198d8a7f58b0e85b8b58d3f1f679a639fc45d61c48f47d6fb297420b4170
6
+ metadata.gz: a282acf7111e9dab9fbcc995f97604ded970617b0fdf8c5db7b5db612911253bf6aea75cbc7f1e21c383237aab6e45798a9c159d69c4bccf21a54a05af5d2763
7
+ data.tar.gz: 66aa6cefebd02087c6926927d805803a7885399b10b31e729e9d33cf7a8f8722e3dcb0cf1c453f580aaf8394b21d4325503a73afb4282b8f6ed2e6d1156aa378
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## 1.0.0 (2017-06-20)
4
4
 
5
- - Lazy load and parse ENV configurtaion (https://github.com/palkan/anyway_config/commit/5fe407c75fefec8994ca201ea7b4691b5ddd96e5). ([@palkan][])
5
+ - Lazy load and parse ENV configurtaion. ([@palkan][])
6
6
 
7
- - Add support for ERB in YML configuration (https://github.com/palkan/anyway_config/commit/8d8a47dbda6858a43ff509aaa4cddf4f938dd660). ([@palkan][])
7
+ - Add support for ERB in YML configuration. ([@palkan][])
8
8
 
9
9
  ## 0.5.0 (2017-01-20)
10
10
 
data/README.md CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  Rails/Ruby plugin/application configuration tool which allows you to load parameters from different sources: YAML, Rails secrets, environment.
6
6
 
7
- Apps using AnywayConfig:
7
+ Allows you to easily follow the [twelve-factor application](https://12factor.net/config) principles and adds zero complexity to your development process.
8
+
9
+ Libraries using Anyway Config:
8
10
 
9
11
  - [Influxer](https://github.com/palkan/influxer)
10
12
 
@@ -74,7 +76,7 @@ MyCoolGem.config.user #=> 'root'
74
76
 
75
77
  #### Customize name
76
78
 
77
- By default, AnywayConfig uses the namespace (the outer module name) as the config name, but you can set it manually:
79
+ By default, Anyway Config uses the namespace (the outer module name) as the config name, but you can set it manually:
78
80
 
79
81
  ```ruby
80
82
  module MyCoolGem
@@ -106,7 +108,7 @@ Your config will be filled up with values from the following sources (ordered by
106
108
 
107
109
  ### Using with Ruby
108
110
 
109
- By default AnywayConfig is looking for a config YAML at `./config/<config-name>.yml`. You can override this setting
111
+ By default, Anyway Config is looking for a config YAML at `./config/<config-name>.yml`. You can override this setting
110
112
  through special environment variable – 'MYGEM_CONF' – containing the path to the YAML file.
111
113
 
112
114
  Environmental variables work the same way as with Rails.
@@ -122,7 +124,7 @@ There are `#clear` and `#reload` functions on your config (which do exactly what
122
124
  Rails 4.2 introduced new feature: `Rails.application.config_for`. It looks very similar to
123
125
  `Anyway::Config.for`, but there are some differences:
124
126
 
125
- | Feature | Rails | Anyway |
127
+ | Feature | Rails | Anyway Config |
126
128
  | ------------- |:-------------:| -----:|
127
129
  | load data from `config/app.yml` | yes | yes |
128
130
  | load data from `secrets` | no | yes |
@@ -15,14 +15,14 @@ Gem::Specification.new do |s|
15
15
  s.description = %{
16
16
  Configuration DSL for Ruby libraries and applications.
17
17
 
18
- Allows you to easily follow the twevle factor application principles (https://12factor.net/config).
18
+ Allows you to easily follow the twelve-factor application principles (https://12factor.net/config).
19
19
  }
20
20
 
21
21
  s.license = "MIT"
22
22
 
23
23
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
24
24
  s.require_paths = ["lib"]
25
- s.required_ruby_version = '>= 2'
25
+ s.required_ruby_version = '>= 2.2'
26
26
 
27
27
  s.add_development_dependency "simplecov", ">= 0.3.8"
28
28
  s.add_development_dependency "rspec", "~> 3.5.0"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anyway # :nodoc:
4
- VERSION = "1.0.0.rc1"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyway_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.49'
55
55
  description: "\n Configuration DSL for Ruby libraries and applications.\n\n Allows
56
- you to easily follow the twevle factor application principles (https://12factor.net/config).\n
56
+ you to easily follow the twelve-factor application principles (https://12factor.net/config).\n
57
57
  \ "
58
58
  email:
59
59
  - dementiev.vm@gmail.com
@@ -113,12 +113,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '2'
116
+ version: '2.2'
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ">"
119
+ - - ">="
120
120
  - !ruby/object:Gem::Version
121
- version: 1.3.1
121
+ version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
124
  rubygems_version: 2.6.4