envlogic 1.0.3 → 1.0.4

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: d0aeeb99acb205744f90ccb491b41f46f40ce5d6
4
- data.tar.gz: ebb9711460b43b627156b1c2b1428c2ee6cb8615
3
+ metadata.gz: 01dedf4a6f681524600178032147de780b79924f
4
+ data.tar.gz: a1ed78a597dc680529063b78fe437a664dbeb120
5
5
  SHA512:
6
- metadata.gz: 262e011bf46adfff12f47e0fc4d4a64305ee07a8f737a892f6ca72b079c44448a7c0e6f6f30615e020c994898f041d785cd3cfa29e421b5978b44a3c63bf81db
7
- data.tar.gz: 1a65ccc52ee950953e06f6ebf50ef5a7123ed0c1eac5db8a52a26214c55434207ed440c992997ac7d3e271e94647e55357deec16edc41220dd57789c431196cf
6
+ metadata.gz: 70a478be725813975558af7b7f18008960cf6d2cdcebbfb676178e63509de63d9d6a692d49c703e645a4f3f4eb976b2d3eccfd56fc04051c3d7ea8a84207999b
7
+ data.tar.gz: 43812ac0f76694b18aee9c4b989ef21ac08a495f85115b854438ecd3565c97cc73674ff29401d5ae0adc0ab26f417e599e3565ac7ba6b6d5cfff78246136155a
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.4.1
@@ -1,8 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.7
4
3
  - 2.2.2
5
4
  - 2.2.3
6
5
  - 2.3.0
6
+ - 2.3.1
7
+ - 2.3.2
8
+ - 2.3.3
9
+ - 2.4.0
10
+ - 2.4.1
7
11
  script:
8
12
  - bundle exec rake
@@ -1,9 +1,19 @@
1
1
  # Envlogic gem changelog
2
2
 
3
- ## 1.0.3
3
+ ## Unreleased
4
+ - Switched with quality metrics to Coditsu (https://coditsu.io/)
4
5
  - Gem dump
5
- - Ruby version defaults to 2.3.1
6
+ - Quality improvements
7
+ - Gems cleanup
8
+ - Ruby dump to 2.4.1
9
+ - Better specs (less internal, more integrational)
10
+
11
+ ## 1.0.3
12
+ - Gem dump x3
13
+ - ~~Ruby version defaults to 2.3.3~~
14
+ - Ruby version defaults to 2.4.0
6
15
  - Dropped support for Ruby 2.1.*
16
+ - added .rspec for default spec helper require
7
17
 
8
18
  ## 1.0.2
9
19
  - Dev tools update
data/Gemfile CHANGED
@@ -1,7 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
4
6
 
5
7
  group :development, :test do
6
- gem 'polishgeeks-dev-tools'
8
+ gem 'rspec'
9
+ gem 'simplecov'
10
+ gem 'rake'
7
11
  end
@@ -1,160 +1,54 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- envlogic (1.0.3)
4
+ envlogic (1.0.4)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (5.0.0)
10
+ activesupport (5.1.3)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (~> 0.7)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
- addressable (2.4.0)
16
- ast (2.3.0)
17
- axiom-types (0.1.1)
18
- descendants_tracker (~> 0.0.4)
19
- ice_nine (~> 0.11.0)
20
- thread_safe (~> 0.3, >= 0.3.1)
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)
26
- virtus (~> 1.0)
27
- coderay (1.1.1)
28
- coercible (1.0.0)
29
- descendants_tracker (~> 0.0.1)
30
- colorize (0.8.1)
31
- concurrent-ruby (1.0.2)
32
- descendants_tracker (0.0.4)
33
- thread_safe (~> 0.3, >= 0.3.1)
34
- diff-lcs (1.2.5)
15
+ concurrent-ruby (1.0.5)
16
+ diff-lcs (1.3)
35
17
  docile (1.1.5)
