vault-tools 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vault-tools/config.rb +4 -0
- data/lib/vault-tools/version.rb +1 -1
- data/test/config_test.rb +6 -0
- metadata +3 -3
data/lib/vault-tools/config.rb
CHANGED
data/lib/vault-tools/version.rb
CHANGED
data/test/config_test.rb
CHANGED
@@ -83,4 +83,10 @@ class ConfigTest < Vault::TestCase
|
|
83
83
|
assert_equal('postgres:///foo', Vault::Config.remote_env('app', 'DATABASE_URL'))
|
84
84
|
end
|
85
85
|
end
|
86
|
+
|
87
|
+
def test_sidekiq_concurrency
|
88
|
+
assert_equal(25, Vault::Config.sidekiq_concurrency)
|
89
|
+
set_env 'SIDEKIQ_CONCURRENCY', '10'
|
90
|
+
assert_equal(10, Vault::Config.sidekiq_concurrency)
|
91
|
+
end
|
86
92
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vault-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
segments:
|
147
147
|
- 0
|
148
|
-
hash:
|
148
|
+
hash: -1998156247547436760
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
segments:
|
156
156
|
- 0
|
157
|
-
hash:
|
157
|
+
hash: -1998156247547436760
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
160
|
rubygems_version: 1.8.23
|