firebolt 0.12.0 → 0.13.0

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: b2efbe23fb96a4d22b54a59d4db3527962a023b9
4
- data.tar.gz: 532763e5bb13fdb75859c8211234ac96f0d1031b
3
+ metadata.gz: 0065c480c50f012bb42b0721eea423e5900870b0
4
+ data.tar.gz: 94eb5045e18dd501a20edf20a81c3223b4346b48
5
5
  SHA512:
6
- metadata.gz: ec36a9dd7b07ab17fa952b2ec8c7de933ee224812bfe0c6a48ff33c88d0e36d60008b79400dbd92b920a5bd56aeb44aa3f4c3d2848a3db6b8b769699c7a7ee7f
7
- data.tar.gz: 6b63c94faa41be3133bd176f463d57c5bfc57c13bae54dfe64bb24b94433a19df2dfe6d5e5839583aaa0b131681743d5dc666ad09fa4747a9a9af6480f9a6d90
6
+ metadata.gz: ffa7d19032757582ecdc2bc0fa16254cafd8853f83ea74c67a99eb681e2fc5930df49b18043522a451f915b38b788af2d0150f11068fb1e7dc7d2de13b5e6a4d
7
+ data.tar.gz: 6aed00633b8315bdead63914601d285d1d04f66bc141a72d931a2305959288c48e5975897b78c8a253851f20e5cf0a34c8cfd7ac4983be75c235708d0be21809
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  #
24
24
  spec.add_dependency "json"
25
25
  spec.add_dependency "rufus-scheduler", "~> 3.0"
26
- spec.add_dependency "sucker_punch", ">= 1.0"
26
+ spec.add_dependency "concurrent-ruby", "~> 1.0"
27
27
 
28
28
  ##
29
29
  # Development Dependencies
@@ -1,6 +1,6 @@
1
1
  require "json"
2
2
  require "securerandom"
3
- require "sucker_punch"
3
+ require "concurrent"
4
4
  require "rufus/scheduler"
5
5
 
6
6
  require "firebolt/keys"
@@ -58,7 +58,7 @@ module Firebolt
58
58
 
59
59
  # Initial warming
60
60
  warmer = config.use_file_warmer? ? ::Firebolt::FileWarmer : config.warmer
61
- ::Firebolt::WarmCacheJob.new.async.perform(config.warmer)
61
+ ::Concurrent::Future.execute { ::Firebolt::WarmCacheJob.new.perform(warmer) }
62
62
 
63
63
  initialized!
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module Firebolt
2
- VERSION = "0.12.0"
2
+ VERSION = "0.13.0"
3
3
  end
@@ -1,6 +1,5 @@
1
1
  module Firebolt
2
2
  class WarmCacheJob
3
- include ::SuckerPunch::Job
4
3
 
5
4
  def perform(warmer_class)
6
5
  cache_warmer = warmer_class.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison
@@ -9,62 +9,62 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-15 00:00:00.000000000 Z
12
+ date: 2016-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rufus-scheduler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '3.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '3.0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: sucker_punch
43
+ name: concurrent-ruby
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '1.0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '1.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  description: Simple little cache warmer.
@@ -75,7 +75,7 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - .gitignore
78
+ - ".gitignore"
79
79
  - Gemfile
80
80
  - LICENSE.txt
81
81
  - README.md
@@ -101,17 +101,17 @@ require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.0.6
114
+ rubygems_version: 2.4.5
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Firebolt is a simple cache warmer. It warms the cache using a specially defined