roda-sprockets 0.0.11 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +2 -3
- data/lib/roda/plugins/sprockets.rb +1 -2
- data/roda-sprockets.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e60bfe5e2c8adb6d2276d1c3ca69eb489201fda460d32cf9a93987603afcfcea
|
4
|
+
data.tar.gz: 9d0201eb062793f1c1de05661cb4db699153cb11e8de5ec01b897fcad4928cce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f0ab041fbc6da153ef2b61dcf215daf104e4029059090dfde0f64b760a9f542f7d3ddb244d89d0aa359e4bea3d82cc6dfa7cdc3acf6456aa13beb3244285ce7
|
7
|
+
data.tar.gz: df03c4d605741ae5163803a542cf3f4b6a2ae8fa6505ead89a5277a0dd902038e96198868fd15200a2756a1f1d4f82b0adc27cc928dc6cb9db41475ed03601ff
|
data/README.md
CHANGED
@@ -3,15 +3,14 @@
|
|
3
3
|
This Roda plugin provides support for integrating Sprockets with your Roda codebase.
|
4
4
|
|
5
5
|
This is a fork of [roda-sprocket_assets](https://github.com/cj/roda-sprocket_assets).
|
6
|
-
This release supports Roda 3.x and Sprockets 3.x
|
6
|
+
This release supports Roda 3.x and Sprockets 3.x and 4.x.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
10
|
Add this line to your application's Gemfile:
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
gem '
|
14
|
-
gem 'roda-sprockets', git: 'https://github.com/hmdne/roda-sprockets'
|
13
|
+
gem 'roda-sprockets'
|
15
14
|
```
|
16
15
|
|
17
16
|
And then execute:
|
@@ -18,7 +18,7 @@ class Roda
|
|
18
18
|
host: nil,
|
19
19
|
digest: true,
|
20
20
|
opal: false,
|
21
|
-
debug: false
|
21
|
+
debug: false,
|
22
22
|
}.freeze
|
23
23
|
|
24
24
|
def self.load_dependencies(app, _opts = nil)
|
@@ -83,7 +83,6 @@ class Roda
|
|
83
83
|
options[:sprockets].js_compressor = options[:js_compressor] unless options[:js_compressor].nil?
|
84
84
|
|
85
85
|
options[:sprockets_helpers].manifest = ::Sprockets::Manifest.new(options[:sprockets], options[:public_path])
|
86
|
-
options[:sprockets_helpers].prefix = options[:path_prefix] unless options[:path_prefix].nil?
|
87
86
|
options[:sprockets_helpers].protocol = options[:protocol]
|
88
87
|
options[:sprockets_helpers].asset_host = options[:host] unless options[:host].nil?
|
89
88
|
end
|
data/roda-sprockets.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "roda-sprockets"
|
7
|
-
spec.version = '0.0
|
7
|
+
spec.version = '1.0.0'
|
8
8
|
spec.authors = ["cj", "hmdne"]
|
9
9
|
spec.email = ["cjlazell@gmail.com"]
|
10
10
|
spec.summary = %q{Use sprockets to serve assets in roda.}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda-sprockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roda
|