rack-lodash 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/.travis.yml +11 -0
- data/CHANGES.md +7 -0
- data/README.md +10 -4
- data/lib/rack/lodash.rb +1 -1
- data/lib/rack/lodash/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ac637ee7d6781b654a12b3ae230063f455cfbb0
|
4
|
+
data.tar.gz: 2e67bd3a3d1e61ed34182082e52a047c0a06917e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e243f3c543755ce2de94fc9171ca7237ac88f6d09214ef84fc45167bab510d14650c1d994fafb74d41aa3a1968ba82d2b9cfe67f975f61435c8108b3a48f96cb
|
7
|
+
data.tar.gz: 2493a0ef633da12c47aa1184dbaa066aa3e5194f92428ac22bb767602b48cdbe4f25ec3757ff52f8e972ad0bfcec866b80dfa179a6d8af42cc523e27f8ceca4d
|
data/.travis.yml
ADDED
data/CHANGES.md
ADDED
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
[Lo-dash](http://lodash.com/) CDN script tags and fallback in one neat package. Current version is for Lo-dash v#{Rack::Lodash::LODASH_VERSION}
|
4
4
|
|
5
|
+
### Build status ###
|
6
|
+
|
7
|
+
Master branch:
|
8
|
+
[](https://travis-ci.org/yb66/rack-lodash)
|
9
|
+
|
10
|
+
|
5
11
|
## Why? ##
|
6
12
|
|
7
13
|
Because then I don't have to worry about versioning or fallback.
|
@@ -12,17 +18,17 @@ Add this line to your application's Gemfile:
|
|
12
18
|
|
13
19
|
gem 'rack-lodash'
|
14
20
|
|
15
|
-
And then execute:
|
21
|
+
And then, from a command-line, execute:
|
16
22
|
|
17
|
-
|
23
|
+
bundle install
|
18
24
|
|
19
25
|
Or even better:
|
20
26
|
|
21
|
-
|
27
|
+
bundle install --binstubs --path vendor
|
22
28
|
|
23
29
|
Or install it yourself as:
|
24
30
|
|
25
|
-
|
31
|
+
gem install rack-lodash -r
|
26
32
|
|
27
33
|
## Usage ##
|
28
34
|
|
data/lib/rack/lodash.rb
CHANGED
@@ -12,7 +12,7 @@ module Rack
|
|
12
12
|
CLOUDFLARE = "//cdnjs.cloudflare.com/ajax/libs/lodash.js/#{LODASH_VERSION}/lodash.min.js"
|
13
13
|
|
14
14
|
# Script tags for the jsDelivr CDN
|
15
|
-
JSDELIVR = "//cdn.jsdelivr.net/lodash/#{LODASH_VERSION}/lodash.
|
15
|
+
JSDELIVR = "//cdn.jsdelivr.net/lodash/#{LODASH_VERSION}/lodash.min.js"
|
16
16
|
end
|
17
17
|
|
18
18
|
|
data/lib/rack/lodash/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-lodash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iain Barnett
|
@@ -76,6 +76,8 @@ extra_rdoc_files: []
|
|
76
76
|
files:
|
77
77
|
- .gitignore
|
78
78
|
- .rspec
|
79
|
+
- .travis.yml
|
80
|
+
- CHANGES.md
|
79
81
|
- Gemfile
|
80
82
|
- LICENCE.txt
|
81
83
|
- README.md
|