initjs 2.1.0 → 2.1.1

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: 4191ab24005ed983a99ddd13a1e485fe3a7ca88c
4
- data.tar.gz: f276bd6d116b5d80072d7de4c631b168fc4ea9a3
3
+ metadata.gz: b80954b944a43238eb7edc81748991271824017c
4
+ data.tar.gz: 038d51ce9329e001eaa4cd48e71dd968cb56b6f1
5
5
  SHA512:
6
- metadata.gz: f3fbb031229174782e3020efcd8016f0fa6d50de11f6c5be2ae61277c044c93979537a4003f564088cf709b6b605b92195989e1258f03326e5cd11e3604ec665
7
- data.tar.gz: d2f1eb49fa9c26aafd095680060832affff0dc455a770df26f086b8e6931b7cba54246f1f3cd5431b28e2b0b888131e0207aca9adbabd108358c1e7d5244feba
6
+ metadata.gz: 1473251178ee24c9a25929523d3661455d62236fa9d77f0c8fea170772f53aa4b6a568bd2cbb9569b88b3495fd6dab96fa5fed410211397d39b4eedd176b27c8
7
+ data.tar.gz: 1e42582d8fa4dadf019ed8d3e68ef64be91f5fa9f012a530a800910fba3dd9d4f31e5e71a43a75fd66fc5fd293bee4ef6311186ab0bc2068fcbd1ae6c9d0d083
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- initjs (2.0.0)
4
+ initjs (2.1.0)
5
5
  jquery-rails
6
6
  rails (>= 3.1)
7
7
 
@@ -138,6 +138,5 @@ DEPENDENCIES
138
138
  coffee-rails
139
139
  generator_spec (~> 0.9.0)
140
140
  initjs!
141
- jquery-rails
142
141
  rspec-rails (~> 2.14.0)
143
142
  turbolinks
data/README.md CHANGED
@@ -298,6 +298,9 @@ rails g initjs:add [namespace]/[controllers] [action_1] [action_2] ... [action_n
298
298
 
299
299
  ## Changelog
300
300
 
301
+ ### 2.1.1
302
+ - Fix InitPartial with multiple partials.
303
+
301
304
  ### 2.1.0
302
305
  - Fix duplicated initialization with Turbolinks 2.x (It will break your app if you are using Turbolinks 1.x)
303
306
 
@@ -10,6 +10,7 @@ window.Initjs =
10
10
 
11
11
  initializePartial: ->
12
12
  $infos = @$partialInfos()
13
+ @$partialInfos().remove()
13
14
  if $infos.length > 0
14
15
  @partial = true
15
16
  @initialize($infos)
@@ -1,3 +1,3 @@
1
1
  module Initjs
2
- VERSION = "2.1.0"
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josemar Davi Luedke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails