sprockets-cache-mongodb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/lib/sprockets-cache-mongodb/version.rb +1 -1
- data/sprockets-cache-mongodb.gemspec +1 -0
- metadata +5 -4
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -8,17 +8,17 @@ A cache store for Sprockets which utilities MongoDB.
|
|
8
8
|
Gemfile:
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
gem
|
12
|
-
gem
|
11
|
+
gem "sprockets"
|
12
|
+
gem "sprockets-cache-mongodb"
|
13
13
|
# ...
|
14
14
|
```
|
15
15
|
|
16
16
|
config.ru:
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require
|
19
|
+
require "sprockets-cache-mongodb"
|
20
20
|
env = Sprockets::Environment.new
|
21
|
-
env.cache = Sprockets::Cache::MongoDBStore.new(mongo,
|
21
|
+
env.cache = Sprockets::Cache::MongoDBStore.new(mongo, "sprockets")
|
22
22
|
# ...
|
23
23
|
```
|
24
24
|
|
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = "https://github.com/CarrotCornCat/sprockets-cache-mongodb"
|
11
11
|
s.summary = %q{A MongoDB (GridFS) cache store for Sprockets}
|
12
12
|
s.description = %q{A MongoDB (GridFS) cache store for Sprockets, built on the model of sprockets-cache-redis }
|
13
|
+
s.license = "MIT"
|
13
14
|
|
14
15
|
s.files = `git ls-files`.split("\n")
|
15
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-cache-mongodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -30,7 +30,8 @@ files:
|
|
30
30
|
- lib/sprockets-cache-mongodb/version.rb
|
31
31
|
- sprockets-cache-mongodb.gemspec
|
32
32
|
homepage: https://github.com/CarrotCornCat/sprockets-cache-mongodb
|
33
|
-
licenses:
|
33
|
+
licenses:
|
34
|
+
- MIT
|
34
35
|
post_install_message:
|
35
36
|
rdoc_options: []
|
36
37
|
require_paths:
|
@@ -43,7 +44,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
44
|
version: '0'
|
44
45
|
segments:
|
45
46
|
- 0
|
46
|
-
hash: -
|
47
|
+
hash: -90659662030234617
|
47
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
49
|
none: false
|
49
50
|
requirements:
|
@@ -52,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
53
|
version: '0'
|
53
54
|
segments:
|
54
55
|
- 0
|
55
|
-
hash: -
|
56
|
+
hash: -90659662030234617
|
56
57
|
requirements: []
|
57
58
|
rubyforge_project:
|
58
59
|
rubygems_version: 1.8.23
|