envlogic 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd56fdd45690af5251f5eb580bba6868584239e4
4
- data.tar.gz: 3981fbdef4b57ab55da9995850bbb872b56f4c8a
3
+ metadata.gz: d0aeeb99acb205744f90ccb491b41f46f40ce5d6
4
+ data.tar.gz: ebb9711460b43b627156b1c2b1428c2ee6cb8615
5
5
  SHA512:
6
- metadata.gz: 412f11bca51268ae95fb2c608776a6650a7ae7bd82894883bd4c4b105c8efe3d1d78bd10c79049e9a0da98a807c30b60dcebd935b2476dcd2214fc1fa0a0bf3c
7
- data.tar.gz: 2ff134d55fd2cdac2e3dac8ef2e97c2cd9d1d58f5ed8a7ba972596c3b2b2589e7e989ed868669280221e0daf62a90919b0c44137c1b78bcf6de2eb1858b24ad1
6
+ metadata.gz: 262e011bf46adfff12f47e0fc4d4a64305ee07a8f737a892f6ca72b079c44448a7c0e6f6f30615e020c994898f041d785cd3cfa29e421b5978b44a3c63bf81db
7
+ data.tar.gz: 1a65ccc52ee950953e06f6ebf50ef5a7123ed0c1eac5db8a52a26214c55434207ed440c992997ac7d3e271e94647e55357deec16edc41220dd57789c431196cf
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.3.1
@@ -1,4 +1,14 @@
1
1
  # Envlogic gem changelog
2
2
 
3
+ ## 1.0.3
4
+ - Gem dump
5
+ - Ruby version defaults to 2.3.1
6
+ - Dropped support for Ruby 2.1.*
7
+
8
+ ## 1.0.2
9
+ - Dev tools update
10
+ - Gem update
11
+ - Rspec specs update
12
+
3
13
  ## 1.0.0
4
- - Initial gem version with all the magic
14
+ - Initial gem version with all the magic
@@ -1,196 +1,153 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- envlogic (1.0.1)
4
+ envlogic (1.0.3)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- abstract_type (0.0.7)
11
- activemodel (4.2.5.1)
12
- activesupport (= 4.2.5.1)
13
- builder (~> 3.1)
14
- activesupport (4.2.5.1)
10
+ activesupport (5.0.0)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
12
  i18n (~> 0.7)
16
- json (~> 1.7, >= 1.7.7)
17
13
  minitest (~> 5.1)
18
- thread_safe (~> 0.3, >= 0.3.4)
19
14
  tzinfo (~> 1.1)
20
- adamantium (0.2.0)
21
- ice_nine (~> 0.11.0)
22
- memoizable (~> 0.4.0)
23
- ast (2.2.0)
15
+ addressable (2.4.0)
16
+ ast (2.3.0)
24
17
  axiom-types (0.1.1)
25
18
  descendants_tracker (~> 0.0.4)
26
19
  ice_nine (~> 0.11.0)
27
20
  thread_safe (~> 0.3, >= 0.3.1)
28
- brakeman (3.1.4)
29
- erubis (~> 2.6)
30
- fastercsv (~> 1.5)
31
- haml (>= 3.0, < 5.0)
32
- highline (>= 1.6.20, < 2.0)
33
- multi_json (~> 1.2)
34
- ruby2ruby (>= 2.1.1, < 2.3.0)
35
- ruby_parser (~> 3.7.0)
36
- safe_yaml (>= 1.0)
37
- sass (~> 3.0)
38
- slim (>= 1.3.6, < 4.0)
39
- terminal-table (~> 1.4)
40
- bson (4.0.1)
41
- builder (3.2.2)
42
- codeclimate-engine-rb (0.1.0)
21
+ brakeman (3.3.3)
22
+ bundler-audit (0.5.0)
23
+ bundler (~> 1.2)
24
+ thor (~> 0.18)
25
+ codeclimate-engine-rb (0.3.1)
43
26
  virtus (~> 1.0)
44
- coderay (1.1.0)
27
+ coderay (1.1.1)
45
28
  coercible (1.0.0)
46
29
  descendants_tracker (~> 0.0.1)
47
- colorize (0.7.7)
48
- concord (0.1.5)
49
- adamantium (~> 0.2.0)
50
- equalizer (~> 0.0.9)
30
+ colorize (0.8.1)
31
+ concurrent-ruby (1.0.2)
51
32
  descendants_tracker (0.0.4)
52
33
  thread_safe (~> 0.3, >= 0.3.1)
53
34
  diff-lcs (1.2.5)
54
35
  docile (1.1.5)
55
36
  equalizer (0.0.11)
56
37
  erubis (2.7.0)
57
- faker (1.6.1)
38
+ faker (1.6.6)
58
39
  i18n (~> 0.5)
59
- fastercsv (1.5.5)
60
- flay (2.6.1)
40
+ flay (2.8.0)
41
+ erubis (~> 2.7.0)
42
+ path_expander (~> 1.0)
61
43
  ruby_parser (~> 3.0)
62
44
  sexp_processor (~> 4.0)
63
- flog (4.3.2)
45
+ flog (4.4.0)
46
+ path_expander (~> 1.0)
64
47
  ruby_parser (~> 3.1, > 3.1.0)
65
48
  sexp_processor (~> 4.4)
66
49
  haml (4.0.7)
67
50
  tilt
68
- haml-lint (0.13.0)
51
+ haml_lint (0.18.1)
69
52
  haml (~> 4.0)
70
- rubocop (>= 0.25.0)
53
+ rake (>= 10, < 12)
54
+ rubocop (>= 0.36.0)
71
55
  sysexits (~> 1.1)
72
- highline (1.7.8)
73
56
  i18n (0.7.0)
74
- ice_nine (0.11.1)
75
- json (1.8.3)
76
- memoizable (0.4.2)
77
- thread_safe (~> 0.3, >= 0.3.1)
57
+ ice_nine (0.11.2)
58
+ json (2.0.2)
59
+ launchy (2.4.3)
60
+ addressable (~> 2.3)
78
61
  method_source (0.8.2)
79
- minitest (5.8.4)
80
- mongo (2.2.2)
81
- bson (~> 4.0)
82
- mongoid (5.0.2)
83
- activemodel (~> 4.0)
84
- mongo (~> 2.1)
85
- origin (~> 2.1)
86
- tzinfo (>= 0.3.37)
87
- mongoid-rspec (3.0.0)
88
- mongoid (~> 5.0)
89
- rake
90
- rspec (~> 3.3)
91
- multi_json (1.11.2)
92
- origin (2.2.0)
93
- parser (2.3.0.2)
62
+ minitest (5.9.0)
63
+ parser (2.3.1.2)
94
64
  ast (~> 2.2)
95
- polishgeeks-dev-tools (1.2.1)
65
+ path_expander (1.0.0)
66
+ polishgeeks-dev-tools (1.3.2)
96
67
  brakeman
68
+ bundler-audit
97
69
  faker
98
- haml-lint
99
- mongoid-rspec
70
+ haml_lint
100
71
  pry
101
72
  rspec
102
73
  rubocop
74
+ rubocop-rspec
103
75
  rubycritic
104
76
  shoulda
105
77
  simplecov
106
78
  timecop
107
79
  yard
108
80
  powerpack (0.1.1)
109
- private_attr (1.1.0)
110
- procto (0.0.2)
111
- pry (0.10.3)
81
+ pry (0.10.4)
112
82
  coderay (~> 1.1.0)
113
83
  method_source (~> 0.8.1)
114
84
  slop (~> 3.4)
115
85
  rainbow (2.1.0)
116
- rake (10.5.0)
117
- reek (3.8.1)
118
- codeclimate-engine-rb (~> 0.1.0)
119
- parser (~> 2.2, >= 2.2.2.5)
120
- private_attr (~> 1.1)
86
+ rake (11.2.2)
87
+ reek (4.1.0)
88
+ codeclimate-engine-rb (~> 0.3.1)
89
+ parser (~> 2.3.1, >= 2.3.1.2)
121
90
  rainbow (~> 2.0)
122
- unparser (~> 0.2.2)
123
- rspec (3.4.0)
124
- rspec-core (~> 3.4.0)
125
- rspec-expectations (~> 3.4.0)
126
- rspec-mocks (~> 3.4.0)
127
- rspec-core (3.4.1)
128
- rspec-support (~> 3.4.0)
129
- rspec-expectations (3.4.0)
91
+ rspec (3.5.0)
92
+ rspec-core (~> 3.5.0)
93
+ rspec-expectations (~> 3.5.0)
94
+ rspec-mocks (~> 3.5.0)
95
+ rspec-core (3.5.1)
96
+ rspec-support (~> 3.5.0)
97
+ rspec-expectations (3.5.0)
130
98
  diff-lcs (>= 1.2.0, < 2.0)
131
- rspec-support (~> 3.4.0)
132
- rspec-mocks (3.4.1)
99
+ rspec-support (~> 3.5.0)
100
+ rspec-mocks (3.5.0)
133
101
  diff-lcs (>= 1.2.0, < 2.0)
134
- rspec-support (~> 3.4.0)
135
- rspec-support (3.4.1)
136
- rubocop (0.36.0)
137
- parser (>= 2.3.0.0, < 3.0)
102
+ rspec-support (~> 3.5.0)
103
+ rspec-support (3.5.0)
104
+ rubocop (0.42.0)
105
+ parser (>= 2.3.1.1, < 3.0)
138
106
  powerpack (~> 0.1)
139
107
  rainbow (>= 1.99.1, < 3.0)
140
108
  ruby-progressbar (~> 1.7)
141
- ruby-progressbar (1.7.5)
142
- ruby2ruby (2.2.0)
143
- ruby_parser (~> 3.1)
144
- sexp_processor (~> 4.0)
145
- ruby_parser (3.7.3)
109
+ unicode-display_width (~> 1.0, >= 1.0.1)
110
+ rubocop-rspec (1.5.1)
111
+ rubocop (>= 0.41.2)
112
+ ruby-progressbar (1.8.1)
113
+ ruby_parser (3.8.2)
146
114
  sexp_processor (~> 4.1)
147
- rubycritic (2.6.0)
115
+ rubycritic (2.9.2)
148
116
  colorize
149
- flay (= 2.6.1)
150
- flog (= 4.3.2)
151
- parser (>= 2.2.0, < 3.0)
152
- reek (= 3.8.1)
117
+ flay (= 2.8.0)
118
+ flog (= 4.4.0)
119
+ launchy (= 2.4.3)
120
+ parser (= 2.3.1.2)
121
+ reek (= 4.1.0)
122
+ ruby_parser (~> 3.8)
153
123
  virtus (~> 1.0)
154
- safe_yaml (1.0.4)
155
- sass (3.4.21)
156
- sexp_processor (4.6.1)
124
+ sexp_processor (4.7.0)
157
125
  shoulda (3.5.0)
158
126
  shoulda-context (~> 1.0, >= 1.0.1)
159
127
  shoulda-matchers (>= 1.4.1, < 3.0)
160
128
  shoulda-context (1.2.1)
161
129
  shoulda-matchers (2.8.0)
162
130
  activesupport (>= 3.0.0)
163
- simplecov (0.11.1)
131
+ simplecov (0.12.0)
164
132
  docile (~> 1.1.0)
165
- json (~> 1.8)
133
+ json (>= 1.8, < 3)
166
134
  simplecov-html (~> 0.10.0)
167
135
  simplecov-html (0.10.0)
168
- slim (3.0.6)
169
- temple (~> 0.7.3)
170
- tilt (>= 1.3.3, < 2.1)
171
136
  slop (3.6.0)
172
137
  sysexits (1.2.0)
173
- temple (0.7.6)
174
- terminal-table (1.5.2)
138
+ thor (0.19.1)
175
139
  thread_safe (0.3.5)
