swipebox 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bfa76d1aeec1033c0e8878582dbe9857045c3de
4
- data.tar.gz: bb2900de052fa2155ca996cc69269cd089929dce
3
+ metadata.gz: 2551dbb25ebe16652eb230bd10625d246da5cae3
4
+ data.tar.gz: 2f632583d51db9e44b6b654f6ee2f2d89a06e6ed
5
5
  SHA512:
6
- metadata.gz: 4423988df489417585a3b0882fb2aaccba935afc5844a0a2a920b4dbfa902140baa89a65c13e62a4e380e1ecb4ccb7df61b5ad1c2ec869cb7c933bad698ea508
7
- data.tar.gz: d495c4a594174c4ac4e5c61cdddbf71ce55f4c4bcd3f6719c8faebd9d82e2af5ab38c7d243dc584332f4357761d30f7297c8bf536a5f3713c6bf1d529f8100ce
6
+ metadata.gz: e422b7d0504819ee7383ba415e1da22f1766ab1f762135b54e5f22864d0648dd48aa42d440e923d78092eb3859e4867f5b94988dfeda9f77fc6e4bc9159325ee
7
+ data.tar.gz: 8111b0d3cb2b6ff523f4a3085900dd7fe7f9085bd3df07134ae0d85e30d6bbe3ea43269391a0eb8abb8f0ec0f63d5d77edd1adb9cd75185059304d8b9edb32d5
@@ -1,3 +1,3 @@
1
1
  module Swipebox
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/swipebox.rb CHANGED
@@ -1,4 +1,7 @@
1
1
  module Swipebox
2
2
  class Engine < ::Rails::Engine
3
+ initializer 'swipebox.assets.precompile' do |app|
4
+ app.config.assets.precompile << %r(swipebox-[\w]+\.(?:png|svg|gif)$)
5
+ end
3
6
  end
4
7
  end
@@ -48,3 +48,15 @@ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-22 11:04:26 +0200
48
48
  Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-22 11:05:25 +0200
49
49
  Started GET "/assets/swipebox.js" for 127.0.0.1 at 2013-10-22 11:05:25 +0200
50
50
  Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-22 11:05:25 +0200
51
+ Started GET "/assets/swipebox.js" for 127.0.0.1 at 2013-10-22 11:08:01 +0200
52
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-22 11:08:01 +0200
53
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-22 11:08:01 +0200
54
+ Started GET "/assets/swipebox.js" for 127.0.0.1 at 2013-10-28 18:54:19 +0100
55
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:54:19 +0100
56
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:54:19 +0100
57
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:54:49 +0100
58
+ Started GET "/assets/swipebox.js" for 127.0.0.1 at 2013-10-28 18:54:49 +0100
59
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:54:49 +0100
60
+ Started GET "/assets/swipebox.js" for 127.0.0.1 at 2013-10-28 18:55:18 +0100
61
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:55:18 +0100
62
+ Started GET "/assets/swipebox.css" for 127.0.0.1 at 2013-10-28 18:55:18 +0100
@@ -13,8 +13,8 @@ describe "swipebox integration" do
13
13
 
14
14
  it "includes images from assets in the compiled css" do
15
15
  visit '/assets/swipebox.css'
16
- page.text.must_include '/assets/icons.svg'
17
- page.text.must_include '/assets/icons.png'
18
- page.text.must_include '/assets/loader.gif'
16
+ page.text.must_include '/assets/swipebox-icons.svg'
17
+ page.text.must_include '/assets/swipebox-icons.png'
18
+ page.text.must_include '/assets/swipebox-loader.gif'
19
19
  end
20
20
  end
@@ -30,7 +30,7 @@ html.swipebox {
30
30
  }
31
31
 
32
32
  #swipebox-slider .slide {
33
- background: asset-url('loader.gif') no-repeat center center;
33
+ background: asset-url('swipebox-loader.gif') no-repeat center center;
34
34
  height: 100%;
35
35
  width: 100%;
36
36
  line-height: 1px;
