sunrise-cms 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3067042b43db55a77e22577281d9b57726e266e8
4
+ data.tar.gz: 1889f74f4f96d8d860cb736c571e132595f4dae0
5
+ SHA512:
6
+ metadata.gz: 3bd0e0f72630c74fcb6ce100be8e9da6d793e8c5f7a61970d79469f011cf5206ced9f517477b6e79ac2a7e524cf0a60612c2786d558953678b5d23bbaf2d59a1
7
+ data.tar.gz: 1ae32d7c1832b1237ca18d68e326e5ae73bb37b8519540c62548a5813a6b55a28581605b5328900a12153ed9173ec677129ff3d5f596b15b13158f880391d9b1
@@ -59,6 +59,15 @@ module Sunrise
59
59
  directory "spec", "spec"
60
60
  copy_file('rspec', '.rspec')
61
61
  end
62
+
63
+ def copy_gitignore
64
+ copy_file('gitignore', '.gitignore')
65
+ end
66
+
67
+ def copy_sunrise_assets
68
+ copy_file('assets/plugins.js', 'app/assets/javascripts/sunrise/plugins.js')
69
+ copy_file('assets/plugins.css', 'app/assets/stylesheets/sunrise/plugins.css')
70
+ end
62
71
 
63
72
  protected
64
73
 
