fl 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 972325c1b6752f9815326c71692829c8d0ac4409
4
- data.tar.gz: 4955e3ec80216783db135732be1ea76a3a95e483
3
+ metadata.gz: 7ad1d352d59ca7c75b2574cd6fa4f678dd228cfb
4
+ data.tar.gz: 475926443d58adcf671c59a2b1071417bb8c248f
5
5
  SHA512:
6
- metadata.gz: 074cedc3b3b5e75642e705d43a208559150114046f2116b1925ea0f2905d26aa4ce2c46e64749c23bb60d28d9f26b07b2c61fe4d999dd63fc41e6f2c2909d542
7
- data.tar.gz: 43d8d0c6af36b7795a6bdff8dd0ee1eded11d370074810c5d6b5b7cd8f92cd8659300d9dc558a8b843927aec2a37ee7967d01f7cf62c17444386412739ee482c
6
+ metadata.gz: 83de5e5bba325a6600eb0d34495a5ee856a74e6fe045ed3c2488497f05469598a0c482c5cb4860795f73047b53fbc3d8e6a63a2a57f0409fde852adeebc8664d
7
+ data.tar.gz: 9656534c01d9a2fb0e3f8ef9399e464b34ee8398a600c425e288e1f88032f7894f28ac88585d8d778cfbf3f6ca13b9b5c019f922fc5486f0f053932211258d22
@@ -1,46 +1,46 @@
1
- ############################################################
2
- ############################################################
3
-
4
- ## Vars ##
5
- item = File.basename(__FILE__, ".*").singularize.titleize
6
- model = ["Meta", item].join("::")
7
-
8
- ## Check ##
9
- unless (model.constantize rescue nil).nil?
10
-
11
- ############################################################
12
- ############################################################
13
-
14
- ActiveAdmin.register model.constantize, as: item.to_s do
15
-
16
- ##################################
17
- ##################################
18
-
19
- # => Menu
20
- menu priority: 2, label: -> { ['🔒', model.constantize.model_name.human(count: 2)].join(' ') }
21
-
22
- # => Strong Params
23
- permit_params :slug, :ref, :val
24
-
25
- ##################################
26
- ##################################
27
-
28
- # => Index
29
- index do
30
- selectable_column
31
- column :ref
32
- column :val
33
- column :created_at
34
- column :updated_at
35
- actions
36
- end
37
-
38
- ##################################
39
- ##################################
40
-
41
- end
42
-
43
- ############################################################
44
- ############################################################
45
-
46
- end
1
+ ############################################################
2
+ ############################################################
3
+
4
+ ## Vars ##
5
+ item = File.basename(__FILE__, ".*").singularize.titleize
6
+ model = ["Meta", item].join("::")
7
+
8
+ ## Check ##
9
+ unless (model.constantize rescue nil).nil?
10
+
11
+ ############################################################
12
+ ############################################################
13
+
14
+ ActiveAdmin.register model.constantize, as: item.to_s do
15
+
16
+ ##################################
17
+ ##################################
18
+
19
+ # => Menu
20
+ menu priority: 2, label: -> { ['🔒', model.constantize.model_name.human(count: 2)].join(' ') }
21
+
22
+ # => Strong Params
23
+ permit_params :slug, :ref, :val
24
+
25
+ ##################################
26
+ ##################################
27
+
28
+ # => Index
29
+ index do
30
+ selectable_column
31
+ column :ref
32
+ column :val
33
+ column :created_at
34
+ column :updated_at
35
+ actions
36
+ end
37
+
38
+ ##################################
39
+ ##################################
40
+
41
+ end
42
+
43
+ ############################################################
44
+ ############################################################
45
+
46
+ end
@@ -1,55 +1,55 @@
1
- ############################################################
2
- ############################################################
3
-
4
- ## Vars ##
5
- item = File.basename(__FILE__, ".*").singularize.titleize
6
- model = ["Meta", item].join("::")
7
-
8
- ## Check ##
9
- unless (model.constantize rescue nil).nil?
10
-
11
- ############################################################
12
- ############################################################
13
-
14
- ActiveAdmin.register model.constantize, as: item.to_s do
15
-
16
- ##################################
17
- ##################################
18
-
19
- menu priority: 3, label: -> { ['🚀', model.constantize.model_name.human(count: 2)].join(' ') }
20
-
21
- ##################################
22
- ##################################
23
-
24
- # => Strong Params
25
- permit_params :slug, :ref, :val
26
-
27
- ##################################
28
- ##################################
29
-
30
-
31
-
32
- ##################################
33
- ##################################
34
-
35
- # => Form
36
- form do |f|
37
- f.inputs 'Details' do
38
- f.input :slug
39
- f.input :ref
40
- f.input :val, as: :ckeditor
41
- end
42
-
43
- f.actions
44
- end
45
-
46
- ##################################
47
- ##################################
48
-
49
-
50
- end
51
-
52
- ############################################################
53
- ############################################################
54
-
55
- end
1
+ ############################################################
2
+ ############################################################
3
+
4
+ ## Vars ##
5
+ item = File.basename(__FILE__, ".*").singularize.titleize
6
+ model = ["Meta", item].join("::")
7
+
8
+ ## Check ##
9
+ unless (model.constantize rescue nil).nil?
10
+
11
+ ############################################################
12
+ ############################################################
13
+
14
+ ActiveAdmin.register model.constantize, as: item.to_s do
15
+
16
+ ##################################
17
+ ##################################
18
+
19
+ menu priority: 3, label: -> { ['🚀', model.constantize.model_name.human(count: 2)].join(' ') }
20
+
21
+ ##################################
22
+ ##################################
23
+
24
+ # => Strong Params
25
+ permit_params :slug, :ref, :val
26
+
27
+ ##################################
28
+ ##################################
29
+
30
+
31
+
32
+ ##################################
33
+ ##################################
34
+
35
+ # => Form
36
+ form do |f|
37
+ f.inputs 'Details' do
38
+ f.input :slug
39
+ f.input :ref
40
+ f.input :val, as: :ckeditor
41
+ end
42
+
43
+ f.actions
44
+ end
45
+
46
+ ##################################
47
+ ##################################
48
+
49
+
50
+ end
51
+
52
+ ############################################################
53
+ ############################################################
54
+
55
+ end
@@ -1,34 +1,34 @@
1
- ActiveAdmin.register User do
2
-
3
- ##################################
4
- ##################################
5
-
6
- # => Menu
7
- menu priority: 1, label: -> { ['👽', User.model_name.human(count: 2)].join(' ') }
8
-
9
- # => Params
10
- permit_params :email, :password, :password_confirmation
11
-
12
- ##################################
13
- ##################################
14
-
15
- # => Index
16
- index do
17
- column :email
18
- column :current_sign_in_at
19
- column :last_sign_in_at
20
- column :sign_in_count
21
- actions
22
- end
23
-
24
- filter :email
25
-
26
- form do |f|
27
- f.inputs "Admin Details" do
28
- f.input :email
29
- f.input :password
30
- f.input :password_confirmation
31
- end
32
- f.actions
33
- end
34
- end
1
+ ActiveAdmin.register User do
2
+
3
+ ##################################
4
+ ##################################
5
+
6
+ # => Menu
7
+ menu priority: 1, label: -> { ['👽', User.model_name.human(count: 2)].join(' ') }
8
+
9
+ # => Params
10
+ permit_params :email, :password, :password_confirmation
11
+
12
+ ##################################
13
+ ##################################
14
+
15
+ # => Index
16
+ index do
17
+ column :email
18
+ column :current_sign_in_at
19
+ column :last_sign_in_at
20
+ column :sign_in_count
21
+ actions
22
+ end
23
+
24
+ filter :email
25
+
26
+ form do |f|
27
+ f.inputs "Admin Details" do
28
+ f.input :email
29
+ f.input :password
30
+ f.input :password_confirmation
31
+ end
32
+ f.actions
33
+ end
34
+ end
@@ -10,7 +10,7 @@
10
10
  ############################################
