gallery 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2dc9d2b788e341a0378558d380776b9bc24fe83
4
+ data.tar.gz: 938f716471a44ebbe5708a4edc103c273d171055
5
+ SHA512:
6
+ metadata.gz: 098c8c749f256ec5aa8cda3f7f35068bc1e3e3b34ee2951a8c49ac1a6e640ad3ccbd6f8336949fae785e80c47b1eaec8831bbfe082dff9e1e2000f937cd486fd
7
+ data.tar.gz: bed7e2f6b22521527fc5a8568b8f58e7d591fba3b3e72f3c3510c06019654053ab6fb7fea2573091c1eb98b6b0942b327bb4182d776c95bed6f830aa5eeab7f1
@@ -33,7 +33,7 @@ $.fn.extend
33
33
  # set up full screen
34
34
  @gallery.append('<span class="gallery-fullscreen"></span>')
35
35
  @gallery.on 'click', '.gallery-fullscreen', $.proxy(@requestFullScreen, this)
36
- @gallery.on 'webkitfullscreenchange mozfullscreenchange fullscreenchange', =>
36
+ $(document).on 'webkitfullscreenchange mozfullscreenchange fullscreenchange', =>
37
37
  @gallery.toggleClass 'fullscreen'
38
38
  if !@gallery.hasClass 'fullscreen'
39
39
  @gallery.height @pre_fullscreen_height
@@ -127,11 +127,9 @@ $.fn.extend
127
127
  evt.stopPropagation() if evt.stopPropagation?
128
128
 
129
129
  requestFullScreen: ->
130
-
131
130
  fullscreenEnabled = @gallery.hasClass 'fullscreen'
132
131
 
133
132
  if fullscreenEnabled
134
-
135
133
  if document.cancelFullScreen
136
134
  document.cancelFullScreen()
137
135
  else if document.mozCancelFullScreen
@@ -1,3 +1,3 @@
1
1
  module Gallery
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,142 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
5
- prerelease:
4
+ version: 0.0.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nam Chu Hoai
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-26 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 4.0.0.rc1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 4.0.0.rc1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: omniauth
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: omniauth-google-oauth2
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: omniauth-facebook
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: sass-rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: coffee-rails
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: bourbon
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: sqlite3
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ">="
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ">="
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  description: An easy gem to include a gallery to your site
@@ -146,6 +129,8 @@ executables: []
146
129
  extensions: []
147
130
  extra_rdoc_files: []
148
131
  files:
132
+ - MIT-LICENSE
133
+ - Rakefile
149
134
  - app/assets/javascripts/gallery/admin/admin.js
150
135
  - app/assets/javascripts/gallery/admin/albums.js
151
136
  - app/assets/javascripts/gallery/albums.js
@@ -191,17 +176,17 @@ files:
191
176
  - db/migrate/20130806221405_add_public_to_album.rb
192
177
  - db/migrate/20130806221438_add_public_to_photo.rb
193
178
  - db/migrate/20130807113616_add_thumbnail_to_photo.rb
179
+ - lib/gallery.rb
194
180
  - lib/gallery/engine.rb
195
181
  - lib/gallery/version.rb
196
- - lib/gallery.rb
197
182
  - lib/tasks/gallery_tasks.rake
198
- - MIT-LICENSE
199
- - Rakefile
200
183
  - test/controllers/gallery/admin/admin_controller_test.rb
201
184
  - test/controllers/gallery/admin/albums_controller_test.rb
202
185
  - test/controllers/gallery/albums_controller_test.rb
203
186
  - test/controllers/gallery/omniauth_callbacks_controller_test.rb
204
187
  - test/controllers/gallery/photos_controller_test.rb
188
+ - test/dummy/README.rdoc
189
+ - test/dummy/Rakefile
205
190
  - test/dummy/app/assets/javascripts/application.js
206
191
  - test/dummy/app/assets/stylesheets/application.css
207
192
  - test/dummy/app/controllers/application_controller.rb
@@ -210,6 +195,7 @@ files:
210
195
  - test/dummy/bin/bundle
211
196
  - test/dummy/bin/rails
212
197
  - test/dummy/bin/rake
198
+ - test/dummy/config.ru
213
199
  - test/dummy/config/application.rb
214
200
  - test/dummy/config/boot.rb
215
201
  - test/dummy/config/database.yml
@@ -226,13 +212,10 @@ files:
226
212
  - test/dummy/config/initializers/wrap_parameters.rb
227
213
  - test/dummy/config/locales/en.yml
228
214
  - test/dummy/config/routes.rb
229
- - test/dummy/config.ru
230
215
  - test/dummy/public/404.html
231
216
  - test/dummy/public/422.html
232
217
  - test/dummy/public/500.html
233
218
  - test/dummy/public/favicon.ico
234
- - test/dummy/Rakefile
235
- - test/dummy/README.rdoc
236
219
  - test/fixtures/gallery/albums.yml
237
220
  - test/fixtures/gallery/identities.yml
238
221
  - test/fixtures/gallery/photos.yml
@@ -249,27 +232,26 @@ files:
249
232
  - test/test_helper.rb
250
233
  homepage: https://www.github.com/nambrot/gallery
251
234
  licenses: []
235
+ metadata: {}
252
236
  post_install_message:
253
237
  rdoc_options: []
254
238
  require_paths:
255
239
  - lib
256
240
  required_ruby_version: !ruby/object:Gem::Requirement
257
- none: false
258
241
  requirements:
259
- - - ! '>='
242
+ - - ">="
260
243
  - !ruby/object:Gem::Version
261
244
  version: '0'
262
245
  required_rubygems_version: !ruby/object:Gem::Requirement
263
- none: false
264
246
  requirements:
265
- - - ! '>='
247
+ - - ">="
266
248
  - !ruby/object:Gem::Version
267
249
  version: '0'
268
250
  requirements: []
269
251
  rubyforge_project:
270
- rubygems_version: 1.8.25
252
+ rubygems_version: 2.2.2
271
253
  signing_key:
272
- specification_version: 3
254
+ specification_version: 4
273
255
  summary: An easy gem to include a gallery to your site
274
256
  test_files:
275
257
  - test/controllers/gallery/admin/admin_controller_test.rb