176
- tilt (2.0.2)
177
- timecop (0.8.0)
140
+ tilt (2.0.5)
141
+ timecop (0.8.1)
178
142
  tzinfo (1.2.2)
179
143
  thread_safe (~> 0.1)
180
- unparser (0.2.5)
181
- abstract_type (~> 0.0.7)
182
- adamantium (~> 0.2.0)
183
- concord (~> 0.1.5)
184
- diff-lcs (~> 1.2.5)
185
- equalizer (~> 0.0.9)
186
- parser (~> 2.3.0)
187
- procto (~> 0.0.2)
144
+ unicode-display_width (1.1.0)
188
145
  virtus (1.0.5)
189
146
  axiom-types (~> 0.1)
190
147
  coercible (~> 1.0)
191
148
  descendants_tracker (~> 0.0, >= 0.0.3)
192
149
  equalizer (~> 0.0, >= 0.0.9)
193
- yard (0.8.7.6)
150
+ yard (0.9.5)
194
151
 
195
152
  PLATFORMS
196
153
  ruby
@@ -200,4 +157,4 @@ DEPENDENCIES
200
157
  polishgeeks-dev-tools
201
158
 
202
159
  BUNDLED WITH
203
- 1.11.2
160
+ 1.12.5
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Build Status](https://travis-ci.org/karafka/envlogic.png)](https://travis-ci.org/karafka/envlogic)
4
4
  [![Code Climate](https://codeclimate.com/github/karafka/envlogic/badges/gpa.svg)](https://codeclimate.com/github/karafka/envlogic)
5
5
  [![Gem Version](https://badge.fury.io/rb/envlogic.svg)](http://badge.fury.io/rb/envlogic)
6
+ [![Join the chat at https://gitter.im/karafka/karafka](https://badges.gitter.im/karafka/karafka.svg)](https://gitter.im/karafka/karafka?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6
7
 
7
8
  Envlogic is a library used to manage environments for your Ruby application in a similar to Rails.env way.
8
9
 
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
16
16
  spec.homepage = 'https://github.com/karafka/envlogic'
17
17
 
18
18
  spec.add_dependency 'activesupport'
19
+ spec.required_ruby_version = '>= 2.2.0'
20
+
19
21
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
20
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
23
  spec.require_paths = %w( lib )
@@ -6,9 +6,9 @@ module Envlogic
6
6
  using StringRefinements
7
7
 
8
8
  # What environment key should be used by default
9
- FALLBACK_ENV_KEY = 'RACK_ENV'.freeze
9
+ FALLBACK_ENV_KEY = 'RACK_ENV'
10
10
  # What default environment should be asumed when there's nothing else
11
- FALLBACK_ENV = 'development'.freeze
11
+ FALLBACK_ENV = 'development'
12
12
 
13
13
  # @param klass [Class, Module] class/module for which we want to build a Envlogic::Env object
14
14
  # @return [Envlogic::Env] envlogic env object]
@@ -3,7 +3,7 @@ module Envlogic
3
3
  # String refinements used in this library
4
4
  module StringRefinements
5
5
  # Postfix for ENV keys
6
- ENV_KEY_POSTFIX = '_ENV'.freeze
6
+ ENV_KEY_POSTFIX = '_ENV'
7
7
 
8
8
  refine String do
9
9
  # Converts any string into a bash ENV key
@@ -2,5 +2,5 @@
2
2
  # Main module to encapsulate logic
3
3
  module Envlogic
4
4
  # Current version of gem
5
- VERSION = '1.0.1'.freeze
5
+ VERSION = '1.0.3'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - pavlo_vavruk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-26 00:00:00.000000000 Z
12
+ date: 2016-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -59,7 +59,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 2.2.0
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
@@ -73,4 +73,3 @@ specification_version: 4
73
73
  summary: Ruby based library which allows to set and get environments values and easily
74
74
  check environment
75
75
  test_files: []
76
- has_rdoc: