redis_snippets 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/lib/redis_snippets/railtie.rb +10 -8
- data/redis_snippets.gemspec +5 -5
- metadata +5 -5
data/Rakefile
CHANGED
@@ -19,10 +19,10 @@ end
|
|
19
19
|
|
20
20
|
desc "New release"
|
21
21
|
task :new_release do |t|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
`rake version:bump:patch` # Updates VERSION.
|
23
|
+
`rake gemspec`
|
24
|
+
`git commit -am "Preparing new release."`
|
25
|
+
`rm -f pkg/*`
|
26
|
+
`rake build`
|
27
27
|
`rake rubygems:release`
|
28
28
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -2,16 +2,18 @@ module RedisSnippets
|
|
2
2
|
class Railtie < Rails::Railtie
|
3
3
|
# This shouldn't be required when 3.1 arrives.
|
4
4
|
# https://github.com/drogus/rails_helpers_fix
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
if Rails.version < "3.1.0"
|
6
|
+
initializer "redis_snippets.include_railties_helpers_fix" do
|
7
|
+
helpers_paths = []
|
8
|
+
Rails.application.railties.all do |r|
|
9
|
+
if r.config.respond_to?(:paths) && r.config.paths.app.helpers
|
10
|
+
helpers_paths += r.config.paths.app.helpers.to_a
|
11
|
+
end
|
10
12
|
end
|
11
|
-
end
|
12
13
|
|
13
|
-
|
14
|
-
|
14
|
+
ActiveSupport.on_load(:action_controller) do
|
15
|
+
config.helpers_path += helpers_paths
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
17
19
|
end
|
data/redis_snippets.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{redis_snippets}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Martin Moen Wulffeld}]
|
12
|
+
s.date = %q{2011-07-21}
|
13
13
|
s.description = %q{}
|
14
14
|
s.email = %q{martin@wulffeld.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -29,8 +29,8 @@ Gem::Specification.new do |s|
|
|
29
29
|
"lib/redis_snippets/redis.rb",
|
30
30
|
"redis_snippets.gemspec"
|
31
31
|
]
|
32
|
-
s.require_paths = [
|
33
|
-
s.rubygems_version = %q{1.
|
32
|
+
s.require_paths = [%q{lib}]
|
33
|
+
s.rubygems_version = %q{1.8.5}
|
34
34
|
s.summary = %q{View snippets held in Redis storage.}
|
35
35
|
|
36
36
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_snippets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Martin Moen Wulffeld
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-07-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: redis
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements: []
|
96
96
|
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.8.5
|
99
99
|
signing_key:
|
100
100
|
specification_version: 3
|
101
101
|
summary: View snippets held in Redis storage.
|