36
- equalizer (0.0.11)
37
- erubis (2.7.0)
38
- faker (1.6.6)
39
- i18n (~> 0.5)
40
- flay (2.8.0)
41
- erubis (~> 2.7.0)
42
- path_expander (~> 1.0)
43
- ruby_parser (~> 3.0)
44
- sexp_processor (~> 4.0)
45
- flog (4.4.0)
46
- path_expander (~> 1.0)
47
- ruby_parser (~> 3.1, > 3.1.0)
48
- sexp_processor (~> 4.4)
49
- haml (4.0.7)
50
- tilt
51
- haml_lint (0.18.1)
52
- haml (~> 4.0)
53
- rake (>= 10, < 12)
54
- rubocop (>= 0.36.0)
55
- sysexits (~> 1.1)
56
- i18n (0.7.0)
57
- ice_nine (0.11.2)
58
- json (2.0.2)
59
- launchy (2.4.3)
60
- addressable (~> 2.3)
61
- method_source (0.8.2)
62
- minitest (5.9.0)
63
- parser (2.3.1.2)
64
- ast (~> 2.2)
65
- path_expander (1.0.0)
66
- polishgeeks-dev-tools (1.3.2)
67
- brakeman
68
- bundler-audit
69
- faker
70
- haml_lint
71
- pry
72
- rspec
73
- rubocop
74
- rubocop-rspec
75
- rubycritic
76
- shoulda
77
- simplecov
78
- timecop
79
- yard
80
- powerpack (0.1.1)
81
- pry (0.10.4)
82
- coderay (~> 1.1.0)
83
- method_source (~> 0.8.1)
84
- slop (~> 3.4)
85
- rainbow (2.1.0)
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)
90
- rainbow (~> 2.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)
18
+ i18n (0.8.6)
19
+ json (2.1.0)
20
+ minitest (5.10.3)
21
+ rake (12.0.0)
22
+ rspec (3.6.0)
23
+ rspec-core (~> 3.6.0)
24
+ rspec-expectations (~> 3.6.0)
25
+ rspec-mocks (~> 3.6.0)
26
+ rspec-core (3.6.0)
27
+ rspec-support (~> 3.6.0)
28
+ rspec-expectations (3.6.0)
98
29
  diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.5.0)
100
- rspec-mocks (3.5.0)
30
+ rspec-support (~> 3.6.0)
31
+ rspec-mocks (3.6.0)
101
32
  diff-lcs (>= 1.2.0, < 2.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)
106
- powerpack (~> 0.1)
107
- rainbow (>= 1.99.1, < 3.0)
108
- ruby-progressbar (~> 1.7)
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)
114
- sexp_processor (~> 4.1)
115
- rubycritic (2.9.2)
116
- colorize
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)
123
- virtus (~> 1.0)
124
- sexp_processor (4.7.0)
125
- shoulda (3.5.0)
126
- shoulda-context (~> 1.0, >= 1.0.1)
127
- shoulda-matchers (>= 1.4.1, < 3.0)
128
- shoulda-context (1.2.1)
129
- shoulda-matchers (2.8.0)
130
- activesupport (>= 3.0.0)
131
- simplecov (0.12.0)
33
+ rspec-support (~> 3.6.0)
34
+ rspec-support (3.6.0)
35
+ simplecov (0.15.0)
132
36
  docile (~> 1.1.0)
133
37
  json (>= 1.8, < 3)
134
38
  simplecov-html (~> 0.10.0)
135
- simplecov-html (0.10.0)
136
- slop (3.6.0)
137
- sysexits (1.2.0)
138
- thor (0.19.1)
139
- thread_safe (0.3.5)
140
- tilt (2.0.5)
141
- timecop (0.8.1)
142
- tzinfo (1.2.2)
39
+ simplecov-html (0.10.2)
40
+ thread_safe (0.3.6)
41
+ tzinfo (1.2.3)
143
42
  thread_safe (~> 0.1)
144
- unicode-display_width (1.1.0)
145
- virtus (1.0.5)
146
- axiom-types (~> 0.1)
147
- coercible (~> 1.0)
148
- descendants_tracker (~> 0.0, >= 0.0.3)
149
- equalizer (~> 0.0, >= 0.0.9)
150
- yard (0.9.5)
151
43
 
152
44
  PLATFORMS
153
45
  ruby
154
46
 
155
47
  DEPENDENCIES
156
48
  envlogic!
157
- polishgeeks-dev-tools
49
+ rake
50
+ rspec
51
+ simplecov
158
52
 
159
53
  BUNDLED WITH
160
- 1.12.5
54
+ 1.14.6
data/README.md CHANGED
@@ -101,7 +101,11 @@ Make your feature addition or bug fix.
101
101
  Add tests for it. This is important so I don't break it in a future version unintentionally.
102
102
  Commit, do not mess with Rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull). Send me a pull request. Bonus points for topic branches.
103
103
 
