beautiful_scaffold 1.0.2 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/CHANGELOG +24 -1
  4. data/Gemfile +24 -9
  5. data/Gemfile.lock +209 -0
  6. data/README.rdoc +25 -26
  7. data/Rakefile +27 -4
  8. data/beautiful_scaffold.gemspec +6 -4
  9. data/lib/beautiful_scaffold/version.rb +3 -0
  10. data/lib/generators/beautiful_jointable_generator.rb +39 -6
  11. data/lib/generators/beautiful_migration_generator.rb +11 -19
  12. data/lib/generators/beautiful_scaffold_common_methods.rb +51 -26
  13. data/lib/generators/beautiful_scaffold_generator.rb +100 -43
  14. data/lib/generators/templates/app/assets/javascripts/application-bs.js +5 -6
  15. data/lib/generators/templates/app/assets/javascripts/beautiful_scaffold.js +64 -77
  16. data/lib/generators/templates/app/assets/javascripts/bootstrap-datetimepicker-for-beautiful-scaffold.js +25 -41
  17. data/lib/generators/templates/app/assets/javascripts/fixed_menu.js +3 -1
  18. data/lib/generators/templates/app/assets/javascripts/jstree.min.js +6 -0
  19. data/lib/generators/templates/app/assets/stylesheets/application-bs.css +14 -6
  20. data/lib/generators/templates/app/assets/stylesheets/beautiful-scaffold.css.scss +10 -1
  21. data/lib/generators/templates/app/assets/stylesheets/themes/default-dark/32px.png +0 -0
  22. data/lib/generators/templates/app/assets/stylesheets/themes/default-dark/40px.png +0 -0
  23. data/lib/generators/templates/app/assets/stylesheets/themes/default-dark/style.scss +1146 -0
  24. data/lib/generators/templates/app/assets/stylesheets/themes/default-dark/throbber.gif +0 -0
  25. data/lib/generators/templates/app/assets/stylesheets/themes/default/32px.png +0 -0
  26. data/lib/generators/templates/app/assets/stylesheets/themes/default/40px.png +0 -0
  27. data/lib/generators/templates/app/assets/stylesheets/themes/default/style.scss +1102 -0
  28. data/lib/generators/templates/app/assets/stylesheets/themes/default/throbber.gif +0 -0
  29. data/lib/generators/templates/app/controllers/base.rb +7 -5
  30. data/lib/generators/templates/app/controllers/master_base.rb +18 -24
  31. data/lib/generators/templates/app/helpers/beautiful_helper.rb +83 -61
  32. data/lib/generators/templates/app/initializers/link_renderer.rb +23 -18
  33. data/lib/generators/templates/app/views/_form.html.erb +2 -2
  34. data/lib/generators/templates/app/views/_form_habtm_tag.html.erb +6 -2
  35. data/lib/generators/templates/app/views/_mass_inserting.html.erb +38 -30
  36. data/lib/generators/templates/app/views/_modal_columns.html.erb +3 -3
  37. data/lib/generators/templates/app/views/index.html.erb +83 -79
  38. data/lib/generators/templates/app/views/layout.html.erb +29 -36
  39. data/lib/generators/templates/app/views/partials/_forget_password.html.erb +2 -2
  40. data/lib/generators/templates/app/views/partials/_form_field.html.erb +7 -7
  41. data/lib/generators/templates/app/views/partials/_index_batch.html.erb +1 -1
  42. data/lib/generators/templates/app/views/partials/_index_column.html.erb +4 -4
  43. data/lib/generators/templates/app/views/partials/_index_header.html.erb +1 -1
  44. data/lib/generators/templates/app/views/partials/_index_search.html.erb +1 -1
  45. data/lib/generators/templates/app/views/partials/_register_form.html.erb +2 -2
  46. data/lib/generators/templates/app/views/partials/_show_field.html.erb +3 -3
  47. data/lib/generators/templates/app/views/partials/_sign_in_form.html.erb +1 -1
  48. data/lib/generators/templates/app/views/partials/_sign_in_sign_out.html.erb +2 -2
  49. data/lib/generators/templates/app/views/show.html.erb +2 -2
  50. data/lib/generators/templates/app/views/treeview.html.erb +8 -5
  51. metadata +21 -19
  52. data/lib/generators/templates/app/assets/javascripts/jquery.jstree.js +0 -4551
  53. data/lib/generators/templates/app/assets/stylesheets/datepicker.css +0 -224
  54. data/lib/generators/templates/app/assets/stylesheets/reset.css +0 -48
  55. data/lib/generators/templates/app/assets/stylesheets/themes/default/d.gif +0 -0
  56. data/lib/generators/templates/app/assets/stylesheets/themes/default/d.png +0 -0
  57. data/lib/generators/templates/app/assets/stylesheets/themes/default/style.css +0 -74
  58. data/lib/generators/templates/app/assets/stylesheets/timepicker.css +0 -89
  59. data/test/scaffold_test.rb +0 -68
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e51faa22a7e9fbad343b1597ca5bb417c144476b
4
- data.tar.gz: fb09b6d7228778e26ec391109ab77e35f8839f29
2
+ SHA256:
3
+ metadata.gz: b5449d8a941dda266c1fd1277af6ab6ff75754c1393674443b4f94148881fe14
4
+ data.tar.gz: 687cbd191d192abc632c070476585be443dc85388640a54cf505524bcc19cb27
5
5
  SHA512:
6
- metadata.gz: aa11569d24429d62e3f5f3ba79db359921bbcd70c233aa7a1730973468d861b6a7967e2f0aa56a4efd114bb9c8fb7977fa75f3c0073f2e41f9e8f48862dbab5a
7
- data.tar.gz: 1a59f7aaad1ea361376af40e7fd8f16713e3ce61473aa39cbcd41063524ca14467478878405d29724d983d63978f7cf396c0b528c8a94ef8112fd895579cd310
6
+ metadata.gz: cd6eb226ae5e30a72098b7992270bad5091e1abd9e444818f145bddff12a25f9619c51c19ea0ed9775e9d443cba75b2a3cd55154b26a4a44f7df349248742a69
7
+ data.tar.gz: b74ecf56db7af523a9886ecdf35bfb9950d07276dee3e767ad32148c61d20ac55a9de1c0e9a74e60028c95ad488bf4d05cc6ace427c7e0ec4fc071c239227e31
@@ -0,0 +1 @@
1
+ test/dummy/log/test.log
data/CHANGELOG CHANGED
@@ -4,6 +4,29 @@
4
4
 
5
5
  * bugfix
6
6
 
7
+ == 2.0.0.pre
8
+
9
+ * enhancement
10
+ * replace chardinjs by driverjs : https://github.com/kamranahmedse/driver.js
11
+ * replace bootstrapdatetimepicker by https://tempusdominus.github.io/bootstrap-4/Usage/
12
+ * Update JStreeview
13
+ * Update Bootstrap 4.2
14
+ * Update FontAwesome 5
15
+ * Generate beautiful scaffold for mountable engine
16
+ * Tests generators works !
17
+ * Refactoring ruby code.
18
+
19
+ * bugfix
20
+ * Bugfix for engine
21
+
22
+ == 1.0.3
23
+
24
+ * enhancement
25
+ * You can generate scaffold in a mountable engine, now. (see README for syntax)
26
+
27
+ * Bugfix
28
+ * I18n translation default value (model.column).
29
+
7
30
  == 1.0.2
8
31
 
9
32
  * enhancement
@@ -202,4 +225,4 @@
202
225
 
203
226
  == Previous versions
204
227
 
205
- * See commits on github
228
+ * See commits on github
data/Gemfile CHANGED
@@ -2,12 +2,27 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "rails", "~> 4.0"
6
- # Pagination
7
- gem "will_paginate"
8
- # Search and filter
9
- gem "ransack"
10
- # Pdf
11
- gem 'prawn'
12
- # Clear html tag
13
- gem 'sanitize'
5
+ gem "rails", "~> 6.0"
6
+
7
+ group :test do
8
+ gem 'sqlite3'
9
+
10
+ gems = {
11
+ 'will_paginate' => nil, # v 3.1.5
12
+ 'ransack' => nil, #'2.3.2',
13
+ 'jquery-ui-rails' => nil,
14
+ 'prawn' => nil, #'2.1.0',
15
+ 'prawn-table' => nil, #'0.2.2',
16
+ 'sanitize' => nil,
17
+ 'bootstrap' => '~> 4.3.1',
18
+ 'font-awesome-rails' => '4.7.0.5',
19
+ 'momentjs-rails' => '>= 2.9.0',
20
+ 'bootstrap4-datetime-picker-rails' => nil,
21
+ 'jquery-rails' => '4.3.1'
22
+ }
23
+
24
+ gems.each{ |gem_to_add, version|
25
+ gem(gem_to_add, version)
26
+ }
27
+ end
28
+
@@ -0,0 +1,209 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ beautiful_scaffold (1.0.3)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+ actioncable (6.0.3.2)
10
+ actionpack (= 6.0.3.2)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailbox (6.0.3.2)
14
+ actionpack (= 6.0.3.2)
15
+ activejob (= 6.0.3.2)
16
+ activerecord (= 6.0.3.2)
17
+ activestorage (= 6.0.3.2)
18
+ activesupport (= 6.0.3.2)
19
+ mail (>= 2.7.1)
20
+ actionmailer (6.0.3.2)
21
+ actionpack (= 6.0.3.2)
22
+ actionview (= 6.0.3.2)
23
+ activejob (= 6.0.3.2)
24
+ mail (~> 2.5, >= 2.5.4)
25
+ rails-dom-testing (~> 2.0)
26
+ actionpack (6.0.3.2)
27
+ actionview (= 6.0.3.2)
28
+ activesupport (= 6.0.3.2)
29
+ rack (~> 2.0, >= 2.0.8)
30
+ rack-test (>= 0.6.3)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
33
+ actiontext (6.0.3.2)
34
+ actionpack (= 6.0.3.2)
35
+ activerecord (= 6.0.3.2)
36
+ activestorage (= 6.0.3.2)
37
+ activesupport (= 6.0.3.2)
38
+ nokogiri (>= 1.8.5)
39
+ actionview (6.0.3.2)
40
+ activesupport (= 6.0.3.2)
41
+ builder (~> 3.1)
42
+ erubi (~> 1.4)
43
+ rails-dom-testing (~> 2.0)
44
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
45
+ activejob (6.0.3.2)
46
+ activesupport (= 6.0.3.2)
47
+ globalid (>= 0.3.6)
48
+ activemodel (6.0.3.2)
49
+ activesupport (= 6.0.3.2)
50
+ activerecord (6.0.3.2)
51
+ activemodel (= 6.0.3.2)
52
+ activesupport (= 6.0.3.2)
53
+ activestorage (6.0.3.2)
54
+ actionpack (= 6.0.3.2)
55
+ activejob (= 6.0.3.2)
56
+ activerecord (= 6.0.3.2)
57
+ marcel (~> 0.3.1)
58
+ activesupport (6.0.3.2)
59
+ concurrent-ruby (~> 1.0, >= 1.0.2)
60
+ i18n (>= 0.7, < 2)
61
+ minitest (~> 5.1)
62
+ tzinfo (~> 1.1)
63
+ zeitwerk (~> 2.2, >= 2.2.2)
64
+ autoprefixer-rails (9.8.6.1)
65
+ execjs
66
+ bootstrap (4.3.1)
67
+ autoprefixer-rails (>= 9.1.0)
68
+ popper_js (>= 1.14.3, < 2)
69
+ sassc-rails (>= 2.0.0)
70
+ bootstrap4-datetime-picker-rails (0.3.1)
71
+ jquery-rails (~> 4.2, >= 4.2.0)
72
+ moment-timezone-rails (~> 1.0)
73
+ momentjs-rails (>= 2.10.5, <= 3.0.0)
74
+ builder (3.2.4)
75
+ concurrent-ruby (1.1.7)
76
+ crass (1.0.6)
77
+ erubi (1.9.0)
78
+ execjs (2.7.0)
79
+ ffi (1.13.1)
80
+ font-awesome-rails (4.7.0.5)
81
+ railties (>= 3.2, < 6.1)
82
+ globalid (0.4.2)
83
+ activesupport (>= 4.2.0)
84
+ i18n (1.8.5)
85
+ concurrent-ruby (~> 1.0)
86
+ jquery-rails (4.3.1)
87
+ rails-dom-testing (>= 1, < 3)
88
+ railties (>= 4.2.0)
89
+ thor (>= 0.14, < 2.0)
90
+ jquery-ui-rails (6.0.1)
91
+ railties (>= 3.2.16)
92
+ loofah (2.6.0)
93
+ crass (~> 1.0.2)
94
+ nokogiri (>= 1.5.9)
95
+ mail (2.7.1)
96
+ mini_mime (>= 0.1.1)
97
+ marcel (0.3.3)
98
+ mimemagic (~> 0.3.2)
99
+ method_source (1.0.0)
100
+ mimemagic (0.3.5)
101
+ mini_mime (1.0.2)
102
+ mini_portile2 (2.4.0)
103
+ minitest (5.14.1)
104
+ moment-timezone-rails (1.0.0)
105
+ momentjs-rails (>= 2.10.5, <= 3.0.0)
106
+ momentjs-rails (2.20.1)
107
+ railties (>= 3.1)
108
+ nio4r (2.5.2)
109
+ nokogiri (1.10.10)
110
+ mini_portile2 (~> 2.4.0)
111
+ nokogumbo (2.0.2)
112
+ nokogiri (~> 1.8, >= 1.8.4)
113
+ pdf-core (0.8.1)
114
+ polyamorous (2.3.2)
115
+ activerecord (>= 5.2.1)
116
+ popper_js (1.16.0)
117
+ prawn (2.3.0)
118
+ pdf-core (~> 0.8.1)
119
+ ttfunk (~> 1.6)
120
+ prawn-table (0.2.2)
121
+ prawn (>= 1.3.0, < 3.0.0)
122
+ rack (2.2.3)
123
+ rack-test (1.1.0)
124
+ rack (>= 1.0, < 3)
125
+ rails (6.0.3.2)
126
+ actioncable (= 6.0.3.2)
127
+ actionmailbox (= 6.0.3.2)
128
+ actionmailer (= 6.0.3.2)
129
+ actionpack (= 6.0.3.2)
130
+ actiontext (= 6.0.3.2)
131
+ actionview (= 6.0.3.2)
132
+ activejob (= 6.0.3.2)
133
+ activemodel (= 6.0.3.2)
134
+ activerecord (= 6.0.3.2)
135
+ activestorage (= 6.0.3.2)
136
+ activesupport (= 6.0.3.2)
137
+ bundler (>= 1.3.0)
138
+ railties (= 6.0.3.2)
139
+ sprockets-rails (>= 2.0.0)
140
+ rails-dom-testing (2.0.3)
141
+ activesupport (>= 4.2.0)
142
+ nokogiri (>= 1.6)
143
+ rails-html-sanitizer (1.3.0)
144
+ loofah (~> 2.3)
145
+ railties (6.0.3.2)
146
+ actionpack (= 6.0.3.2)
147
+ activesupport (= 6.0.3.2)
148
+ method_source
149
+ rake (>= 0.8.7)
150
+ thor (>= 0.20.3, < 2.0)
151
+ rake (13.0.1)
152
+ ransack (2.3.2)
153
+ activerecord (>= 5.2.1)
154
+ activesupport (>= 5.2.1)
155
+ i18n
156
+ polyamorous (= 2.3.2)
157
+ sanitize (5.2.1)
158
+ crass (~> 1.0.2)
159
+ nokogiri (>= 1.8.0)
160
+ nokogumbo (~> 2.0)
161
+ sassc (2.4.0)
162
+ ffi (~> 1.9)
163
+ sassc-rails (2.1.2)
164
+ railties (>= 4.0.0)
165
+ sassc (>= 2.0)
166
+ sprockets (> 3.0)
167
+ sprockets-rails
168
+ tilt
169
+ sprockets (3.7.2)
170
+ concurrent-ruby (~> 1.0)
171
+ rack (> 1, < 3)
172
+ sprockets-rails (3.2.1)
173
+ actionpack (>= 4.0)
174
+ activesupport (>= 4.0)
175
+ sprockets (>= 3.0.0)
176
+ sqlite3 (1.4.2)
177
+ thor (0.20.3)
178
+ thread_safe (0.3.6)
179
+ tilt (2.0.10)
180
+ ttfunk (1.6.2.1)
181
+ tzinfo (1.2.7)
182
+ thread_safe (~> 0.1)
183
+ websocket-driver (0.7.3)
184
+ websocket-extensions (>= 0.1.0)
185
+ websocket-extensions (0.1.5)
186
+ will_paginate (3.3.0)
187
+ zeitwerk (2.4.0)
188
+
189
+ PLATFORMS
190
+ ruby
191
+
192
+ DEPENDENCIES
193
+ beautiful_scaffold!
194
+ bootstrap (~> 4.3.1)
195
+ bootstrap4-datetime-picker-rails
196
+ font-awesome-rails (= 4.7.0.5)
197
+ jquery-rails (= 4.3.1)
198
+ jquery-ui-rails
199
+ momentjs-rails (>= 2.9.0)
200
+ prawn
201
+ prawn-table
202
+ rails (~> 6.0)
203
+ ransack
204
+ sanitize
205
+ sqlite3
206
+ will_paginate
207
+
208
+ BUNDLED WITH
209
+ 2.1.4
@@ -3,27 +3,12 @@
3
3
  Beautiful Scaffold is a gem which propose generators for a complete scaffold with paginate, sort and filter.
