browse-everything 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWQ5N2ZhNTczZmU4ZTkyZjU4ZmI0ZDU3Y2EzMzU4N2E2MzFhZjg0OA==
4
+ M2Q4YjUyMzY0NWJmNWIzYzNlY2UxNGFjZmRjYmRkNjMxMjdhMTdiMQ==
5
5
  data.tar.gz: !binary |-
6
- OGMzZDRlZmM1YTA3NTJiOWJiZTQ4YzM4MjhiOTY3ZTJjMmFjYTgxMg==
6
+ NTIxNWQ5Yzc4ODA2ZGRkN2U1ZDU0NmVlMzlhMzdmZWNhMDFiNjkyYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmExOTFlNDI0NWJjN2VjNzc2ODYxZWM1ZDlhNWQ3NjE1ZWU4YTA3OTMyMDMw
10
- N2UyZDMxZjdkZjBmY2ZhMjJlZTg3MjU5MzMwYWJlOWRjOTQ0MzIxZDE0OGIz
11
- MmFiYzk0ZWE5NzZiZjY3ODZjNmYzOTFmOTE0NTg1NDQ3NjJjYzg=
9
+ ZjgzMWFhZDMyYWM4ZjI4ZTEwZTZmNDQ1OWY4MDZlZjEzMmVhYjRlZjVmYTIy
10
+ NWRjYzc4M2FjYzVmNTg1OTRjNzRlYTIxZTk2ZWZmZmQyMDFlYWY3OGRjMWM4
11
+ OTFlNDAwZmFlYzIzMTU2NzgxOTNjMzcxYTUyYjNkMTNiYTUyZDY=
12
12
  data.tar.gz: !binary |-
13
- Nzk2ZGY1NjBkMWYxZDNmNTA3NzI1OGJmMDY3MWFlMmEyYmRhZjY3YWFhZDM5
14
- YzM1MjY3YjAxNjM3ZjY5YTFjOGU4M2UzOWM5MjI0YmQ5NDllOTA2YmIwMGY5
15
- N2VlMGUwNjhiNWM4NThkOWFmMWMyMWI1YWNhMGMzMzc3NTllNzE=
13
+ MWY4MTU3Y2U5YTE0ZWMxMmVjMGU4MzY2YWFmM2U1NWRmMTYwNDBmZmRhZDQy
14
+ OTJlNjFiYWRkMDg0MTNmYTczOGFmMTQ0MmIxZDI0NGJlOWQzZjk2NTRkMTRh
15
+ ZmFjMzg4NjczYTExYzIyYmY3YzI5ZGI3NmExMmU5ODc3ZTdmMDQ=
data/HISTORY.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.4.3 (2014-05-07)
2
+ - More robust Turbolinks/non-Turbolinks initialization support
3
+
1
4
  ### 0.4.2 (2014-04-25)
2
5
  - Fixed TurboLinks-related initialization bugs
3
6
  - Added TurboLinks testing options to internal test app
@@ -1,7 +1,3 @@
1
- $(document).on 'page:change', ->
2
- triggers = $('*[data-toggle=browse-everything]')
3
- triggers.each () -> $(this).browseEverything($(this).data())
4
-
5
1
  $ ->
6
2
  dialog = $('div#browse-everything')
7
3
 
@@ -108,3 +104,12 @@ $ ->
108
104
  else
109
105
  window.setTimeout check_func, 1000
110
106
  check_func()
107
+
108
+ auto_toggle = ->
109
+ triggers = $('*[data-toggle=browse-everything]')
110
+ triggers.each () -> $(this).browseEverything($(this).data())
111
+
112
+ if Turbolinks?
113
+ $(document).on 'page:change', auto_toggle
114
+ else
115
+ $(document).ready auto_toggle
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "bootstrap-sass"
28
28
  spec.add_dependency "font-awesome-rails"
29
29
  spec.add_dependency "google-api-client"
30
- spec.add_development_dependency "rspec"
30
+ spec.add_development_dependency "rspec", "~> 2.0"
31
31
  spec.add_development_dependency "rspec-rails"
32
32
  spec.add_development_dependency "simplecov"
33
33
  spec.add_development_dependency "bundler", "~> 1.3"
@@ -1,3 +1,3 @@
1
1
  module BrowseEverything
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: browse-everything
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carolyn Cole
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-04-25 00:00:00.000000000 Z
16
+ date: 2014-05-07 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -145,16 +145,16 @@ dependencies:
145
145
  name: rspec
146
146
  requirement: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - ! '>='
148
+ - - ~>
149
149
  - !ruby/object:Gem::Version
150
- version: '0'
150
+ version: '2.0'
151
151
  type: :development
152
152
  prerelease: false
153
153
  version_requirements: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ! '>='
155
+ - - ~>
156
156
  - !ruby/object:Gem::Version
157
- version: '0'
157
+ version: '2.0'
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: rspec-rails
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -398,4 +398,3 @@ test_files:
398
398
  - spec/unit/file_entry_spec.rb
399
399
  - spec/unit/file_system_spec.rb
400
400
  - spec/unit/sky_drive_spec.rb
401
- has_rdoc: