checker_jobs 0.1.0.pre → 0.1.1.pre

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: 569627ae057bbdab3fb84673e85d6ce258eaf9d2
4
- data.tar.gz: 42a55e7dddba3a9f38e1e30253b8b97fed79b0b6
3
+ metadata.gz: ce3551a978e09495d4bc49b782ff4752b9b51024
4
+ data.tar.gz: 56a6f4803af58145ed22a7cbb8c861006388dcc9
5
5
  SHA512:
6
- metadata.gz: 1b6c2a2411701bca8753e401f86a303c9fb386355bd5a109786b0d566ba0822e9f9c67137e87d3aa31b7b3ac2cf27276848198bd3c6634ea9d984be806794cf2
7
- data.tar.gz: 5260c70caea4009c8b297fccc6859de4616d470c8b0a8322f93e6d22bc1589b9189b25a6efa4df00171ab8cdcec2f57e5c9eb3fe1074db24163c35ce64676559
6
+ metadata.gz: b89b197beb6206ac0a7196e6878880cf1d9227f196ece1c7c750c4afbadeb3059ba35652990e89144b16f50013153197ffb83dcde2b92c23bef30770bdb14e01
7
+ data.tar.gz: fbeb45f5e90e35a593d716b543200e9cf1915e02e61c7b4ef27dbeac4c58c3b811766fad584374982edfff61ce3c995a249c54a9ebb30557141840b54bf98a11
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- checker_jobs (0.1.0)
4
+ checker_jobs (0.1.0.pre)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/checker_jobs.rb CHANGED
@@ -5,11 +5,12 @@ require "checker_jobs/base"
5
5
 
6
6
  module CheckerJobs
7
7
  def self.configuration
8
- Thread.current[:checker_jobs_configuration] || raise(Unconfigured)
8
+ @configuration || raise(Unconfigured)
9
9
  end
10
10
 
11
11
  def self.configure(&block)
12
- Thread.current[:checker_jobs_configuration] = Configuration.default
13
- block&.call(configuration)
12
+ @configuration = Configuration.default.tap do |config|
13
+ block&.call(config)
14
+ end
14
15
  end
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module CheckerJobs
2
- VERSION = "0.1.0.pre".freeze
2
+ VERSION = "0.1.1.pre".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checker_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
4
+ version: 0.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drivy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-03-31 00:00:00.000000000 Z
12
+ date: 2018-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionmailer