locomotive_cms 0.0.2.7 → 0.0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +29 -27
- data/LICENSE +21 -0
- data/README.textile +23 -3
- data/app/controllers/admin/theme_assets_controller.rb +1 -0
- data/app/helpers/admin/base_helper.rb +1 -1
- data/app/helpers/admin/custom_fields_helper.rb +1 -1
- data/app/models/content_type.rb +1 -1
- data/app/models/extensions/page/tree.rb +3 -3
- data/app/models/layout.rb +2 -3
- data/app/models/theme_asset.rb +2 -2
- data/app/uploaders/asset_uploader.rb +2 -0
- data/app/uploaders/theme_asset_uploader.rb +1 -1
- data/app/views/admin/custom_fields/_custom_form.html.haml +14 -1
- data/app/views/admin/mailer/confirmation_instructions.html.haml +8 -0
- data/app/views/admin/mailer/reset_password_instructions.html.haml +12 -0
- data/app/views/admin/mailer/unlock_instructions.html.haml +10 -0
- data/app/views/admin/shared/_footer.html.haml +2 -5
- data/app/views/admin/shared/_head.html.haml +2 -2
- data/app/views/admin/theme_assets/_form.html.haml +2 -2
- data/app/views/admin/theme_assets/index.html.haml +9 -0
- data/config/initializers/devise.rb +1 -1
- data/config/locales/admin_ui_en.yml +7 -2
- data/config/locales/admin_ui_fr.yml +348 -0
- data/config/locales/default_en.yml +4 -0
- data/config/locales/default_fr.yml +172 -1
- data/config/locales/devise.en.yml +47 -21
- data/config/locales/devise.fr.yml +67 -0
- data/lib/locomotive.rb +3 -0
- data/lib/locomotive/carrierwave.rb +3 -0
- data/lib/locomotive/carrierwave/base.rb +15 -0
- data/{config/initializers/carrierwave.rb → lib/locomotive/carrierwave/patches.rb} +0 -1
- data/lib/locomotive/custom_fields.rb +18 -0
- data/lib/locomotive/engine.rb +1 -0
- data/lib/locomotive/httparty.rb +2 -0
- data/lib/locomotive/httparty/patches.rb +18 -0
- data/lib/locomotive/httparty/webservice.rb +24 -0
- data/lib/locomotive/liquid/drops/content.rb +3 -1
- data/lib/locomotive/liquid/filters/text.rb +16 -0
- data/lib/locomotive/liquid/tags/consume.rb +46 -0
- data/lib/locomotive/liquid/tags/nav.rb +60 -0
- data/lib/locomotive/liquid/tags/paginate.rb +2 -2
- data/lib/locomotive/liquid/tags/snippet.rb +2 -7
- data/lib/locomotive/mongoid.rb +2 -1
- data/{config/initializers/mongoid.rb → lib/locomotive/mongoid/patches.rb} +24 -0
- data/lib/locomotive/regexps.rb +1 -1
- data/public/images/admin/nocoffee.png +0 -0
- data/public/javascripts/admin/contents.js +3 -0
- data/public/javascripts/admin/locales/datepicker_fr.js +18 -0
- data/public/javascripts/admin/theme_assets.js +1 -1
- data/public/stylesheets/admin/formtastic_changes.css +14 -4
- data/public/stylesheets/admin/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-icons_454545_256x240.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/admin/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/admin/jquery/ui.css +406 -0
- data/public/stylesheets/admin/layout.css +13 -9
- data/spec/factories.rb +1 -1
- data/spec/lib/locomotive/httparty/patches_spec.rb +19 -0
- data/spec/lib/locomotive/httparty/webservice_spec.rb +24 -0
- data/spec/lib/locomotive/liquid/filters/text_spec.rb +11 -0
- data/spec/lib/locomotive/liquid/tags/consume_spec.rb +40 -0
- data/spec/lib/locomotive/liquid/tags/nav_spec.rb +41 -0
- data/spec/models/asset_collections_spec.rb +5 -2
- data/spec/models/layout_spec.rb +2 -2
- data/spec/models/page_spec.rb +1 -1
- data/vendor/plugins/custom_fields/Gemfile +6 -5
- data/vendor/plugins/custom_fields/lib/custom_fields.rb +3 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/field.rb +4 -2
- data/vendor/plugins/custom_fields/lib/custom_fields/types/category.rb +1 -1
- data/vendor/plugins/custom_fields/lib/custom_fields/types/date.rb +35 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/types/default.rb +2 -2
- data/vendor/plugins/custom_fields/lib/custom_fields/types/file.rb +27 -0
- data/vendor/plugins/custom_fields/spec/fixtures/doc.txt +1 -0
- data/vendor/plugins/custom_fields/spec/integration/types/file_spec.rb +18 -0
- data/vendor/plugins/custom_fields/spec/spec_helper.rb +4 -8
- data/vendor/plugins/custom_fields/spec/support/carrierwave.rb +31 -0
- data/vendor/plugins/custom_fields/spec/support/mongoid.rb +6 -0
- data/vendor/plugins/custom_fields/spec/unit/types/date_spec.rb +59 -0
- data/vendor/plugins/custom_fields/spec/unit/types/file_spec.rb +23 -0
- metadata +82 -14
- data/app/views/devise/mailer/confirmation_instructions.html.haml +0 -8
- data/app/views/devise/mailer/reset_password_instructions.html.haml +0 -12
- data/app/views/devise/mailer/unlock_instructions.html.haml +0 -10
- data/lib/locomotive/patches.rb +0 -1
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe CustomFields::Types::Date do
|
4
|
+
|
5
|
+
context 'on field class' do
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
@field = CustomFields::Field.new
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'returns true if it is a Date' do
|
12
|
+
@field.kind = 'Date'
|
13
|
+
@field.date?.should be_true
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'returns false if it is not a Date' do
|
17
|
+
@field.kind = 'string'
|
18
|
+
@field.date?.should be_false
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
context 'on target class' do
|
24
|
+
|
25
|
+
before(:each) do
|
26
|
+
@project = build_project_with_date
|
27
|
+
@date = Date.parse('2010-06-29')
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'sets value from a date' do
|
31
|
+
@project.started_at = @date
|
32
|
+
@project.started_at.should == '2010-06-29'
|
33
|
+
@project.field_1.class.should == Date
|
34
|
+
@project.field_1.should == @date
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'sets value from a string' do
|
38
|
+
@project.started_at = '2010-06-29'
|
39
|
+
@project.started_at.class.should == String
|
40
|
+
@project.started_at.should == '2010-06-29'
|
41
|
+
@project.field_1.class.should == Date
|
42
|
+
@project.field_1.should == @date
|
43
|
+
end
|
44
|
+
|
45
|
+
it 'sets nil value' do
|
46
|
+
@project.started_at = nil
|
47
|
+
@project.started_at.should be_nil
|
48
|
+
@project.field_1.should be_nil
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
def build_project_with_date
|
54
|
+
field = CustomFields::Field.new(:label => 'Started at', :_name => 'field_1', :kind => 'Date')
|
55
|
+
field.stubs(:valid?).returns(true)
|
56
|
+
Project.to_klass_with_custom_fields(field).new
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe CustomFields::Types::Date do
|
4
|
+
|
5
|
+
context 'on field class' do
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
@field = CustomFields::Field.new
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'returns true if it is a Date' do
|
12
|
+
@field.kind = 'File'
|
13
|
+
@field.file?.should be_true
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'returns false if it is not a Date' do
|
17
|
+
@field.kind = 'string'
|
18
|
+
@field.file?.should be_false
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.0.2.
|
9
|
+
- 8
|
10
|
+
version: 0.0.2.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Didier Lafforgue
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-06
|
18
|
+
date: 2010-07-06 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -38,11 +38,13 @@ dependencies:
|
|
38
38
|
name: liquid
|
39
39
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - "="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
segments:
|
44
|
+
- 2
|
44
45
|
- 0
|
45
|
-
|
46
|
+
- 0
|
47
|
+
version: 2.0.0
|
46
48
|
requirement: *id002
|
47
49
|
prerelease: false
|
48
50
|
- !ruby/object:Gem::Dependency
|
@@ -91,13 +93,13 @@ dependencies:
|
|
91
93
|
name: mongoid_acts_as_tree
|
92
94
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
93
95
|
requirements:
|
94
|
-
- - "
|
96
|
+
- - "="
|
95
97
|
- !ruby/object:Gem::Version
|
96
98
|
segments:
|
97
99
|
- 0
|
98
100
|
- 1
|
99
|
-
-
|
100
|
-
version: 0.1.
|
101
|
+
- 5
|
102
|
+
version: 0.1.5
|
101
103
|
requirement: *id006
|
102
104
|
prerelease: false
|
103
105
|
- !ruby/object:Gem::Dependency
|
@@ -253,6 +255,32 @@ dependencies:
|
|
253
255
|
version: "0"
|
254
256
|
requirement: *id018
|
255
257
|
prerelease: false
|
258
|
+
- !ruby/object:Gem::Dependency
|
259
|
+
type: :runtime
|
260
|
+
name: httparty
|
261
|
+
version_requirements: &id019 !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - "="
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
segments:
|
266
|
+
- 0
|
267
|
+
- 6
|
268
|
+
- 0
|
269
|
+
version: 0.6.0
|
270
|
+
requirement: *id019
|
271
|
+
prerelease: false
|
272
|
+
- !ruby/object:Gem::Dependency
|
273
|
+
type: :runtime
|
274
|
+
name: RedCloth
|
275
|
+
version_requirements: &id020 !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - ">="
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
segments:
|
280
|
+
- 0
|
281
|
+
version: "0"
|
282
|
+
requirement: *id020
|
283
|
+
prerelease: false
|
256
284
|
description: a brand new CMS system with super sexy UI and cool features (alpha version for now)
|
257
285
|
email:
|
258
286
|
- didier@nocoffee.fr
|
@@ -261,6 +289,7 @@ executables: []
|
|
261
289
|
extensions: []
|
262
290
|
|
263
291
|
extra_rdoc_files:
|
292
|
+
- LICENSE
|
264
293
|
- README.textile
|
265
294
|
files:
|
266
295
|
- Gemfile
|
@@ -339,6 +368,9 @@ files:
|
|
339
368
|
- app/views/admin/layouts/edit.html.haml
|
340
369
|
- app/views/admin/layouts/index.html.haml
|
341
370
|
- app/views/admin/layouts/new.html.haml
|
371
|
+
- app/views/admin/mailer/confirmation_instructions.html.haml
|
372
|
+
- app/views/admin/mailer/reset_password_instructions.html.haml
|
373
|
+
- app/views/admin/mailer/unlock_instructions.html.haml
|
342
374
|
- app/views/admin/memberships/new.html.haml
|
343
375
|
- app/views/admin/my_accounts/edit.html.haml
|
344
376
|
- app/views/admin/pages/_form.html.haml
|
@@ -370,9 +402,6 @@ files:
|
|
370
402
|
- app/views/admin/theme_assets/images.html.haml
|
371
403
|
- app/views/admin/theme_assets/index.html.haml
|
372
404
|
- app/views/admin/theme_assets/new.html.haml
|
373
|
-
- app/views/devise/mailer/confirmation_instructions.html.haml
|
374
|
-
- app/views/devise/mailer/reset_password_instructions.html.haml
|
375
|
-
- app/views/devise/mailer/unlock_instructions.html.haml
|
376
405
|
- app/views/home/show.html.haml
|
377
406
|
- app/views/layouts/admin/application.html.haml
|
378
407
|
- app/views/layouts/admin/login.html.haml
|
@@ -385,13 +414,11 @@ files:
|
|
385
414
|
- config/environments/production.rb
|
386
415
|
- config/environments/test.rb
|
387
416
|
- config/initializers/backtrace_silencers.rb
|
388
|
-
- config/initializers/carrierwave.rb
|
389
417
|
- config/initializers/devise.rb
|
390
418
|
- config/initializers/formtastic.rb
|
391
419
|
- config/initializers/inflections.rb
|
392
420
|
- config/initializers/locomotive.rb
|
393
421
|
- config/initializers/mime_types.rb
|
394
|
-
- config/initializers/mongoid.rb
|
395
422
|
- config/initializers/rspec_generator.rb
|
396
423
|
- config/initializers/secret_token.rb
|
397
424
|
- config/locales/admin_ui_en.yml
|
@@ -401,6 +428,7 @@ files:
|
|
401
428
|
- config/locales/default_en.yml
|
402
429
|
- config/locales/default_fr.yml
|
403
430
|
- config/locales/devise.en.yml
|
431
|
+
- config/locales/devise.fr.yml
|
404
432
|
- config/mongoid.yml
|
405
433
|
- config/routes.rb
|
406
434
|
- lib/core_ext.rb
|
@@ -408,10 +436,17 @@ files:
|
|
408
436
|
- lib/generators/locomotive/install/install_generator.rb
|
409
437
|
- lib/generators/locomotive/install/templates/locomotive.rb
|
410
438
|
- lib/locomotive.rb
|
439
|
+
- lib/locomotive/carrierwave.rb
|
440
|
+
- lib/locomotive/carrierwave/base.rb
|
441
|
+
- lib/locomotive/carrierwave/patches.rb
|
411
442
|
- lib/locomotive/configuration.rb
|
443
|
+
- lib/locomotive/custom_fields.rb
|
412
444
|
- lib/locomotive/engine.rb
|
413
445
|
- lib/locomotive/heroku.rb
|
414
446
|
- lib/locomotive/heroku/custom_domain.rb
|
447
|
+
- lib/locomotive/httparty.rb
|
448
|
+
- lib/locomotive/httparty/patches.rb
|
449
|
+
- lib/locomotive/httparty/webservice.rb
|
415
450
|
- lib/locomotive/liquid.rb
|
416
451
|
- lib/locomotive/liquid/db_file_system.rb
|
417
452
|
- lib/locomotive/liquid/drops/asset_collections.rb
|
@@ -424,9 +459,12 @@ files:
|
|
424
459
|
- lib/locomotive/liquid/filters/date.rb
|
425
460
|
- lib/locomotive/liquid/filters/html.rb
|
426
461
|
- lib/locomotive/liquid/filters/misc.rb
|
462
|
+
- lib/locomotive/liquid/filters/text.rb
|
427
463
|
- lib/locomotive/liquid/liquify_template.rb
|
428
464
|
- lib/locomotive/liquid/tags/blueprint.rb
|
465
|
+
- lib/locomotive/liquid/tags/consume.rb
|
429
466
|
- lib/locomotive/liquid/tags/jquery.rb
|
467
|
+
- lib/locomotive/liquid/tags/nav.rb
|
430
468
|
- lib/locomotive/liquid/tags/paginate.rb
|
431
469
|
- lib/locomotive/liquid/tags/snippet.rb
|
432
470
|
- lib/locomotive/liquid/tags/with_scope.rb
|
@@ -434,7 +472,7 @@ files:
|
|
434
472
|
- lib/locomotive/mongoid.rb
|
435
473
|
- lib/locomotive/mongoid/document.rb
|
436
474
|
- lib/locomotive/mongoid/model_extensions.rb
|
437
|
-
- lib/locomotive/patches.rb
|
475
|
+
- lib/locomotive/mongoid/patches.rb
|
438
476
|
- lib/locomotive/regexps.rb
|
439
477
|
- lib/locomotive/render.rb
|
440
478
|
- lib/locomotive/routing/default_constraint.rb
|
@@ -725,6 +763,7 @@ files:
|
|
725
763
|
- public/images/admin/menu/top-left.png
|
726
764
|
- public/images/admin/menu/top.png
|
727
765
|
- public/images/admin/nocoffee.gif
|
766
|
+
- public/images/admin/nocoffee.png
|
728
767
|
- public/images/admin/plugins/fancybox/blank.gif
|
729
768
|
- public/images/admin/plugins/fancybox/fancy_close.png
|
730
769
|
- public/images/admin/plugins/fancybox/fancy_loading.png
|
@@ -759,6 +798,7 @@ files:
|
|
759
798
|
- public/javascripts/admin/custom_fields/category.js
|
760
799
|
- public/javascripts/admin/jquery.js
|
761
800
|
- public/javascripts/admin/jquery.ui.js
|
801
|
+
- public/javascripts/admin/locales/datepicker_fr.js
|
762
802
|
- public/javascripts/admin/page_parts.js
|
763
803
|
- public/javascripts/admin/pages.js
|
764
804
|
- public/javascripts/admin/plugins/codemirror/codemirror.js
|
@@ -1073,6 +1113,20 @@ files:
|
|
1073
1113
|
- public/stylesheets/admin/buttons.css
|
1074
1114
|
- public/stylesheets/admin/formtastic.css
|
1075
1115
|
- public/stylesheets/admin/formtastic_changes.css
|
1116
|
+
- public/stylesheets/admin/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
|
1117
|
+
- public/stylesheets/admin/jquery/images/ui-bg_flat_75_ffffff_40x100.png
|
1118
|
+
- public/stylesheets/admin/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
|
1119
|
+
- public/stylesheets/admin/jquery/images/ui-bg_glass_65_ffffff_1x400.png
|
1120
|
+
- public/stylesheets/admin/jquery/images/ui-bg_glass_75_dadada_1x400.png
|
1121
|
+
- public/stylesheets/admin/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png
|
1122
|
+
- public/stylesheets/admin/jquery/images/ui-bg_glass_95_fef1ec_1x400.png
|
1123
|
+
- public/stylesheets/admin/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
1124
|
+
- public/stylesheets/admin/jquery/images/ui-icons_222222_256x240.png
|
1125
|
+
- public/stylesheets/admin/jquery/images/ui-icons_2e83ff_256x240.png
|
1126
|
+
- public/stylesheets/admin/jquery/images/ui-icons_454545_256x240.png
|
1127
|
+
- public/stylesheets/admin/jquery/images/ui-icons_888888_256x240.png
|
1128
|
+
- public/stylesheets/admin/jquery/images/ui-icons_cd0a0a_256x240.png
|
1129
|
+
- public/stylesheets/admin/jquery/ui.css
|
1076
1130
|
- public/stylesheets/admin/layout.css
|
1077
1131
|
- public/stylesheets/admin/login.css
|
1078
1132
|
- public/stylesheets/admin/menu.css
|
@@ -1103,21 +1157,30 @@ files:
|
|
1103
1157
|
- vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb
|
1104
1158
|
- vendor/plugins/custom_fields/lib/custom_fields/types/boolean.rb
|
1105
1159
|
- vendor/plugins/custom_fields/lib/custom_fields/types/category.rb
|
1160
|
+
- vendor/plugins/custom_fields/lib/custom_fields/types/date.rb
|
1106
1161
|
- vendor/plugins/custom_fields/lib/custom_fields/types/default.rb
|
1162
|
+
- vendor/plugins/custom_fields/lib/custom_fields/types/file.rb
|
1107
1163
|
- vendor/plugins/custom_fields/lib/custom_fields/types/string.rb
|
1108
1164
|
- vendor/plugins/custom_fields/lib/custom_fields/types/text.rb
|
1165
|
+
- vendor/plugins/custom_fields/spec/fixtures/doc.txt
|
1109
1166
|
- vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb
|
1110
1167
|
- vendor/plugins/custom_fields/spec/integration/types/category_spec.rb
|
1168
|
+
- vendor/plugins/custom_fields/spec/integration/types/file_spec.rb
|
1111
1169
|
- vendor/plugins/custom_fields/spec/models/person.rb
|
1112
1170
|
- vendor/plugins/custom_fields/spec/models/project.rb
|
1113
1171
|
- vendor/plugins/custom_fields/spec/models/task.rb
|
1114
1172
|
- vendor/plugins/custom_fields/spec/spec_helper.rb
|
1173
|
+
- vendor/plugins/custom_fields/spec/support/carrierwave.rb
|
1174
|
+
- vendor/plugins/custom_fields/spec/support/mongoid.rb
|
1115
1175
|
- vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb
|
1116
1176
|
- vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb
|
1117
1177
|
- vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb
|
1118
1178
|
- vendor/plugins/custom_fields/spec/unit/types/boolean_spec.rb
|
1119
1179
|
- vendor/plugins/custom_fields/spec/unit/types/category_spec.rb
|
1180
|
+
- vendor/plugins/custom_fields/spec/unit/types/date_spec.rb
|
1181
|
+
- vendor/plugins/custom_fields/spec/unit/types/file_spec.rb
|
1120
1182
|
- vendor/plugins/custom_fields/uninstall.rb
|
1183
|
+
- LICENSE
|
1121
1184
|
- README.textile
|
1122
1185
|
has_rdoc: true
|
1123
1186
|
homepage: http://github.com/did/locomotive
|
@@ -1152,10 +1215,15 @@ summary: Locomotive cms engine
|
|
1152
1215
|
test_files:
|
1153
1216
|
- spec/factories.rb
|
1154
1217
|
- spec/lib/locomotive/heroku_spec.rb
|
1218
|
+
- spec/lib/locomotive/httparty/patches_spec.rb
|
1219
|
+
- spec/lib/locomotive/httparty/webservice_spec.rb
|
1155
1220
|
- spec/lib/locomotive/liquid/drops/contents_spec.rb
|
1156
1221
|
- spec/lib/locomotive/liquid/drops/page_spec.rb
|
1157
1222
|
- spec/lib/locomotive/liquid/filters/html_spec.rb
|
1158
1223
|
- spec/lib/locomotive/liquid/filters/misc_spec.rb
|
1224
|
+
- spec/lib/locomotive/liquid/filters/text_spec.rb
|
1225
|
+
- spec/lib/locomotive/liquid/tags/consume_spec.rb
|
1226
|
+
- spec/lib/locomotive/liquid/tags/nav_spec.rb
|
1159
1227
|
- spec/lib/locomotive/liquid/tags/paginate_spec.rb
|
1160
1228
|
- spec/lib/locomotive/liquid/tags/snippet_spec.rb
|
1161
1229
|
- spec/lib/locomotive/liquid/tags/with_scope_spec.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
%p
|
2
|
-
Hello
|
3
|
-
= @resource.email
|
4
|
-
\!
|
5
|
-
%p
|
6
|
-
Someone has requested a link to change your password, and you can do this through the link below.
|
7
|
-
%p
|
8
|
-
= link_to 'Change my password', edit_admin_password_url(@resource, :reset_password_token => @resource.reset_password_token)
|
9
|
-
%p
|
10
|
-
If you didn't request this, please ignore this email.
|
11
|
-
%p
|
12
|
-
Your password won't change until you access the link above and create a new one.
|
@@ -1,10 +0,0 @@
|
|
1
|
-
%p
|
2
|
-
Hello
|
3
|
-
= @resource.email
|
4
|
-
\!
|
5
|
-
%p
|
6
|
-
Your account has been locked due to an excessive amount of unsuccessful sign in attempts.
|
7
|
-
%p
|
8
|
-
Click the link below to unlock your account:
|
9
|
-
%p
|
10
|
-
= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token)
|
data/lib/locomotive/patches.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# load patches here
|