smap_rails 0.1.0 → 0.1.1
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/Gemfile.lock +22 -0
- data/README.md +5 -1
- data/app/assets/javascripts/smap.js +5 -1
- data/lib/smap_rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e7fcf238812bfd2915a23b2341c4123611a98ec
|
|
4
|
+
data.tar.gz: ca4506ddb4938722214c81db0ae8a5e214fa6d18
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd5f48617135bfdec7335963ae90f2384cea9096e96e09e4ce609f68241dd9adc6f4a03a988eea0c0c1a1346b7205a19db55fac9b6937d993181f33624bde818
|
|
7
|
+
data.tar.gz: ce33fdf018ad1ea9ba935717334be2c808111133f0ffa289fdd8a23df2b73cf0fde5910459b509b8135713ea5c316a845a2aa461c6bb790639d0356323f15c52
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
smap_rails (0.1.0)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
minitest (5.8.4)
|
|
10
|
+
rake (10.5.0)
|
|
11
|
+
|
|
12
|
+
PLATFORMS
|
|
13
|
+
ruby
|
|
14
|
+
|
|
15
|
+
DEPENDENCIES
|
|
16
|
+
bundler (~> 1.11)
|
|
17
|
+
minitest (~> 5.0)
|
|
18
|
+
rake (~> 10.0)
|
|
19
|
+
smap_rails!
|
|
20
|
+
|
|
21
|
+
BUNDLED WITH
|
|
22
|
+
1.11.2
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ ES6 Maps with a bunch of convenience methods packaged for the Rails asset pipeli
|
|
|
7
7
|
Add this line to your application's Gemfile:
|
|
8
8
|
|
|
9
9
|
```ruby
|
|
10
|
-
gem '
|
|
10
|
+
gem 'smap'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
And then execute:
|
|
@@ -18,6 +18,10 @@ Or install it yourself as:
|
|
|
18
18
|
|
|
19
19
|
$ gem install smap_rails
|
|
20
20
|
|
|
21
|
+
Add it to your Javascript manifest file
|
|
22
|
+
|
|
23
|
+
//= require smap_rails
|
|
24
|
+
|
|
21
25
|
## Usage
|
|
22
26
|
|
|
23
27
|
Check out the smap js repo [https://github.com/eriwen/smap.js](https://github.com/eriwen/smap.js).
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
//! Copyright 2012 Eric Wendelin - MIT License
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* es6-map-shim.js is a
|
|
4
|
+
* es6-map-shim.js is a shim that follows the latest Map specification as closely as possible.
|
|
5
5
|
* It is destructive in the sense that it overrides native implementations.
|
|
6
6
|
*
|
|
7
7
|
* This library assumes ES5 functionality: Object.create, Object.defineProperty, Array.indexOf, Function.bind
|
|
8
8
|
*/
|
|
9
|
+
|
|
9
10
|
(function(module) {
|
|
11
|
+
//no longer distructive
|
|
12
|
+
if(this.Map){return;}
|
|
13
|
+
|
|
10
14
|
function Map(iterable) {
|
|
11
15
|
var _items = [];
|
|
12
16
|
var _keys = [];
|
data/lib/smap_rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smap_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Greene
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -61,6 +61,7 @@ extensions: []
|
|
|
61
61
|
extra_rdoc_files: []
|
|
62
62
|
files:
|
|
63
63
|
- Gemfile
|
|
64
|
+
- Gemfile.lock
|
|
64
65
|
- LICENSE
|
|
65
66
|
- README.md
|
|
66
67
|
- Rakefile
|