104
- Each pull request must pass our quality requirements. To check if everything is as it should be, we use [PolishGeeks Dev Tools](https://github.com/polishgeeks/polishgeeks-dev-tools) that combine multiple linters and code analyzers. Please run:
104
+ [![coditsu](https://coditsu.io/assets/quality_bar.svg)](https://coditsu.io)
105
+
106
+ Each pull request must pass our quality requirements. To check if everything is as it should be, we use [Coditsu](https://coditsu.io) that combines multiple linters and code analyzers. Unfortunately, for now it is invite-only based, so just ping us and we will give you access to the quality results.
107
+
108
+ Please run:
105
109
 
106
110
  ```bash
107
111
  bundle exec rake
data/Rakefile CHANGED
@@ -1,18 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler'
2
4
  require 'bundler/gem_tasks'
3
5
  require 'rake'
4
- require 'polishgeeks-dev-tools'
5
-
6
- PolishGeeks::DevTools.setup do |config|
7
- config.brakeman = false
8
- config.haml_lint = false
9
- end
6
+ require 'rspec/core/rake_task'
10
7
 
11
- desc 'Self check using polishgeeks-dev-tools'
12
- task :check do
13
- PolishGeeks::DevTools::Runner.new.execute(
14
- PolishGeeks::DevTools::Logger.new
15
- )
16
- end
8
+ RSpec::Core::RakeTask.new(:spec)
17
9
 
18
- task default: :check
10
+ task default: :spec
@@ -1,24 +1,25 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('../lib', __FILE__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
 
4
6
  require 'envlogic/version'
5
7
 
6
8
  Gem::Specification.new do |spec|
7
- spec.name = 'envlogic'
8
- spec.platform = Gem::Platform::RUBY
9
- spec.version = Envlogic::VERSION
10
- spec.authors = ['pavlo_vavruk', 'Maciej Mensfeld']
11
- spec.email = %w( pavlo.vavruk@gmail.com maciej@mensfeld.pl )
12
-
13
- spec.summary = %q{ Ruby based library which allows to set and get environments values
14
- and easily check environment }
15
- spec.description = %q{ Library used to manage environments for your Ruby application }
16
- spec.homepage = 'https://github.com/karafka/envlogic'
9
+ spec.name = 'envlogic'
10
+ spec.platform = Gem::Platform::RUBY
11
+ spec.version = Envlogic::VERSION
12
+ spec.authors = ['pavlo_vavruk', 'Maciej Mensfeld']
13
+ spec.email = %w[pavlo.vavruk@gmail.com maciej@mensfeld.pl]
14
+ spec.summary = 'Library which allows to set and get environments values'
15
+ spec.description = 'Library used to manage environments for your Ruby application'
16
+ spec.homepage = 'https://github.com/karafka/envlogic'
17
+ spec.license = 'MIT'
17
18
 
18
19
  spec.add_dependency 'activesupport'
19
20
  spec.required_ruby_version = '>= 2.2.0'
20
21
 
21
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
22
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
23
- spec.require_paths = %w( lib )
24
+ spec.require_paths = %w[lib]
24
25
  end
@@ -1,10 +1,12 @@
1
- %w(
1
+ # frozen_string_literal: true
2
+
3
+ %w[
2
4
  active_support/inflector
3
5
  active_support/string_inquirer
4
6
  envlogic/version
5
7
  envlogic/string_refinements
6
8
  envlogic/env
7
- ).each { |lib| require lib }
9
+ ].each { |lib| require lib }
8
10
 
9
11
  # Main module that encapsulates logic that should be used to extend any class/module
10
12
  # @note This module should be extended into the class/module in which we want to have env support
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # Main module
3
4
  module Envlogic
4
5
  # Env module to get and set environment
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Envlogic
3
4
  # String refinements used in this library
4
5
  module StringRefinements
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # Main module to encapsulate logic
3
4
  module Envlogic
4
5
  # Current version of gem
5
- VERSION = '1.0.3'
6
+ VERSION = '1.0.4'
6
7
  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.3
4
+ version: 1.0.4
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-07-28 00:00:00.000000000 Z
12
+ date: 2017-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -25,7 +25,7 @@ dependencies:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
- description: " Library used to manage environments for your Ruby application "
28
+ description: Library used to manage environments for your Ruby application
29
29
  email:
30
30
  - pavlo.vavruk@gmail.com
31
31
  - maciej@mensfeld.pl
@@ -34,6 +34,7 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - ".gitignore"
37
+ - ".rspec"
37
38
  - ".ruby-gemset"
38
39
  - ".ruby-version"
39
40
  - ".travis.yml"
@@ -49,7 +50,8 @@ files:
49
50
  - lib/envlogic/string_refinements.rb
50
51
  - lib/envlogic/version.rb
51
52
  homepage: https://github.com/karafka/envlogic
52
- licenses: []
53
+ licenses:
54
+ - MIT
53
55
  metadata: {}
54
56
  post_install_message:
55
57
  rdoc_options: []
@@ -67,9 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
69
  version: '0'
68
70
  requirements: []
69
71
  rubyforge_project:
70
- rubygems_version: 2.5.1
72
+ rubygems_version: 2.6.13
71
73
  signing_key:
72
74
  specification_version: 4
73
- summary: Ruby based library which allows to set and get environments values and easily
74
- check environment
75
+ summary: Library which allows to set and get environments values
75
76
  test_files: []