4
4
  Fully customizable.
5
5
  Info : https://github.com/rivsc/Beautiful-Scaffold
6
- Demo : http://demo.beautiful-scaffold.escarworld.com/
6
+ Demo : http://beautiful-scaffold.rivsc.ovh/
7
7
 
8
8
  == Install
9
9
 
10
- === RubyOnRails 4.1
11
-
12
- Add this in your Gemfile :
13
-
14
- gem 'beautiful_scaffold', '0.3.4'
15
-
16
- === RubyOnRails 4.2
17
-
18
- Add this in your Gemfile :
19
-
20
- gem 'beautiful_scaffold', '0.3.5'
21
-
22
- === RubyOnRails 5+
23
-
24
- Add this in your Gemfile :
25
-
26
- gem 'beautiful_scaffold', '1.0.1'
10
+ Add this in the Gemfile of your rails app or engine :
11
+ gem 'beautiful_scaffold'
27
12
 
28
13
  === Next
29
14
 
@@ -35,7 +20,10 @@ And run
35
20
 
36
21
  === Scaffold
37
22
 
38
- rails generate beautiful_scaffold model attr:type attr:type... [--namespace=name] [--donttouchgem=name]
23
+ # model : underscore and singular
24
+ # mountable_engine : underscore
25
+ # namespace : underscore
26
+ rails generate beautiful_scaffold model attr:type attr:type... [--namespace=name] [--donttouchgem=yes] [--mountable_engine=name]
39
27
 
40
28
  Types available:
41
29
  * integer
@@ -46,6 +34,8 @@ Types available:
46
34
  * color
47
35
  * wysiwyg
48
36
 
37
+ (See below #label-Barcodes)
38
+
49
39
  # Example : products
50
40
 
51
41
  rails g beautiful_scaffold product name:string price:price tva:float description:wysiwyg visible:boolean && rake db:migrate
@@ -54,6 +44,15 @@ Types available:
54
44
 
55
45
  rails g beautiful_scaffold product name:string price:price tva:float description:wysiwyg overview_description:wysiwyg visible:boolean --namespace=admin && rake db:migrate
56
46
 
47
+ # Example (for an engine) :
48
+ # You need to add beautiful-scaffold to the gemfile of the engine (not the gemspec !).
49
+
50
+ rails g beautiful_scaffold user code:string --mountable-engine=faq
51
+ rails g beautiful_scaffold question title:string description:wysiwyg user:references resolved:boolean --mountable-engine=faq
52
+ rails g beautiful_scaffold answer description:wysiwyg user:references up:integer down:integer --mountable-engine=faq
53
+ rails g beautiful_migration AddPositionToFaqAnswers position:integer --mountable-engine=faq
54
+ rails g beautiful_jointable answer tag --mountable-engine=faq
55
+
57
56
  === Migration (Use Add[Field]To[ModelPluralize] syntax)
58
57
 
59
58
  rails g beautiful_migration AddFieldToModels field:type
@@ -71,6 +70,7 @@ Run `rake db:migrate` before `rails g beautiful_locale` (to get lastest attribut
71
70
 
72
71
  rails g beautiful_jointable model1 model2
73
72
 
73
+ TODO replace Devise by Sorcery & Cancan by Cancancan
74
74
  === Install et Configure Devise (authentification) and Cancan (authorization)
75
75
 
76
76
  rails g beautiful_devisecancan model
@@ -97,16 +97,15 @@ data-type-barcode can be :
97
97
  msi
98
98
  datamatrix (ASCII + extended)
99
99
 
100
- ==== Chardinjs (overlay instructions)
100
+ ==== Driverjs (overlay instructions)
101
101
 
102
- Example : This button triggers chardinjs on element with 'menu' id.
102
+ Example : when you click on the #bs-help tag presentation tour display on screen !
103
103
 
104
- <a href="#" class="bs-chardinjs" data-selector="#menu">Help Menu</a>
104
+ If you want to add 'slide' :
105
105
 
106
- If you want display all chardinjs :
106
+ For add instruction to element, add this to your markup :
107
107
 
108
- <a href="#" class="bs-chardinjs" data-selector="body">Help</a>
108
+ id="myunique-id-in-the-page" data-present-title="Title for the slide" data-present-description="Short description" data-present-order="1"
109
109
 
110
- Just add `class="bs-chardinjs"` in a button / link for trigger chardinjs. Beautiful-Scaffold does the job !
110
+ And Beautiful-Scaffold does the job !
111
111
 
112
- For add instruction to element, read official documentation : https://github.com/heelhook/chardin.js#adding-data-for-the-instructions
data/Rakefile CHANGED
@@ -1,9 +1,32 @@
1
- require 'rake/testtask'
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
2
6
 
3
- task default: :test
7
+ require 'rdoc/task'
4
8
 
5
- task :test do |t|
6
- ruby "test/scaffold_test.rb"
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Beautiful-Scaffold'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
7
15
  end
8
16
 
17
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+ load 'rails/tasks/statistics.rake'
21
+
22
+ require 'bundler/gem_tasks'
9
23
 
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'test'
28
+ t.pattern = 'test/**/*_test.rb'
29
+ t.verbose = false
30
+ end
31
+
32
+ task default: :test
@@ -1,16 +1,18 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
+ require "beautiful_scaffold/version"
5
+
4
6
  Gem::Specification.new do |s|
5
7
  s.name = "beautiful_scaffold"
6
- s.version = "1.0.2"
8
+ s.version = BeautifulScaffold::VERSION
7
9
  s.platform = Gem::Platform::RUBY
8
10
  s.summary = "Beautiful Scaffold generate fully customizable scaffold"
9
11
  s.email = "claudel.sylvain@gmail.com"
10
- s.homepage = "http://beautiful-scaffold.com"
11
- s.description = "Beautiful Scaffold generate a complete scaffold (sort, export, paginate and filter data) http://www.beautiful-scaffold.com"
12
+ s.homepage = "https://blog.rivsc.ovh"
13
+ s.description = "Beautiful Scaffold generate a complete scaffold (sort, export, paginate and filter data) http://beautiful-scaffold.rivsc.ovh"
12
14
  s.authors = ['Sylvain Claudel']
13
- s.files = `git ls-files`.split("\n")
15
+ s.files = `git ls-files`.split("\n").reject{ |filepath| filepath.start_with? 'test/' }
14
16
  s.licenses = ['MIT']
15
17
 
16
18
  s.rubyforge_project = "beautiful_scaffold"