dryad 0.2.6 → 0.2.7

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: abd23b5cda25ddb3b4e479a28aa2db1236605336d121199a07193e4c82a78151
4
- data.tar.gz: 25a148ac25dd2c7c216cf3b8b56986e8f2ee8425e2086e885b773b72ae377491
3
+ metadata.gz: 4597426c2dca1ad24404a1dba26e7809a2757dd74ebd04a406e4f688da739335
4
+ data.tar.gz: 90675e5710070f52f171356d623c5bd8a94f3598a1dfff7e7132829cdb01cc36
5
5
  SHA512:
6
- metadata.gz: d355e7b2a866fa0f984160ccfe4265f94611066480092fdafea827b8cc07213d96f9187373015752603ec0d7addfddf53333e2d26f88f857e5c430c5069e600e
7
- data.tar.gz: 45d2745e28b8adcc00c129befc3c69ebcd0217618242446fd7e53cd0df844f3c9a0b87190be38b722d234e3230715dde30405f6a757d1a5f39a17fd7d2304725
6
+ metadata.gz: a694bbdb6810a9309f9cd3958a1524be8b34fbb4c6826527c4caa7e65feb45003a9b262053a2a67629f6e3b2c606198dc21ae7dcd7636402d5c83c82a19f9329
7
+ data.tar.gz: 414b780d1528299fc312c9895d92dcae2378aaa66ac0c14591b0ea0804fa03554a67372b19a98261db963b00228a423e2d52966317eee9e17f7d500420568a8e
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dryad (0.2.6)
5
- dryad-cluster (= 0.2.6)
6
- dryad-consul (= 0.2.6)
7
- dryad-core (= 0.2.6)
8
- dryad-cluster (0.2.6)
4
+ dryad (0.2.7)
5
+ dryad-cluster (= 0.2.7)
6
+ dryad-consul (= 0.2.7)
7
+ dryad-core (= 0.2.7)
8
+ dryad-cluster (0.2.7)
9
9
  concurrent-ruby (~> 1.1, >= 1.1.5)
10
- dryad-consul (= 0.2.6)
11
- dryad-core (= 0.2.6)
12
- dryad-consul (0.2.6)
10
+ dryad-consul (= 0.2.7)
11
+ dryad-core (= 0.2.7)
12
+ dryad-consul (0.2.7)
13
13
  diplomat (~> 2.2, >= 2.2.4)
14
- dryad-core (= 0.2.6)
15
- dryad-core (0.2.6)
14
+ dryad-core (= 0.2.7)
15
+ dryad-core (0.2.7)
16
16
 
17
17
  GEM
18
18
  remote: https://rubygems.org/
@@ -26,7 +26,7 @@ GEM
26
26
  faraday (0.15.4)
27
27
  multipart-post (>= 1.2, < 3)
28
28
  multipart-post (2.1.1)
29
- rake (10.5.0)
29
+ rake (12.3.2)
30
30
  rspec (3.8.0)
31
31
  rspec-core (~> 3.8.0)
32
32
  rspec-expectations (~> 3.8.0)
@@ -47,7 +47,7 @@ PLATFORMS
47
47
  DEPENDENCIES
48
48
  bundler (~> 2.0)
49
49
  dryad!
50
- rake (~> 10.0)
50
+ rake (~> 12.3)
51
51
  rspec (~> 3.0)
52
52
 
53
53
  BUNDLED WITH
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "dryad"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/dryad.gemspec CHANGED
@@ -21,13 +21,13 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = "exe"
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
- spec.files = FileList['lib/**/*.rb', '*'].to_a
24
+ spec.files = FileList['bin/*', 'lib/**/*.rb', '*'].to_a
25
25
 
26
26
  spec.add_dependency "dryad-core", Dryad::VERSION
27
27
  spec.add_dependency "dryad-consul", Dryad::VERSION
28
28
  spec.add_dependency "dryad-cluster", Dryad::VERSION
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 2.0"
31
- spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rake", "~> 12.3"
32
32
  spec.add_development_dependency "rspec", "~> 3.0"
33
33
  end
data/lib/dryad/railtie.rb CHANGED
@@ -5,7 +5,7 @@ module Dryad
5
5
  initializer "dryad.set_configs" do
6
6
  ActiveSupport.on_load(:dryad) do
7
7
  environment = ENV["RAILS_ENV"] || "default"
8
- config = Dryad.load_config[environment].deep_symbolize_keys
8
+ config = Dryad.load_config[environment]&.deep_symbolize_keys
9
9
  Dryad.configuration = Dryad::Configuration.new(config)
10
10
  end
11
11
  end
data/lib/dryad/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dryad
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pan Jie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-05 00:00:00.000000000 Z
11
+ date: 2019-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dryad-core
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.6
19
+ version: 0.2.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.6
26
+ version: 0.2.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dryad-consul
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.6
33
+ version: 0.2.7
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.6
40
+ version: 0.2.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dryad-cluster
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.6
47
+ version: 0.2.7
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.6
54
+ version: 0.2.7
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '12.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '12.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +107,8 @@ files:
107
107
  - LICENSE
108
108
  - README.md
109
109
  - Rakefile
110
+ - bin/console
111
+ - bin/setup
110
112
  - dryad.gemspec
111
113
  - lib/dryad.rb
112
114
  - lib/dryad/configuration.rb