envlogic 1.1.0 → 1.1.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
  SHA256:
3
- metadata.gz: e8a09f4a02ecb4aa854f21c30620be8670fc22f41eb3eb464ec5d8bb67dda98d
4
- data.tar.gz: 706f85a46eb589b93492e3a0b3fa08cbd5c4685471305c60fa6dd0d6745f6981
3
+ metadata.gz: '08c2acbeae744c0521c7491d6ba0fbca3ea043a5e2b760476b458cbe080db1d3'
4
+ data.tar.gz: 48f10678ddc1485c077773a10d84523a9fefb60b89a12662a3f4c7c4c1a730d2
5
5
  SHA512:
6
- metadata.gz: d47e67ed63559fa4a23f5a28952fd0ee63bab890ed24e79e126e15b52c1fe09fa51343463b8396d3d4e58f9cbd14ebb1a8d4522d0c5b052a8b00308589c3096d
7
- data.tar.gz: 8be0454147aa97749c5ff9c1e0832dd5173d596abdda9f58865065b5b6c1a248b02da1413b1c6fda16f2ef77158a9080aa2d4eff5e246f9664a0e51f90675d18
6
+ metadata.gz: f87f9bd6da65a3f0ad7a81608e2f6648d502eb798b506991d00502dfe24e57f8fa5c8eb2bb89a37bf7e57178f42b401904c7f4bfa3e8af8c0547a8952559ddae
7
+ data.tar.gz: 8afebeefddec38700e03c57fe1487e2b3846aea7c7a4eb27307ad8c71ffd0e2809bf3de1ad0a6012ee072add5b7bf2a868df0ea98d3af3bbb0dcf155fe74c916
checksums.yaml.gz.sig ADDED
Binary file
data/.coditsu/ci.yml ADDED
@@ -0,0 +1,3 @@
1
+ repository_id: '8e9c10ac-336a-485a-9f9b-69ea15075c2b'
2
+ api_key: <%= ENV['CODITSU_API_KEY'] %>
3
+ api_secret: <%= ENV['CODITSU_API_SECRET'] %>
data/.diffend.yml ADDED
@@ -0,0 +1,3 @@
1
+ project_id: '2aea122d-f4f1-4a9d-a1d1-34f9bbd769be'
2
+ shareable_id: '4cb899b8-bf3c-4976-8948-70f367bbdc7c'
3
+ shareable_key: '7479aeaf-1ecc-403d-9325-2c4e6abbb68b'
@@ -0,0 +1,72 @@
1
+ name: ci
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ schedule:
7
+ - cron: '0 1 * * *'
8
+
9
+ jobs:
10
+ specs:
11
+ runs-on: ubuntu-latest
12
+ needs: diffend
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ ruby:
17
+ - '3.0'
18
+ - '2.7'
19
+ - '2.6'
20
+ - 'truffleruby'
21
+ - 'jruby-9.3.1.0'
22
+ include:
23
+ - ruby: '3.0'
24
+ coverage: 'true'
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - name: Install package dependencies
28
+ run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: ${{matrix.ruby}}
33
+ - name: Install latest bundler
34
+ run: |
35
+ gem install bundler --no-document
36
+ bundle config set without 'tools benchmarks docs'
37
+ - name: Bundle install
38
+ run: bundle install --jobs 4 --retry 3
39
+ - name: Run all tests
40
+ env:
41
+ GITHUB_COVERAGE: ${{matrix.coverage}}
42
+ run: bundle exec rspec
43
+
44
+ diffend:
45
+ runs-on: ubuntu-latest
46
+ strategy:
47
+ fail-fast: false
48
+ steps:
49
+ - uses: actions/checkout@v2
50
+ with:
51
+ fetch-depth: 0
52
+ - name: Set up Ruby
53
+ uses: ruby/setup-ruby@v1
54
+ with:
55
+ ruby-version: 3.0
56
+ - name: Install latest bundler
57
+ run: gem install bundler --no-document
58
+ - name: Install Diffend plugin
59
+ run: bundle plugin install diffend
60
+ - name: Bundle Secure
61
+ run: bundle secure
62
+
63
+ coditsu:
64
+ runs-on: ubuntu-latest
65
+ strategy:
66
+ fail-fast: false
67
+ steps:
68
+ - uses: actions/checkout@v2
69
+ with:
70
+ fetch-depth: 0
71
+ - name: Run Coditsu
72
+ run: \curl -sSL https://api.coditsu.io/run/ci | bash
data/.gitignore CHANGED
@@ -54,3 +54,4 @@ build/
54
54
 