@@ -0,0 +1,4 @@
1
+ /*
2
+ * Include all the files you want to use in sunrise
3
+ *
4
+ */
@@ -0,0 +1 @@
1
+ // Include all the files you want to use in sunrise
@@ -0,0 +1,30 @@
1
+ *.rbc
2
+ *.sassc
3
+ .sass-cache
4
+ capybara-*.html
5
+ .rspec
6
+ .rvmrc
7
+ /.bundle
8
+ /vendor/bundle
9
+ /log/*
10
+ /tmp/*
11
+ /db/*.sqlite3
12
+ /public/system/*
13
+ /public/uploads/
14
+ /coverage/
15
+ /spec/tmp/*
16
+ **.orig
17
+ rerun.txt
18
+ pickle-email-*.html
19
+ .project
20
+ config/*.yml
21
+ .versions.conf
22
+ .DS_Store
23
+ .bak
24
+ db/schema.mwb.bak
25
+
26
+ REVISION
27
+ config/logrotate-config
28
+ config/nginx.conf
29
+ public/assets
30
+ public/cache
@@ -1,3 +1,3 @@
1
1
  module Sunrise
2
- VERSION = "1.0.0.rc1".freeze
2
+ VERSION = "1.0.0.rc2".freeze
3
3
  end
@@ -43,4 +43,13 @@ describe Sunrise::Generators::InstallGenerator do
43
43
  assert_file "spec/spec_helper.rb"
44
44
  assert_file ".rspec"
45
45
  end
46
+
47
+ it "should copy gitignore" do
48
+ assert_file ".gitignore"
49
+ end
50
+
51
+ it "should copy assets files" do
52
+ assert_file "app/assets/javascripts/sunrise/plugins.js"
53
+ assert_file "app/assets/stylesheets/sunrise/plugins.css"
54
+ end
46
55
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
5
- prerelease: 6
4
+ version: 1.0.0.rc2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Igor Galeta
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-04-20 00:00:00.000000000 Z
12
+ date: 2014-04-30 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ~>
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ~>
29
26
  - !ruby/object:Gem::Version
@@ -31,353 +28,309 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: kaminari
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: simple_form
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: mime-types
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: mini_magick
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: carrierwave
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - '>='
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :runtime
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - '>='
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: cancan
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ! '>='
102
+ - - '>='
117
103
  - !ruby/object:Gem::Version
118
104
  version: '0'
119
105
  type: :runtime
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ! '>='
109
+ - - '>='
125
110
  - !ruby/object:Gem::Version
126
111
  version: '0'
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: cancan_namespace
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ! '>='
116
+ - - '>='
133
117
  - !ruby/object:Gem::Version
134
118
  version: '0'
135
119
  type: :runtime
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ! '>='
123
+ - - '>='
141
124
  - !ruby/object:Gem::Version
142
125
  version: '0'
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: galetahub-enum_field
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ! '>='
130
+ - - '>='
149
131
  - !ruby/object:Gem::Version
150
132
  version: '0'
151
133
  type: :runtime
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ! '>='
137
+ - - '>='
157
138
  - !ruby/object:Gem::Version
158
139
  version: '0'
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: progressbar
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
- - - ! '>='
144
+ - - '>='
165
145
  - !ruby/object:Gem::Version
166
146
  version: '0'
167
147
  type: :runtime
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
- - - ! '>='
151
+ - - '>='
173
152
  - !ruby/object:Gem::Version
174
153
  version: '0'
175
154
  - !ruby/object:Gem::Dependency
176
155
  name: rails-uploader
177
156
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
157
  requirements:
180
- - - ! '>='
158
+ - - '>='
181
159
  - !ruby/object:Gem::Version
182
160
  version: '0'
183
161
  type: :runtime
184
162
  prerelease: false
185
163
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
164
  requirements:
188
- - - ! '>='
165
+ - - '>='
189
166
  - !ruby/object:Gem::Version
190
167
  version: '0'
191
168
  - !ruby/object:Gem::Dependency
192
169
  name: babosa
193
170
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
171
  requirements:
196
- - - ! '>='
172
+ - - '>='
197
173
  - !ruby/object:Gem::Version
198
174
  version: '0'
199
175
  type: :runtime
200
176
  prerelease: false
201
177
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
178
  requirements:
204
- - - ! '>='
179
+ - - '>='
205
180
  - !ruby/object:Gem::Version
206
181
  version: '0'
207
182
  - !ruby/object:Gem::Dependency
208
183
  name: jquery-ui-rails
209
184
  requirement: !ruby/object:Gem::Requirement
210
- none: false
211
185
  requirements:
212
- - - ! '>='
186
+ - - '>='
213
187
  - !ruby/object:Gem::Version
214
188
  version: '0'
215
189
  type: :runtime
216
190
  prerelease: false
217
191
  version_requirements: !ruby/object:Gem::Requirement
218
- none: false
219
192
  requirements:
220
- - - ! '>='
193
+ - - '>='
221
194
  - !ruby/object:Gem::Version
222
195
  version: '0'
223
196
  - !ruby/object:Gem::Dependency
224
197
  name: page_parts
225
198
  requirement: !ruby/object:Gem::Requirement
226
- none: false
227
199
  requirements:
228
- - - ! '>='
200
+ - - '>='
229
201
  - !ruby/object:Gem::Version
230
202
  version: 0.1.3
231
203
  type: :runtime
232
204
  prerelease: false
233
205
  version_requirements: !ruby/object:Gem::Requirement
234
- none: false
235
206
  requirements:
236
- - - ! '>='
207
+ - - '>='
237
208
  - !ruby/object:Gem::Version
238
209
  version: 0.1.3
239
210
  - !ruby/object:Gem::Dependency
240
211
  name: meta_manager
241
212
  requirement: !ruby/object:Gem::Requirement
242
- none: false
243
213
  requirements:
244
- - - ! '>='
214
+ - - '>='
245
215
  - !ruby/object:Gem::Version
246
216
  version: 0.2.0
247
217
  type: :runtime
248
218
  prerelease: false
249
219
  version_requirements: !ruby/object:Gem::Requirement
250
- none: false
251
220
  requirements:
252
- - - ! '>='
221
+ - - '>='
253
222
  - !ruby/object:Gem::Version
254
223
  version: 0.2.0
255
224
  - !ruby/object:Gem::Dependency
256
225
  name: public_activity
257
226
  requirement: !ruby/object:Gem::Requirement
258
- none: false
259
227
  requirements:
260
- - - ! '>='
228
+ - - '>='
261
229
  - !ruby/object:Gem::Version
262
230
  version: 1.0.0
263
231
  type: :runtime
264
232
  prerelease: false
265
233
  version_requirements: !ruby/object:Gem::Requirement
266
- none: false
267
234
  requirements:
268
- - - ! '>='
235
+ - - '>='
269
236
  - !ruby/object:Gem::Version
270
237
  version: 1.0.0
271
238
  - !ruby/object:Gem::Dependency
272
239
  name: rails-settings-cached
273
240
  requirement: !ruby/object:Gem::Requirement
274
- none: false
275
241
  requirements:
276
- - - ! '>='
242
+ - - '>='
277
243
  - !ruby/object:Gem::Version
278
244
  version: 0.4.0
279
245
  type: :runtime
280
246
  prerelease: false
281
247
  version_requirements: !ruby/object:Gem::Requirement
282
- none: false
283
248
  requirements:
284
- - - ! '>='
249
+ - - '>='
285
250
  - !ruby/object:Gem::Version
286
251
  version: 0.4.0
287
252
  - !ruby/object:Gem::Dependency
288
253
  name: rspec-rails
289
254
  requirement: !ruby/object:Gem::Requirement
290
- none: false
291
255
  requirements:
292
- - - ! '>='
256
+ - - '>='
293
257
  - !ruby/object:Gem::Version
294
258
  version: '0'
295
259
  type: :development
296
260
  prerelease: false
297
261
  version_requirements: !ruby/object:Gem::Requirement
298
- none: false
299
262
  requirements:
300
- - - ! '>='
263
+ - - '>='
301
264
  - !ruby/object:Gem::Version
302
265
  version: '0'
303
266
  - !ruby/object:Gem::Dependency
304
267
  name: generator_spec
305
268
  requirement: !ruby/object:Gem::Requirement
306
- none: false
307
269
  requirements:
308
- - - ! '>='
270
+ - - '>='
309
271
  - !ruby/object:Gem::Version
310
272
  version: '0'
311
273
  type: :development
312
274
  prerelease: false
313
275
  version_requirements: !ruby/object:Gem::Requirement
314
- none: false
315
276
  requirements:
316
- - - ! '>='
277
+ - - '>='
317
278
  - !ruby/object:Gem::Version
318
279
  version: '0'
319
280
  - !ruby/object:Gem::Dependency
320
281
  name: mysql2
321
282
  requirement: !ruby/object:Gem::Requirement
322
- none: false
323
283
  requirements:
324
- - - ! '>='
284
+ - - '>='
325
285
  - !ruby/object:Gem::Version
326
286
  version: '0'
327
287
  type: :development
328
288
  prerelease: false
329
289
  version_requirements: !ruby/object:Gem::Requirement
330
- none: false
331
290
  requirements:
332
- - - ! '>='
291
+ - - '>='
333
292
  - !ruby/object:Gem::Version
334
293
  version: '0'
335
294
  - !ruby/object:Gem::Dependency
336
295
  name: database_cleaner
337
296
  requirement: !ruby/object:Gem::Requirement
338
- none: false
339
297
  requirements:
340
- - - ! '>='
298
+ - - '>='
341
299
  - !ruby/object:Gem::Version
342
300
  version: '0'
343
301
  type: :development
344
302
  prerelease: false
345
303
  version_requirements: !ruby/object:Gem::Requirement
346
- none: false
347
304
  requirements:
348
- - - ! '>='
305
+ - - '>='
349
306
  - !ruby/object:Gem::Version
350
307
  version: '0'
351
308
  - !ruby/object:Gem::Dependency
352
309
  name: factory_girl_rails
353
310
  requirement: !ruby/object:Gem::Requirement
354
- none: false
355
311
  requirements:
356
- - - ! '>='
312
+ - - '>='
357
313
  - !ruby/object:Gem::Version
358
314
  version: '0'
359
315
  type: :development
360
316
  prerelease: false
361
317
  version_requirements: !ruby/object:Gem::Requirement
362
- none: false
363
318
  requirements:
364
- - - ! '>='
319
+ - - '>='
365
320
  - !ruby/object:Gem::Version
366
321
  version: '0'
367
322
  - !ruby/object:Gem::Dependency
368
323
  name: capybara
369
324
  requirement: !ruby/object:Gem::Requirement
370
- none: false
371
325
  requirements:
372
- - - ! '>='
326
+ - - '>='
373
327
  - !ruby/object:Gem::Version
374
328
  version: '0'
375
329
  type: :development
376
330
  prerelease: false
377
331
  version_requirements: !ruby/object:Gem::Requirement
378
- none: false
379
332
  requirements:
380
- - - ! '>='
333
+ - - '>='
381
334
  - !ruby/object:Gem::Version
382
335
  version: '0'
383
336
  description: Sunrise is a Open Source CMS
@@ -481,7 +434,6 @@ files:
481
434
  - app/assets/stylesheets/sunrise/customize.css
482
435
  - app/assets/stylesheets/sunrise/main.css
483
436
  - app/assets/stylesheets/sunrise/pagination.css
484
- - app/assets/stylesheets/sunrise/plugins.css
485
437
  - app/controllers/sunrise/application_controller.rb
486
438
  - app/controllers/sunrise/dashboard_controller.rb
487
439
  - app/controllers/sunrise/manager_controller.rb
@@ -555,6 +507,8 @@ files:
555
507
  - db/migrate/20111216145015_create_users.rb
556
508
  - db/migrate/20120611095315_create_settings.rb
557
509
  - lib/generators/sunrise/install_generator.rb
510
+ - lib/generators/sunrise/templates/assets/plugins.css
511
+ - lib/generators/sunrise/templates/assets/plugins.js
558
512
  - lib/generators/sunrise/templates/config/active_record/sunrise.rb
559
513
  - lib/generators/sunrise/templates/config/database.yml
560
514
  - lib/generators/sunrise/templates/config/logrotate-config
@@ -562,6 +516,7 @@ files:
562
516
  - lib/generators/sunrise/templates/config/nginx-passenger
563
517
  - lib/generators/sunrise/templates/config/nginx-unicorn
564
518
  - lib/generators/sunrise/templates/config/seeds.rb
519
+ - lib/generators/sunrise/templates/gitignore
565
520
  - lib/generators/sunrise/templates/models/active_record/ability.rb
566
521
  - lib/generators/sunrise/templates/models/active_record/asset.rb
567
522
  - lib/generators/sunrise/templates/models/active_record/attachment_file.rb
@@ -659,8 +614,10 @@ files:
659
614
  - spec/controllers/sunrise/manager_controller_spec.rb
660
615
  - spec/controllers/sunrise/settings_controller_spec.rb
661
616
  - spec/dummy/app/assets/javascripts/application.js
617
+ - spec/dummy/app/assets/javascripts/sunrise/plugins.js
662
618
  - spec/dummy/app/assets/javascripts/welcome.js
663
619
  - spec/dummy/app/assets/stylesheets/application.css
620
+ - spec/dummy/app/assets/stylesheets/sunrise/plugins.css
664
621
  - spec/dummy/app/assets/stylesheets/welcome.css
665
622
  - spec/dummy/app/controllers/application_controller.rb
666
623
  - spec/dummy/app/controllers/welcome_controller.rb
@@ -748,35 +705,36 @@ files:
748
705
  - spec/support/hooks/structure.rb
749
706
  homepage: https://github.com/galetahub/sunrise
750
707
  licenses: []
708
+ metadata: {}
751
709
  post_install_message:
752
710
  rdoc_options: []
753
711
  require_paths:
754
712
  - lib
755
713
  required_ruby_version: !ruby/object:Gem::Requirement
756
- none: false
757
714
  requirements:
758
- - - ! '>='
715
+ - - '>='
759
716
  - !ruby/object:Gem::Version
760
717
  version: '0'
761
718
  required_rubygems_version: !ruby/object:Gem::Requirement
762
- none: false
763
719
  requirements:
764
- - - ! '>'
720
+ - - '>'
765
721
  - !ruby/object:Gem::Version
766
722
  version: 1.3.1
767
723
  requirements: []
768
724
  rubyforge_project: sunrise-cms
769
- rubygems_version: 1.8.25
725
+ rubygems_version: 2.1.11
770
726
  signing_key:
771
- specification_version: 3
727
+ specification_version: 4
772
728
  summary: Rails CMS
773
729
  test_files:
774
730
  - spec/controllers/sunrise/dashboard_controller_spec.rb
775
731
  - spec/controllers/sunrise/manager_controller_spec.rb
776
732
  - spec/controllers/sunrise/settings_controller_spec.rb
777
733
  - spec/dummy/app/assets/javascripts/application.js
734
+ - spec/dummy/app/assets/javascripts/sunrise/plugins.js
778
735
  - spec/dummy/app/assets/javascripts/welcome.js
779
736
  - spec/dummy/app/assets/stylesheets/application.css
737
+ - spec/dummy/app/assets/stylesheets/sunrise/plugins.css
780
738
  - spec/dummy/app/assets/stylesheets/welcome.css
781
739
  - spec/dummy/app/controllers/application_controller.rb
782
740
  - spec/dummy/app/controllers/welcome_controller.rb