@@ -118,7 +118,7 @@ html.swipebox {
118
118
  #swipebox-action #swipebox-prev,
119
119
  #swipebox-action #swipebox-next,
120
120
  #swipebox-action #swipebox-close {
121
- background-image: asset-url('icons.png');
121
+ background-image: asset-url('swipebox-icons.png');
122
122
  background-repeat: no-repeat;
123
123
  border: none!important;
124
124
  text-decoration: none!important;
@@ -128,7 +128,7 @@ html.swipebox {
128
128
  height: 50px;
129
129
  top: 0;
130
130
  &.svg {
131
- background-image: asset-url('icons.svg');
131
+ background-image: asset-url('swipebox-icons.svg');
132
132
  }
133
133
  }
134
134
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swipebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miha Rekar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-22 00:00:00.000000000 Z
11
+ date: 2013-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -87,9 +87,9 @@ extra_rdoc_files: []
87
87
  files:
88
88
  - lib/swipebox/version.rb
89
89
  - lib/swipebox.rb
90
- - vendor/assets/images/icons.png
91
- - vendor/assets/images/icons.svg
92
- - vendor/assets/images/loader.gif
90
+ - vendor/assets/images/swipebox-icons.png
91
+ - vendor/assets/images/swipebox-icons.svg
92
+ - vendor/assets/images/swipebox-loader.gif
93
93
  - vendor/assets/javascripts/swipebox.js
94
94
  - vendor/assets/stylesheets/swipebox.css.scss
95
95
  - MIT-LICENSE
@@ -139,15 +139,21 @@ files:
139
139
  - test/dummy/tmp/cache/assets/test/sprockets/0f1d51342ac8ff8f51fe8661bffccff4
140
140
  - test/dummy/tmp/cache/assets/test/sprockets/2417663820f12194df84f901aeddf205
141
141
  - test/dummy/tmp/cache/assets/test/sprockets/299e5c3e6fe902ee2248d4f551e2a736
142
+ - test/dummy/tmp/cache/assets/test/sprockets/2d27104a6b2153e05b2475dd0ab3ec77
142
143
  - test/dummy/tmp/cache/assets/test/sprockets/39a4691fbee5b5d7a15a61d39e8298c9
144
+ - test/dummy/tmp/cache/assets/test/sprockets/4f1e7de5e274edb0299126f2903969f0
143
145
  - test/dummy/tmp/cache/assets/test/sprockets/52844af88f25171d8b2bd9b3841fc531
146
+ - test/dummy/tmp/cache/assets/test/sprockets/556916ec527010707833ceeb7f3c04f4
147
+ - test/dummy/tmp/cache/assets/test/sprockets/56e10a99c9cb1099b3bba550c304510e
144
148
  - test/dummy/tmp/cache/assets/test/sprockets/58b5fb0ecf84f52f0afa100b0b4c8cba
149
+ - test/dummy/tmp/cache/assets/test/sprockets/5ef9b0cd9731bc93b50f72a671e604c0
145
150
  - test/dummy/tmp/cache/assets/test/sprockets/60bdda9adeb105627bebe3a083e0e6f9
146
151
  - test/dummy/tmp/cache/assets/test/sprockets/7cad4e0f6c155aee86ff849175d87485
147
152
  - test/dummy/tmp/cache/assets/test/sprockets/9540837ee939a819ff3def6208986d2b
148
153
  - test/dummy/tmp/cache/assets/test/sprockets/ad7154cc55f39a227d2bc6415f58932d
149
154
  - test/dummy/tmp/cache/assets/test/sprockets/b76f694c0efb9b770a71012f8113728b
150
155
  - test/dummy/tmp/cache/assets/test/sprockets/bb9dec5421199706d294d48f86f003d8
156
+ - test/dummy/tmp/cache/assets/test/sprockets/beb2f84cd51827292ad2888716099203
151
157
  - test/dummy/tmp/cache/assets/test/sprockets/c8a722e046ca0658031e47b6a3f6b80a
152
158
  - test/dummy/tmp/cache/assets/test/sprockets/e49d90ad8c6a6ec12d0f897fe441722f
153
159
  - test/dummy/tmp/cache/assets/test/sprockets/f8832e909e8abc5a5f26e98546d2f7ca
@@ -172,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
178
  version: '0'
173
179
  requirements: []
174
180
  rubyforge_project:
175
- rubygems_version: 2.1.9
181
+ rubygems_version: 2.1.4
176
182
  signing_key:
177
183
  specification_version: 4
178
184
  summary: Wrapper for Swipebox by @brutaldesign
@@ -222,15 +228,21 @@ test_files:
222
228
  - test/dummy/tmp/cache/assets/test/sprockets/0f1d51342ac8ff8f51fe8661bffccff4
223
229
  - test/dummy/tmp/cache/assets/test/sprockets/2417663820f12194df84f901aeddf205
224
230
  - test/dummy/tmp/cache/assets/test/sprockets/299e5c3e6fe902ee2248d4f551e2a736
231
+ - test/dummy/tmp/cache/assets/test/sprockets/2d27104a6b2153e05b2475dd0ab3ec77
225
232
  - test/dummy/tmp/cache/assets/test/sprockets/39a4691fbee5b5d7a15a61d39e8298c9
233
+ - test/dummy/tmp/cache/assets/test/sprockets/4f1e7de5e274edb0299126f2903969f0
226
234
  - test/dummy/tmp/cache/assets/test/sprockets/52844af88f25171d8b2bd9b3841fc531
235
+ - test/dummy/tmp/cache/assets/test/sprockets/556916ec527010707833ceeb7f3c04f4
236
+ - test/dummy/tmp/cache/assets/test/sprockets/56e10a99c9cb1099b3bba550c304510e
227
237
  - test/dummy/tmp/cache/assets/test/sprockets/58b5fb0ecf84f52f0afa100b0b4c8cba
238
+ - test/dummy/tmp/cache/assets/test/sprockets/5ef9b0cd9731bc93b50f72a671e604c0
228
239
  - test/dummy/tmp/cache/assets/test/sprockets/60bdda9adeb105627bebe3a083e0e6f9
229
240
  - test/dummy/tmp/cache/assets/test/sprockets/7cad4e0f6c155aee86ff849175d87485
230
241
  - test/dummy/tmp/cache/assets/test/sprockets/9540837ee939a819ff3def6208986d2b
231
242
  - test/dummy/tmp/cache/assets/test/sprockets/ad7154cc55f39a227d2bc6415f58932d
232
243
  - test/dummy/tmp/cache/assets/test/sprockets/b76f694c0efb9b770a71012f8113728b
233
244
  - test/dummy/tmp/cache/assets/test/sprockets/bb9dec5421199706d294d48f86f003d8
245
+ - test/dummy/tmp/cache/assets/test/sprockets/beb2f84cd51827292ad2888716099203
234
246
  - test/dummy/tmp/cache/assets/test/sprockets/c8a722e046ca0658031e47b6a3f6b80a
235
247
  - test/dummy/tmp/cache/assets/test/sprockets/e49d90ad8c6a6ec12d0f897fe441722f
236
248
  - test/dummy/tmp/cache/assets/test/sprockets/f8832e909e8abc5a5f26e98546d2f7ca