55
55
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
56
56
  .rvmrc
57
+ .coditsu/local.yml
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.0
1
+ 3.0.3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Envlogic gem changelog
2
2
 
3
+ ## 1.1.4 (2021-12-05)
4
+ - drop JRuby support because the latest version is based on Ruby 2.5
5
+ - Source code metadata url added to the gemspec
6
+
7
+ ## 1.1.3 (2021-04-21)
8
+ - Restore MIT license
9
+ - Remove Ruby 2.5 support and update minimum Ruby requirement to 2.6
10
+
11
+ ## 1.1.2 (2020-04-24)
12
+ - restore JRuby support
13
+ - add TruffleRuby support
14
+ - Change license to LGPL-3.0
15
+
16
+ ## 1.1.1 (2020-04-22)
17
+ - drop jruby support
18
+ - drop Ruby 2.2 support
19
+ - drop Ruby 2.3 support
20
+ - drop Ruby 2.4 support
21
+ - Ruby 2.6.5 support
22
+ - Ruby 2.7.1 support
23
+ - Replace travis with GH actions
24
+ - Update docs to show per instance support
25
+ - Support signing the releases
26
+
3
27
  ## 1.1.0
4
28
  - Ruby 2.4.2 support
5
29
  - Ruby 2.5.0 support
@@ -11,7 +35,7 @@
11
35
  - Quality improvements
12
36
  - Gems cleanup
13
37
  - Ruby dump to 2.4.1
14
- - Better specs (less internal, more integrational)
38
+ - Better specs (less internal, more integration)
15
39
  - License added to the gemspec file
16
40
 
17
41
  ## 1.0.3
data/Gemfile CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
+ plugin 'diffend'
6
+
5
7
  gemspec
6
8
 
7
9
  group :development, :test do
8
10
  gem 'rake'
11
+ end
12
+
13
+ group :test do
9
14
  gem 'rspec'
10
15
  gem 'simplecov'
11
16
  end
data/Gemfile.lock CHANGED
@@ -1,38 +1,38 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- envlogic (1.1.0)
4
+ envlogic (1.1.4)
5
5
  dry-inflector (~> 0.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- diff-lcs (1.3)
11
- docile (1.3.0)
12
- dry-inflector (0.1.1)
13
- json (2.1.0)
14
- rake (12.3.1)
15
- rspec (3.7.0)
16
- rspec-core (~> 3.7.0)
17
- rspec-expectations (~> 3.7.0)
18
- rspec-mocks (~> 3.7.0)
19
- rspec-core (3.7.1)
20
- rspec-support (~> 3.7.0)
21
- rspec-expectations (3.7.0)
10
+ diff-lcs (1.4.4)
11
+ docile (1.4.0)
12
+ dry-inflector (0.2.1)
13
+ rake (13.0.6)
14
+ rspec (3.10.0)
15
+ rspec-core (~> 3.10.0)
16
+ rspec-expectations (~> 3.10.0)
17
+ rspec-mocks (~> 3.10.0)
18
+ rspec-core (3.10.1)
19
+ rspec-support (~> 3.10.0)
20
+ rspec-expectations (3.10.1)
22
21
  diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.7.0)
24
- rspec-mocks (3.7.0)
22
+ rspec-support (~> 3.10.0)
23
+ rspec-mocks (3.10.2)
25
24
  diff-lcs (>= 1.2.0, < 2.0)
26
- rspec-support (~> 3.7.0)
27
- rspec-support (3.7.1)
28
- simplecov (0.16.1)
25
+ rspec-support (~> 3.10.0)
26
+ rspec-support (3.10.3)
27
+ simplecov (0.21.2)
29
28
  docile (~> 1.1)
30
- json (>= 1.8, < 3)
31
- simplecov-html (~> 0.10.0)
32
- simplecov-html (0.10.2)
29
+ simplecov-html (~> 0.11)
30
+ simplecov_json_formatter (~> 0.1)
31
+ simplecov-html (0.12.3)
32
+ simplecov_json_formatter (0.1.3)
33
33
 
34
34
  PLATFORMS
35
- ruby
35
+ x86_64-linux
36
36
 
37
37
  DEPENDENCIES
38
38
  envlogic!
@@ -41,4 +41,4 @@ DEPENDENCIES
41
41
  simplecov
42
42
 
43
43
  BUNDLED WITH
44
- 1.16.1
44
+ 2.2.32
File without changes
data/README.md CHANGED
@@ -1,19 +1,22 @@
1
1
  # Envlogic
2
2
 
3
- [![Build Status](https://travis-ci.org/karafka/envlogic.png)](https://travis-ci.org/karafka/envlogic)
4
- [![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)
3
+ [![Build Status](https://github.com/karafka/envlogic/workflows/ci/badge.svg)](https://github.com/karafka/envlogic/actions?query=workflow%3Aci)
4
+ [![Gem Version](https://badge.fury.io/rb/envlogic.svg)](http://badge.fury.io/rb/envlogic)
5
+ [![Join the chat at https://slack.karafka.io](https://raw.githubusercontent.com/karafka/misc/master/slack.svg)](https://slack.karafka.io)
5
6
 
6
7
  Envlogic is a library used to manage environments for your Ruby application in a similar to Rails.env way.
7
8
 
8
9
  ## Installation
9
10
 
10
- Add gem to your Gemfile
11
+ Add the gem to your Gemfile
11
12
  ```ruby
12
13
  gem 'envlogic'
13
14
  ```
14
15
 
15
16
  ## Usage
16
17
 
18
+ ### On a class/module level
19
+
17
20
  Extend your class or module in which you want to use this library with **Envlogic** module.
18
21
 
19
22
  ```ruby
@@ -34,11 +37,34 @@ Once you extend your class/module with it, you will have two additional methods
34
37
  ExampleModule.env.production? # => false
35
38
  ```
36
39
 
40
+ ### On a per instance basis
41
+
42
+ Include the **Envlogic** module in the class for which instances you want to use it.
43
+
44
+ ```ruby
45
+ class ExampleClass
46
+ include Envlogic
47
+ # code of this class
48
+ end
49
+ ```
50
+
51
+ Once you include it in your class, you will have two additional methods (with two aliases):
52
+
53
+ - *.env* (.environment) - obtain current env and work with it
54
+ - *.env=* (.environment=) - set your own environment
55
+
56
+ ```ruby
57
+ instance = ExampleClass.new
58
+ instance.env = 'development'
59
+ instance.env.development? # => true
60
+ instance.env.production? # => false
61
+ ```
62
+
37
63
  ### ENV variables key names and default fallbacks
38
64
 
39
65
  #### Application root directory env key name
40
66
 
41
- By default gem is looking for ENV variable that is based on your application root directory.
67
+ By default, the gem is looking for ENV variable that is based on your application root directory.
42
68
 
43
69
  For example, if your application lies in */home/deploy/my_app* it will look for **MY_APP_ENV** variable.
44
70
 
@@ -85,17 +111,13 @@ Basic::Karafka.env.development? # => true
85
111
  ## References
86
112
 
87
113
  * [Karafka framework](https://github.com/karafka/karafka)
88
- * [Envlogic Travis CI](https://travis-ci.org/karafka/envlogic)
114
+ * [Envlogic Actions CI](https://github.com/karafka/envlogic/actions?query=workflow%3Aci)
89
115
  * [Envlogic Coditsu](https://app.coditsu.io/karafka/repositories/envlogic)
90
116
 
91
117
  ## Note on contributions
92
118
 
93
- First, thank you for considering contributing to Envlogic! It's people like you that make the open source community such a great community!
94
-
95
- Each pull request must pass all the rspec specs and meet our quality requirements.
96
-
97
- To check if everything is as it should be, we use [Coditsu](https://coditsu.io) that combines multiple linters and code analyzers for both code and documentation. Once you're done with your changes, submit a pull request.
119
+ First, thank you for considering contributing to the Karafka ecosystem! It's people like you that make the open source community such a great community!
98
120
 
99
- Coditsu will automatically check your work against our quality standards. You can find your commit check results on the [builds page](https://app.coditsu.io/karafka/repositories/envlogic/builds/commit_builds) of Envlogic repository.
121
+ Each pull request must pass all the RSpec specs, integration tests and meet our quality requirements.
100
122
 
101
- [![coditsu](https://coditsu.io/assets/quality_bar.svg)](https://app.coditsu.io/karafka/repositories/envlogic/builds/commit_builds)
123
+ Fork it, update and wait for the Github Actions results.
@@ -0,0 +1,25 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEODCCAqCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhtYWNp
3
+ ZWovREM9bWVuc2ZlbGQvREM9cGwwHhcNMjEwODExMTQxNTEzWhcNMjIwODExMTQx
4
+ NTEzWjAjMSEwHwYDVQQDDBhtYWNpZWovREM9bWVuc2ZlbGQvREM9cGwwggGiMA0G
5
+ CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDV2jKH4Ti87GM6nyT6D+ESzTI0MZDj
6
+ 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mIEqM0nBO5nUdUWbC7l9qXEf8XBE
22
+ 2DP28p3EqSuS+lKbAWKcqv7t0iRhhmaod+Yn9mcrLN1sa3q3KSQ9BCyxezCD4Mk2
23
+ R2P11bWoCtr70BsccVrN8jEhzwXngMyI2gVt750Y+dbTu1KgRqZKp/ECe7ZzPzXj
24
+ pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
25
+ -----END CERTIFICATE-----
data/envlogic.gemspec CHANGED
@@ -13,13 +13,19 @@ Gem::Specification.new do |spec|
13
13
  spec.email = %w[pavlo.vavruk@gmail.com maciej@mensfeld.pl]
14
14
  spec.summary = 'Library which allows to set and get environments values'
15
15
  spec.description = 'Library used to manage environments for your Ruby application'
16
- spec.homepage = 'https://github.com/karafka/envlogic'
16
+ spec.homepage = 'https://karafka.io'
17
17
  spec.license = 'MIT'
18
18
 
19
19
  spec.add_dependency 'dry-inflector', '~> 0.1'
20
- spec.required_ruby_version = '>= 2.2.0'
20
+ spec.required_ruby_version = '>= 2.5.0'
21
21
 
22
+ if $PROGRAM_NAME.end_with?('gem')
23
+ spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
24
+ end
25
+
26
+ spec.cert_chain = %w[certs/mensfeld.pem]
22
27
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
23
28
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
29
  spec.require_paths = %w[lib]
30
+ spec.metadata = { 'source_code_uri' => 'https://github.com/karafka/envlogic' }
25
31
  end
data/lib/envlogic/env.rb CHANGED
@@ -6,7 +6,7 @@ module Envlogic
6
6
  class Env < String
7
7
  # What environment key should be used by default
8
8
  FALLBACK_ENV_KEY = 'RACK_ENV'
9
- # What default environment should be asumed when there's nothing else
9
+ # What default environment should be assumed when there's nothing else
10
10
  FALLBACK_ENV = 'development'
11
11
  # Postfix for ENV keys
12
12
  ENV_KEY_POSTFIX = '_ENV'
@@ -20,10 +20,12 @@ module Envlogic
20
20
 
21
21
  # @param klass [Class, Module] class/module for which we want to build a Envlogic::Env object
22
22
  # @return [Envlogic::Env] envlogic env object]
23
+ # @note Will load appropriate environment automatically
23
24
  # @example
24
25
  # Envlogic::Env.new(User)
25
- # @note Will load appropriate environment automatically
26
26
  def initialize(klass)
27
+ super('')
28
+
27
29
  env = ENV[to_env_key(app_dir_name)]
28
30
  env ||= ENV[to_env_key(klass.to_s)]
29
31
  env ||= ENV[FALLBACK_ENV_KEY]
@@ -38,7 +40,7 @@ module Envlogic
38
40
  (method_name[-1] == '?') || super
39
41
  end
40
42
 
41
- # Reacts to missing methods, from which some might be the env checkings.
43
+ # Reacts to missing methods, from which some might be the env checks.
42
44
  # If the method ends with '?' we assume, that it is an env check
43
45
  # @param method_name [String] method name for missing or env name with question mark
44
46
  # @param arguments [Array] any arguments that we pass to the method
@@ -60,6 +62,8 @@ module Envlogic
60
62
  end
61
63
 
62
64
  # Converts any string into a bash ENV key
65
+ # @param string [String] string we want to convert into an env key
66
+ # @return [String] converted name that can be an ENV key
63
67
  def to_env_key(string)
64
68
  INFLECTOR
65
69
  .underscore(string)
@@ -3,5 +3,5 @@
3
3
  # Main module to encapsulate logic
4
4
  module Envlogic
5
5
  # Current version of gem
6
- VERSION = '1.1.0'
6
+ VERSION = '1.1.4'
7
7
  end
data/lib/envlogic.rb CHANGED
@@ -7,15 +7,27 @@
7
7
  ].each { |lib| require lib }
8
8
 
9
9
  # Main module that encapsulates logic that should be used to extend any class/module
10
- # @note This module should be extended into the class/module in which we want to have env support
10
+ # @note This module should be extended/included into the class/module in which we want to have
11
+ # env support
12
+ #
11
13
  # @example Use it in RandomClass class
12
14
  # class RandomClass
13
15
  # extend Envlogic
14
16
  # end
15
17
  #
16
- # RandomClass.env #=> Envlogic::Env instance
17
- # RandomClass.env.production? #=> false
18
- # RandomClass.env.development? #=> true
18
+ # RandomClass.env #=> Envlogic::Env instance
19
+ # RandomClass.env.production? #=> false
20
+ # RandomClass.env.development? #=> true
21
+ #
22
+ # @example Use it for instances of objects
23
+ # class RandomClass
24
+ # include Envlogic
25
+ # end
26
+ #
27
+ # instance = RandomClass.new
28
+ # instance.env #=> Envlogic::Env instance
29
+ # instance.env.production? #=> false
30
+ # instance.env.development? #=> true
19
31
  module Envlogic
20
32
  # @return [Envlogic::Env] envlogic env instance that allows us to check environment
21
33
  # @example Invoke env in TestClass
@@ -32,7 +44,7 @@ module Envlogic
32
44
  env.update(environment.to_s)
33
45
  end
34
46
 
35
- # We alias this for backword compatibility with some code that uses full names
47
+ # We alias this for backward compatibility with some code that uses full names
36
48
  alias environment env
37
49
  alias environment= env=
38
50
  end
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,15 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pavlo_vavruk
8
8
  - Maciej Mensfeld
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2018-03-22 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEODCCAqCgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhtYWNp
15
+ ZWovREM9bWVuc2ZlbGQvREM9cGwwHhcNMjEwODExMTQxNTEzWhcNMjIwODExMTQx
16
+ NTEzWjAjMSEwHwYDVQQDDBhtYWNpZWovREM9bWVuc2ZlbGQvREM9cGwwggGiMA0G
17
+ CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDV2jKH4Ti87GM6nyT6D+ESzTI0MZDj
18
+ ak2/TEwnxvijMJyCCPKT/qIkbW4/f0VHM4rhPr1nW73sb5SZBVFCLlJcOSKOBdUY
19
+ TMY+SIXN2EtUaZuhAOe8LxtxjHTgRHvHcqUQMBENXTISNzCo32LnUxweu66ia4Pd
20
+ 1mNRhzOqNv9YiBZvtBf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/ECe7ZzPzXj
36
+ pIy9vHxTANKYVyI4qj8OrFdEM5BQNu8oQpL0iQ==
37
+ -----END CERTIFICATE-----
38
+ date: 2021-12-05 00:00:00.000000000 Z
13
39
  dependencies:
14
40
  - !ruby/object:Gem::Dependency
15
41
  name: dry-inflector
@@ -33,25 +59,29 @@ executables: []
33
59
  extensions: []
34
60
  extra_rdoc_files: []
35
61
  files:
62
+ - ".coditsu/ci.yml"
63
+ - ".diffend.yml"
64
+ - ".github/workflows/ci.yml"
36
65
  - ".gitignore"
37
66
  - ".rspec"
38
67
  - ".ruby-gemset"
39
68
  - ".ruby-version"
40
- - ".travis.yml"
41
69
  - CHANGELOG.md
42
70
  - Gemfile
43
71
  - Gemfile.lock
44
- - MIT-LICENCE
72
+ - MIT-LICENSE
45
73
  - README.md
46
74
  - Rakefile
75
+ - certs/mensfeld.pem
47
76
  - envlogic.gemspec
48
77
  - lib/envlogic.rb
49
78
  - lib/envlogic/env.rb
50
79
  - lib/envlogic/version.rb
51
- homepage: https://github.com/karafka/envlogic
80
+ homepage: https://karafka.io
52
81
  licenses:
53
82
  - MIT
54
- metadata: {}
83
+ metadata:
84
+ source_code_uri: https://github.com/karafka/envlogic
55
85
  post_install_message:
56
86
  rdoc_options: []
57
87
  require_paths:
@@ -60,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
90
  requirements:
61
91
  - - ">="
62
92
  - !ruby/object:Gem::Version
63
- version: 2.2.0
93
+ version: 2.5.0
64
94
  required_rubygems_version: !ruby/object:Gem::Requirement
65
95
  requirements:
66
96
  - - ">="
67
97
  - !ruby/object:Gem::Version
68
98
  version: '0'
69
99
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 2.7.6
100
+ rubygems_version: 3.2.32
72
101
  signing_key:
73
102
  specification_version: 4
74
103
  summary: Library which allows to set and get environments values
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ����8�|�S =ǥ:W�B:�Z'�4<�X���#�(52ΈS�_��tގ�1 O]_�I)Pv̵q�r����h��z�}�N-9�-Ϸ߂�S:�Ԯ�jnb�z)&�ي��=�[|��ު�}���rW�ʠ�1�k)O�I��}��=��i��`s�3#� �z�L 0
2
+ ���3`n?|��� �&����쥡N�>G�g�n s��Z�ԙ8|�T���ٯabsaƻN�j�%C��f�g�ػ� ���?�;��Tq|�RUn@@%�����>b� ��2����H �][Q�Ê���tInI�[�v�ʵ� =KAC�t��'C���իT�n��� ���b+���J/�,�մ���fi?|
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- rvm:
4
- - 2.3.0
5
- - 2.3.1
6
- - 2.3.2
7
- - 2.3.3
8
- - 2.3.4
9
- - 2.4.0
10
- - 2.4.1
11
- - 2.4.2
12
- - 2.5.0
13
- - jruby-head
14
- script: bundle exec rspec spec/
15
- env:
16
- global:
17
- - JRUBY_OPTS='--debug'
18
- install: bundle install --jobs=3 --retry=3