firebolt 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b2efbe23fb96a4d22b54a59d4db3527962a023b9
4
+ data.tar.gz: 532763e5bb13fdb75859c8211234ac96f0d1031b
5
+ SHA512:
6
+ metadata.gz: ec36a9dd7b07ab17fa952b2ec8c7de933ee224812bfe0c6a48ff33c88d0e36d60008b79400dbd92b920a5bd56aeb44aa3f4c3d2848a3db6b8b769699c7a7ee7f
7
+ data.tar.gz: 6b63c94faa41be3133bd176f463d57c5bfc57c13bae54dfe64bb24b94433a19df2dfe6d5e5839583aaa0b131681743d5dc666ad09fa4747a9a9af6480f9a6d90
data/firebolt.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  # Dependencies
23
23
  #
24
24
  spec.add_dependency "json"
25
- spec.add_dependency "rufus-scheduler"
25
+ spec.add_dependency "rufus-scheduler", "~> 3.0"
26
26
  spec.add_dependency "sucker_punch", ">= 1.0"
27
27
 
28
28
  ##
@@ -1,3 +1,3 @@
1
1
  module Firebolt
2
- VERSION = "0.11.0"
2
+ VERSION = "0.12.0"
3
3
  end
data/lib/firebolt.rb CHANGED
@@ -38,9 +38,10 @@ module Firebolt
38
38
  def self.initialize_rufus_scheduler
39
39
  return if config.warming_frequency.nil?
40
40
 
41
- warming_frequency = ::Rufus.to_time_string(config.warming_frequency)
41
+ warming_frequency = config.warming_frequency.to_s
42
42
 
43
- ::Rufus::Scheduler.start_new.every(warming_frequency) do
43
+ scheduler = ::Rufus::Scheduler.new
44
+ scheduler.every(warming_frequency) do
44
45
  ::Firebolt::WarmCacheJob.new.async.perform(config.warmer)
45
46
  end
46
47
  end
metadata CHANGED
@@ -1,87 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
5
- prerelease:
4
+ version: 0.12.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Hutchison
9
8
  - BJ Neilsen
10
- autorequire:
9
+ autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-08-22 00:00:00.000000000 Z
12
+ date: 2013-10-15 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: json
17
- version_requirements: !ruby/object:Gem::Requirement
18
- requirements:
19
- - - ">="
20
- - !ruby/object:Gem::Version
21
- version: !binary |-
22
- MA==
23
- none: false
24
16
  requirement: !ruby/object:Gem::Requirement
25
17
  requirements:
26
- - - ">="
18
+ - - '>='
27
19
  - !ruby/object:Gem::Version
28
- version: !binary |-
29
- MA==
30
- none: false
31
- prerelease: false
20
+ version: '0'
32
21
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: rufus-scheduler
22
+ prerelease: false
35
23
  version_requirements: !ruby/object:Gem::Requirement
36
24
  requirements:
37
- - - ">="
25
+ - - '>='
38
26
  - !ruby/object:Gem::Version
39
- version: !binary |-
40
- MA==
41
- none: false
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rufus-scheduler
42
30
  requirement: !ruby/object:Gem::Requirement
43
31
  requirements:
44
- - - ">="
32
+ - - ~>
45
33
  - !ruby/object:Gem::Version
46
- version: !binary |-
47
- MA==
48
- none: false
49
- prerelease: false
34
+ version: '3.0'
50
35
  type: :runtime
51
- - !ruby/object:Gem::Dependency
52
- name: sucker_punch
36
+ prerelease: false
53
37
  version_requirements: !ruby/object:Gem::Requirement
54
38
  requirements:
55
- - - ">="
39
+ - - ~>
56
40
  - !ruby/object:Gem::Version
57
- version: '1.0'
58
- none: false
41
+ version: '3.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: sucker_punch
59
44
  requirement: !ruby/object:Gem::Requirement
60
45
  requirements:
61
- - - ">="
46
+ - - '>='
62
47
  - !ruby/object:Gem::Version
63
48
  version: '1.0'
64
- none: false
65
- prerelease: false
66
49
  type: :runtime
67
- - !ruby/object:Gem::Dependency
68
- name: rake
50
+ prerelease: false
69
51
  version_requirements: !ruby/object:Gem::Requirement
70
52
  requirements:
71
- - - ">="
53
+ - - '>='
72
54
  - !ruby/object:Gem::Version
73
- version: !binary |-
74
- MA==
75
- none: false
55
+ version: '1.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
76
58
  requirement: !ruby/object:Gem::Requirement
77
59
  requirements:
78
- - - ">="
60
+ - - '>='
79
61
  - !ruby/object:Gem::Version
80
- version: !binary |-
81
- MA==
82
- none: false
83
- prerelease: false
62
+ version: '0'
84
63
  type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
85
70
  description: Simple little cache warmer.
86
71
  email:
87
72
  - liveh2o@gmail.com
@@ -90,7 +75,7 @@ executables: []
90
75
  extensions: []
91
76
  extra_rdoc_files: []
92
77
  files:
93
- - ".gitignore"
78
+ - .gitignore
94
79
  - Gemfile
95
80
  - LICENSE.txt
96
81
  - README.md
@@ -109,34 +94,26 @@ files:
109
94
  homepage: https://github.com/moneydesktop/firebolt
110
95
  licenses:
111
96
  - MIT
112
- post_install_message:
97
+ metadata: {}
98
+ post_install_message:
113
99
  rdoc_options: []
114
100
  require_paths:
115
101
  - lib
116
102
  required_ruby_version: !ruby/object:Gem::Requirement
117
103
  requirements:
118
- - - ">="
104
+ - - '>='
119
105
  - !ruby/object:Gem::Version
120
- segments:
121
- - 0
122
- version: !binary |-
123
- MA==
124
- hash: 2
125
- none: false
106
+ version: '0'
126
107
  required_rubygems_version: !ruby/object:Gem::Requirement
127
108
  requirements:
128
- - - ">="
109
+ - - '>='
129
110
  - !ruby/object:Gem::Version
130
- segments:
131
- - 0
132
- version: !binary |-
133
- MA==
134
- hash: 2
135
- none: false
111
+ version: '0'
136
112
  requirements: []
137
- rubyforge_project:
138
- rubygems_version: 1.8.24
139
- signing_key:
140
- specification_version: 3
141
- summary: Firebolt is a simple cache warmer. It warms the cache using a specially defined warmer class.
113
+ rubyforge_project:
114
+ rubygems_version: 2.0.6
115
+ signing_key:
116
+ specification_version: 4
117
+ summary: Firebolt is a simple cache warmer. It warms the cache using a specially defined
118
+ warmer class.
142
119
  test_files: []