roda-sprockets 1.1.0.rc2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/roda-sprockets.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c5624471b78bed45e3ad30586950ddd71710008d5f2b7831d418d08eea65390
|
4
|
+
data.tar.gz: d231ec5e75c74f884cfef8cb37f565480b982bb6a3cd7249269b4e2a81618425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f8d649e83eca62de5464f7be4ce388284204fb9a1664ed44efdb9e91f7b97185cfc590369e0cc9e8aaa3a7056bc6c0439754303511f206e0db75821ab95d66
|
7
|
+
data.tar.gz: 4fd782e737b76b53aa090c6d5ade85028d83c662a420ed201f4ab0a81bed75ac64186af9f7ce62af9ea0d92cdb8f6454fee4cde25cce5b167646be54f3a3e936
|
data/README.md
CHANGED
@@ -36,9 +36,16 @@ end
|
|
36
36
|
### Parameters for the plugin:
|
37
37
|
|
38
38
|
* `precompile` - an array of files that you want to precompile
|
39
|
-
* `prefix` (relative to the `root`, which is `app.opts[:root]` by default
|
40
|
-
|
41
|
-
|
39
|
+
* `prefix` (relative to the `root`, which is `app.opts[:root]` by default) -
|
40
|
+
an array of directories where your assets are located, by default:
|
41
|
+
`%w(assets vendor/assets)`.
|
42
|
+
* Here, an element of the array can be an absolute path instead of relative.
|
43
|
+
* If an element ends with `/`, it will use assets directly in a given
|
44
|
+
subdirectory.
|
45
|
+
* If it doesn't end with `/` (which is by default) if will be equivalent to
|
46
|
+
`value/*`, which means, that assets will be loaded for instance from
|
47
|
+
`assets/javascripts` and `assets/stylesheets`, but not directly from `assets`.
|
48
|
+
* An element can contain glob characters.
|
42
49
|
* `root` - a filesystem root directory of your app. By default, same as
|
43
50
|
`app.opts[:root]`, that is: `Dir.pwd`.
|
44
51
|
* `public_path` - filesystem path to a place, where precompiled assets will be
|
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 = '1.1.0
|
7
|
+
spec.version = '1.1.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: 1.1.0
|
4
|
+
version: 1.1.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: 2021-08-
|
12
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roda
|
@@ -144,9 +144,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- - "
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
149
|
+
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubygems_version: 3.2.22
|
152
152
|
signing_key:
|