js_stack 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/js_stack.gemspec +1 -1
- data/lib/js_stack/version.rb +1 -1
- data/vendor/assets/javascripts/js_stack/plugins/backbone/virtualcollection/{0.5.2.js → 0.5.3.js} +2 -1
- data/vendor/assets/javascripts/js_stack/plugins/backbone.virtualcollection.js +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c58ef329ca812c0185ee2706edc5e25f18e4428
|
4
|
+
data.tar.gz: 444921de4e39f611a736bf99434b05c09787eebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdcb232af4b94e8fae77ed2a9b4712fa824d9c57809a504ce685a761bc9887c85757305351ef348315d2b98d9773f5961aac4ddc92c1321cff4a3f69ecc0d5d3
|
7
|
+
data.tar.gz: b1f94eff91d83389944dab447dbde9769f46ffb2b862b0b5d7bf27acfd276ff343920bb23dd7578f68d05081ff517c937a2847e09d114dcccc00d65c836ae7bb
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -51,7 +51,7 @@ Examples:
|
|
51
51
|
| marionette | **2.3.0**, 2.2.2, 2.1.0, 2.0.3, 1.8.8, 1.7.4, 1.6.4, 1.5.1, 1.4.1, 1.1.0 | [changelog](https://github.com/marionettejs/backbone.marionette/blob/master/changelog.md) | [homepage](http://marionettejs.com/) |
|
52
52
|
| underscore | **1.7.0**, 1.6.0, 1.5.2 | [changelog](http://underscorejs.org/#changelog) | [homepage](http://underscorejs.org/) |
|
53
53
|
| hamlcoffee | **1.16** | [changelog](https://github.com/netzpirat/haml_coffee_assets/blob/master/CHANGELOG.md) | [homepage](https://github.com/netzpirat/haml_coffee_assets) |
|
54
|
-
| js-routes | **0.
|
54
|
+
| js-routes | **1.0.0** | [changelog](https://github.com/railsware/js-routes/blob/master/CHANGELOG.md) | [homepage](https://github.com/railsware/js-routes) |
|
55
55
|
|
56
56
|
### Plugins
|
57
57
|
|
@@ -65,11 +65,11 @@ Examples:
|
|
65
65
|
| backbone routefilter | **0.2.1** | [changelog](https://github.com/boazsender/backbone.routefilter#release-history) | [homepage](https://github.com/boazsender/backbone.routefilter) |
|
66
66
|
| backbone stickit | **0.8.0**, 0.7.0, 0.6.3 | [changelog](http://nytimes.github.io/backbone.stickit/#change-log) | [homepage](http://nytimes.github.io/backbone.stickit/) |
|
67
67
|
| backbone validation | **0.9.1**, 0.8.1 | [changelog](https://github.com/thedersen/backbone.validation#release-notes) | [homepage](https://github.com/thedersen/backbone.validation) |
|
68
|
-
| backbone virtualcollection | **0.5.
|
68
|
+
| backbone virtualcollection | **0.5.3**, 0.4.15 | [changelog](https://github.com/p3drosola/Backbone.VirtualCollection#changelog) | [homepage](https://github.com/p3drosola/Backbone.VirtualCollection) |
|
69
69
|
| cocktail | **0.5.8** | None | [homepage](https://github.com/onsi/cocktail) |
|
70
70
|
| momentjs | **2.8.3** | [changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md) | [homepage](https://github.com/derekprior/momentjs-rails) |
|
71
71
|
| underscore inflections | **0.2.1** | None | [homepage](https://github.com/geetarista/underscore.inflections) |
|
72
|
-
| underscore string | **2.4.0**, 2.3.2 | [changelog](https://github.com/epeli/underscore.string
|
72
|
+
| underscore string | **2.4.0**, 2.3.2 | [changelog](https://github.com/epeli/underscore.string/blob/master/CHANGELOG.markdown) | [homepage](http://epeli.github.io/underscore.string/) |
|
73
73
|
|
74
74
|
## Contributing
|
75
75
|
|
data/js_stack.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency "haml_coffee_assets", "~> 1.16"
|
22
22
|
spec.add_dependency "momentjs-rails", "~> 2.6"
|
23
|
-
spec.add_dependency "js-routes", "
|
23
|
+
spec.add_dependency "js-routes", ">= 0.9.6"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
26
|
spec.add_development_dependency "rake"
|
data/lib/js_stack/version.rb
CHANGED
data/vendor/assets/javascripts/js_stack/plugins/backbone/virtualcollection/{0.5.2.js → 0.5.3.js}
RENAMED
@@ -82,7 +82,8 @@
|
|
82
82
|
},
|
83
83
|
|
84
84
|
_onAdd: function (model, collection, options) {
|
85
|
-
|
85
|
+
var already_here = this.get(model);
|
86
|
+
if (!already_here && this.accepts(model, options.index)) {
|
86
87
|
this._indexAdd(model);
|
87
88
|
model.on('all', this._onModelEvent, this);
|
88
89
|
this.trigger('add', model, this, options);
|
@@ -1 +1 @@
|
|
1
|
-
//= require js_stack/plugins/backbone/virtualcollection/0.5.
|
1
|
+
//= require js_stack/plugins/backbone/virtualcollection/0.5.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: js_stack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Pewiński
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml_coffee_assets
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
name: js-routes
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 0.9.6
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.9.6
|
56
56
|
- !ruby/object:Gem::Dependency
|
@@ -143,7 +143,7 @@ files:
|
|
143
143
|
- vendor/assets/javascripts/js_stack/plugins/backbone/validation/0.8.1.js
|
144
144
|
- vendor/assets/javascripts/js_stack/plugins/backbone/validation/0.9.1.js
|
145
145
|
- vendor/assets/javascripts/js_stack/plugins/backbone/virtualcollection/0.4.15.js
|
146
|
-
- vendor/assets/javascripts/js_stack/plugins/backbone/virtualcollection/0.5.
|
146
|
+
- vendor/assets/javascripts/js_stack/plugins/backbone/virtualcollection/0.5.3.js
|
147
147
|
- vendor/assets/javascripts/js_stack/plugins/cocktail.js
|
148
148
|
- vendor/assets/javascripts/js_stack/plugins/cocktail/0.5.8.js
|
149
149
|
- vendor/assets/javascripts/js_stack/plugins/moment.js
|