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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f8cada027d49dcd4711bbd3f69416186dddefdb
4
- data.tar.gz: 30ce71b0d34a565f2d0b90e30284c459c92ac41d
3
+ metadata.gz: 4c58ef329ca812c0185ee2706edc5e25f18e4428
4
+ data.tar.gz: 444921de4e39f611a736bf99434b05c09787eebb
5
5
  SHA512:
6
- metadata.gz: 5ef984fed1f41440c98deea2689cb8ded4807399cb2ff7d9f32dd147f4340db518f5e50fd1c99be8e9f5ef0eaa69d52944f0d925ced9b3f57d0fabd8f3954c0d
7
- data.tar.gz: 0abc503fbb40eb1315dc6fe624264f593474c615b55800e7593a1bf6795efb7fd69b6daa5ee14420a597b8091db4ace02b44993a53dac213aaf06d659ee8b8ae
6
+ metadata.gz: fdcb232af4b94e8fae77ed2a9b4712fa824d9c57809a504ce685a761bc9887c85757305351ef348315d2b98d9773f5961aac4ddc92c1321cff4a3f69ecc0d5d3
7
+ data.tar.gz: b1f94eff91d83389944dab447dbde9769f46ffb2b862b0b5d7bf27acfd276ff343920bb23dd7578f68d05081ff517c937a2847e09d114dcccc00d65c836ae7bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ # 1.5.0
4
+
5
+ * update js-routes to cover 1.0.0 version [@gvl]
6
+ * update backbone.virtualcollection to 0.5.3 [@gvl]
7
+
3
8
  # 1.4.0
4
9
 
5
10
  * update marionette 2.2.2 -> 2.3.0 [@gvl]
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.9.9** | [changelog](https://github.com/railsware/js-routes/blob/master/CHANGELOG.md) | [homepage](https://github.com/railsware/js-routes) |
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.2**, 0.4.15 | [changelog](https://github.com/p3drosola/Backbone.VirtualCollection#changelog) | [homepage](https://github.com/p3drosola/Backbone.VirtualCollection) |
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#changelog) | [homepage](http://epeli.github.io/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", "~> 0.9.6"
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"
@@ -1,3 +1,3 @@
1
1
  module JsStack
2
- VERSION = '1.4.0'
2
+ VERSION = '1.5.0'
3
3
  end
@@ -82,7 +82,8 @@
82
82
  },
83
83
 
84
84
  _onAdd: function (model, collection, options) {
85
- if (this.accepts(model, options.index)) {
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.2
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.0
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: 2014-12-21 00:00:00.000000000 Z
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.2.js
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