push_type_admin 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/push_type/icons-assets.svg +94 -0
- data/app/assets/stylesheets/push_type/admin.scss +36 -13
- data/app/assets/stylesheets/push_type/foundation_and_overrides.scss +1 -1
- data/app/helpers/push_type/assets_helper.rb +1 -1
- data/app/helpers/push_type/nodes_helper.rb +4 -0
- data/app/views/layouts/push_type/admin.html.erb +1 -1
- data/app/views/layouts/push_type/email.html.erb +238 -0
- data/app/views/push_type/nodes/index.html.haml +8 -8
- data/app/views/push_type/nodes/trash.html.haml +1 -1
- data/lib/push_type/admin.rb +1 -0
- data/test/dummy/config/initializers/push_type.rb +4 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150222152455_create_push_type_users.push_type.rb → 20150310192202_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150222152456_create_push_type_nodes.push_type.rb → 20150310192203_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150222152457_create_push_type_node_hierarchies.push_type.rb → 20150310192204_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150222152458_create_push_type_assets.push_type.rb → 20150310192205_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +2980 -2980
- data/test/dummy/tmp/cache/assets/test/sass/0bf981301b6f8cfa0a13d38a3554eafaa08d4bc1/foundation.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin_assets.scss.erbc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/foundation_and_overrides.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/tagsinput.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_alert-boxes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_block-grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_clearing.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_flex-video.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_global.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_icon-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_inline-lists.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_joyride.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_keystrokes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_magellan.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_offcanvas.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_orbit.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_pricing-tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_range-slider.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_reveal.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_side-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_split-buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_sub-nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_switches.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tabs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_thumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tooltips.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_top-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/9ffd013d383870261f2263c294cb3119536e8d59/_functions.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/d416499186bc6a8ba276a69cc9d9fffa030e66bc/foundation-icons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0e01ae9de0f3914c8317853aedd9ace4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/7879ec7699a19e017377e1b57702e3e5 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8d531fdb806de0724337e0b80e253914 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/91e13d81afe9041372ad8f79ee9159f4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a9b8decaa2942e8913458c9f35da2693 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/aaf7959dea629271d23756ab876bc035 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c206fbd33f49ab785c6ddf4bcffd3b93 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/df90022afc0d52f16bc498be20a5967d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/edaf2543a96ee921c30a071b3a73036f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/edd24c59de6c00e4e68dbbdf2775984a +0 -0
- data/test/helpers/push_type/assets_helper_test.rb +4 -4
- metadata +28 -15
- data/app/assets/images/push_type/icon-file-audio.png +0 -0
- data/app/assets/images/push_type/icon-file-document.png +0 -0
- data/app/assets/images/push_type/icon-file-video.png +0 -0
data/test/dummy/tmp/cache/assets/test/sass/0bf981301b6f8cfa0a13d38a3554eafaa08d4bc1/foundation.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/admin.scssc
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/2df752541ff0a319141a1cb83ca971d2ffd2d050/tagsinput.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_accordion.scssc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_buttons.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_clearing.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_dropdown.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_forms.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_global.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_grid.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_icon-bar.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_joyride.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_labels.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_magellan.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_offcanvas.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_orbit.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_panels.scssc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_reveal.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_side-nav.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_sub-nav.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_switches.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tables.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tabs.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_thumbs.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_tooltips.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_top-bar.scssc
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9df51eb4a9ff930ccfaadb724cc88e9267641d13/_type.scssc
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/test/sass/9ffd013d383870261f2263c294cb3119536e8d59/_functions.scssc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -36,19 +36,19 @@ module PushType
|
|
36
36
|
describe '#asset_icon' do
|
37
37
|
describe 'with image asset' do
|
38
38
|
let(:asset) { FactoryGirl.create :image_asset }
|
39
|
-
it { asset_icon(asset).must_equal 'push_type/
|
39
|
+
it { asset_icon(asset).must_equal 'push_type/icons-assets.svg#image'}
|
40
40
|
end
|
41
41
|
describe 'with audio asset' do
|
42
42
|
let(:asset) { FactoryGirl.create :audio_asset }
|
43
|
-
it { asset_icon(asset).must_equal 'push_type/
|
43
|
+
it { asset_icon(asset).must_equal 'push_type/icons-assets.svg#audio'}
|
44
44
|
end
|
45
45
|
describe 'with video asset' do
|
46
46
|
let(:asset) { FactoryGirl.create :video_asset }
|
47
|
-
it { asset_icon(asset).must_equal 'push_type/
|
47
|
+
it { asset_icon(asset).must_equal 'push_type/icons-assets.svg#video'}
|
48
48
|
end
|
49
49
|
describe 'with document asset' do
|
50
50
|
let(:asset) { FactoryGirl.create :document_asset }
|
51
|
-
it { asset_icon(asset).must_equal 'push_type/
|
51
|
+
it { asset_icon(asset).must_equal 'push_type/icons-assets.svg#pdf'}
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: push_type_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Russell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: push_type_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.3.
|
19
|
+
version: 0.3.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.3.
|
26
|
+
version: 0.3.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: haml-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.16.2
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: premailer-rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.8.0
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.8.0
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: minitest-rails
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,9 +215,7 @@ extra_rdoc_files: []
|
|
201
215
|
files:
|
202
216
|
- LICENSE.md
|
203
217
|
- README.md
|
204
|
-
- app/assets/images/push_type/
|
205
|
-
- app/assets/images/push_type/icon-file-document.png
|
206
|
-
- app/assets/images/push_type/icon-file-video.png
|
218
|
+
- app/assets/images/push_type/icons-assets.svg
|
207
219
|
- app/assets/javascripts/push_type/admin.js.coffee
|
208
220
|
- app/assets/javascripts/push_type/admin_assets.js.coffee.erb
|
209
221
|
- app/assets/javascripts/push_type/assets.js.coffee
|
@@ -228,6 +240,7 @@ files:
|
|
228
240
|
- app/views/kaminari/_paginator.html.haml
|
229
241
|
- app/views/kaminari/_prev_page.html.haml
|
230
242
|
- app/views/layouts/push_type/admin.html.erb
|
243
|
+
- app/views/layouts/push_type/email.html.erb
|
231
244
|
- app/views/push_type/admin/info.html.haml
|
232
245
|
- app/views/push_type/assets/_form.html.haml
|
233
246
|
- app/views/push_type/assets/_form_submit.html.haml
|
@@ -297,10 +310,10 @@ files:
|
|
297
310
|
- test/dummy/config/locales/en.yml
|
298
311
|
- test/dummy/config/routes.rb
|
299
312
|
- test/dummy/config/secrets.yml
|
300
|
-
- test/dummy/db/migrate/
|
301
|
-
- test/dummy/db/migrate/
|
302
|
-
- test/dummy/db/migrate/
|
303
|
-
- test/dummy/db/migrate/
|
313
|
+
- test/dummy/db/migrate/20150310192202_create_push_type_users.push_type.rb
|
314
|
+
- test/dummy/db/migrate/20150310192203_create_push_type_nodes.push_type.rb
|
315
|
+
- test/dummy/db/migrate/20150310192204_create_push_type_node_hierarchies.push_type.rb
|
316
|
+
- test/dummy/db/migrate/20150310192205_create_push_type_assets.push_type.rb
|
304
317
|
- test/dummy/db/schema.rb
|
305
318
|
- test/dummy/db/seeds.rb
|
306
319
|
- test/dummy/log/test.log
|
@@ -515,10 +528,10 @@ test_files:
|
|
515
528
|
- test/dummy/config/routes.rb
|
516
529
|
- test/dummy/config/secrets.yml
|
517
530
|
- test/dummy/config.ru
|
518
|
-
- test/dummy/db/migrate/
|
519
|
-
- test/dummy/db/migrate/
|
520
|
-
- test/dummy/db/migrate/
|
521
|
-
- test/dummy/db/migrate/
|
531
|
+
- test/dummy/db/migrate/20150310192202_create_push_type_users.push_type.rb
|
532
|
+
- test/dummy/db/migrate/20150310192203_create_push_type_nodes.push_type.rb
|
533
|
+
- test/dummy/db/migrate/20150310192204_create_push_type_node_hierarchies.push_type.rb
|
534
|
+
- test/dummy/db/migrate/20150310192205_create_push_type_assets.push_type.rb
|
522
535
|
- test/dummy/db/schema.rb
|
523
536
|
- test/dummy/db/seeds.rb
|
524
537
|
- test/dummy/log/test.log
|
Binary file
|
Binary file
|
Binary file
|