firebolt 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/firebolt/tasks/cache.rake +3 -3
- data/lib/firebolt/version.rb +1 -1
- metadata +15 -31
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 92dba44a9efa7fa99159f402e3f4d08f81121fa2
|
4
|
+
data.tar.gz: 8d9266efd4121c5dde96309d20cee8998853b36b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 304783279619556d0663568fab156f53aa8795ae12b0f71205c7adcff0daae1e3c0ee70ec1da6dfe5175ece666b6c3abb03ef8b58a4898ddcb01c116677b7cf7
|
7
|
+
data.tar.gz: 1645b80ee8dfbc239a4004d015b5beb9fe0056f963a4bf80671ff20353d1aa3babe4337e2363e99766b02d8cfe58e7fa9bbbf91928e45dafeb5f77ac20495d81
|
@@ -5,14 +5,14 @@ namespace :firebolt do
|
|
5
5
|
namespace :cache do
|
6
6
|
|
7
7
|
desc 'Rebuild the cache by purging and re-warming'
|
8
|
-
task :rebuild do
|
8
|
+
task :rebuild => :environment do
|
9
9
|
::Rake::Task['firebolt:cache:purge'].invoke
|
10
10
|
::Rake::Task['firebolt:cache:warm'].invoke
|
11
11
|
puts 'Cache rebuilt'
|
12
12
|
end
|
13
13
|
|
14
14
|
desc 'Purge the cache and startup file'
|
15
|
-
task :purge do
|
15
|
+
task :purge => :environment do
|
16
16
|
pattern = ::Firebolt.cache_key_with_salt('*', ::Firebolt.salt)
|
17
17
|
puts "Purging keys matching pattern '#{pattern}'"
|
18
18
|
::Firebolt.config.cache.delete_matched(pattern)
|
@@ -25,7 +25,7 @@ namespace :firebolt do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
desc 'Warm the cache with a new salt'
|
28
|
-
task :warm do
|
28
|
+
task :warm => :environment do
|
29
29
|
::Firebolt.initialize!
|
30
30
|
warmer = ::Firebolt.config.warmer
|
31
31
|
puts "Warming the cache with #{warmer}"
|
data/lib/firebolt/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firebolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Adam Hutchison
|
@@ -10,70 +9,62 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: json
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rufus-scheduler
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: sucker_punch
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: rake
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '0'
|
71
63
|
type: :development
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
70
|
description: Simple little cache warmer.
|
@@ -103,33 +94,26 @@ files:
|
|
103
94
|
homepage: https://github.com/moneydesktop/firebolt
|
104
95
|
licenses:
|
105
96
|
- MIT
|
97
|
+
metadata: {}
|
106
98
|
post_install_message:
|
107
99
|
rdoc_options: []
|
108
100
|
require_paths:
|
109
101
|
- lib
|
110
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
-
none: false
|
112
103
|
requirements:
|
113
|
-
- -
|
104
|
+
- - '>='
|
114
105
|
- !ruby/object:Gem::Version
|
115
106
|
version: '0'
|
116
|
-
segments:
|
117
|
-
- 0
|
118
|
-
hash: -2948642289275400619
|
119
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
108
|
requirements:
|
122
|
-
- -
|
109
|
+
- - '>='
|
123
110
|
- !ruby/object:Gem::Version
|
124
111
|
version: '0'
|
125
|
-
segments:
|
126
|
-
- 0
|
127
|
-
hash: -2948642289275400619
|
128
112
|
requirements: []
|
129
113
|
rubyforge_project:
|
130
|
-
rubygems_version:
|
114
|
+
rubygems_version: 2.0.2
|
131
115
|
signing_key:
|
132
|
-
specification_version:
|
116
|
+
specification_version: 4
|
133
117
|
summary: Firebolt is a simple cache warmer. It warms the cache using a specially defined
|
134
118
|
warmer class.
|
135
119
|
test_files: []
|