11
11
  ############################################
12
12
 
13
- # ActiveAdmin
13
+ # ActiveAdmin
14
14
  #= require active_admin/base
15
15
 
16
16
  <% if Gem.loaded_specs.has_key? 'ckeditor' %>
@@ -41,6 +41,9 @@
41
41
  ////////////////////////////////////////////////////////////
42
42
  ////////////////////////////////////////////////////////////
43
43
 
44
+ ////////////////////////////////////////////////////////////
45
+ ////////////////////////////////////////////////////////////
46
+
44
47
  // General
45
48
  // Fix small issues in ActieAdmin
46
49
  #header
@@ -109,3 +112,6 @@
109
112
 
110
113
  ////////////////////////////////////////////////////////////
111
114
  ////////////////////////////////////////////////////////////
115
+
116
+ ////////////////////////////////////////////////////////////
117
+ ////////////////////////////////////////////////////////////
@@ -28,8 +28,9 @@ module FL
28
28
  NAME = 'Frontline Utilities LTD',
29
29
  NUMBER = '07037173',
30
30
  VAT = 'GB121358444',
31
- URL = 'https://www.fl.co.uk',
31
+ URL = 'https://www.frontlineutilities.co.uk',
32
32
  FUSION = 'flutils',
33
+ EMAIL = 'support@frontlineutilities.co.uk',
33
34
  ADDRESS = '3 Dearnford Avenue, Bromborough, Wirral, CH62 6DX, United Kingdom'
34
35
  end
35
36
 
@@ -41,7 +42,7 @@ module FL
41
42
  module VERSION
42
43
  MAJOR = 0
43
44
  MINOR = 3
44
- TINY = 5
45
+ TINY = 6
45
46
  PRE = nil
46
47
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
47
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - R.Peck
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -390,7 +390,7 @@ files:
390
390
  - lib/tasks/ckeditor.rake
391
391
  - lib/tasks/favicon.rake
392
392
  - readme/fl.jpg
393
- homepage: https://www.fl.co.uk
393
+ homepage: https://www.frontlineutilities.co.uk
394
394
  licenses: []
395
395
  metadata: {}
396
396
  post_install_message: