alchemy_cms 3.1.0.beta4 → 3.1.0.beta5

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: 0c7ef4a778e3a0130f1c0422d5a51d5d3c256f2f
4
- data.tar.gz: 91ec8dc7bf118c1f1f315e81410d5edc7477d4ab
3
+ metadata.gz: d78b3cd4366f28718898767bfd2212e69395d267
4
+ data.tar.gz: 140a0432a7d56ebf61bea01496a2a595dc4d01d2
5
5
  SHA512:
6
- metadata.gz: 44cd5e491679b63345d203a96d8695f4001583b27d53e78d2579fbca611b5d6cb8c6e86b9339e66436e54e0ff811f70fcf23021244e79e74429f0fff59109646
7
- data.tar.gz: 0fcdb8fdbfc4077baa2f874e07b8de953ba43e5638ca0f38fdb348fda50ead3a0ecfeb5ddc0cf4b684f76ab3293ea57969c5a6c46ce0890b846c043851272c8b
6
+ metadata.gz: 27f13644e9cb1b682087d700fc8bc8832bc631eec3050afceb6de0c208b2529240bf4c305e6834d6be3a0108cd5e0450c4a2760711fcc1280db8e100b12aaa39
7
+ data.tar.gz: cf7ea49cb254531558138aa382e3cdba384e318dcadf7545abc467bb04393308a6fa71c5713faf3747ef6d38a4d2a92156d9217a1cfa4d3bfe7a509c352cc93c
data/Gemfile CHANGED
@@ -9,14 +9,10 @@ end
9
9
  # Code coverage plattform
10
10
  gem 'coveralls', require: false
11
11
 
12
- gem 'database_cleaner'
13
-
14
12
  group :test do
15
13
  gem 'sqlite3' if ENV['DB'].nil? || ENV['DB'] == 'sqlite'
16
14
  gem 'mysql2' if ENV['DB'] == 'mysql'
17
15
  gem 'pg' if ENV['DB'] == 'postgresql'
18
- gem 'poltergeist'
19
- gem 'rspec-activemodel-mocks'
20
16
  unless ENV['CI']
21
17
  gem 'launchy'
22
18
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
26
26
  gem.add_runtime_dependency 'awesome_nested_set', ['~> 3.0.0']
27
27
  gem.add_runtime_dependency 'cancancan', ['~> 1.9']
28
28
  gem.add_runtime_dependency 'coffee-rails', ['~> 4.0']
29
- gem.add_runtime_dependency 'compass-rails', ['>= 1.1.2']
29
+ gem.add_runtime_dependency 'compass-rails', ['~> 1.1']
30
30
  gem.add_runtime_dependency 'dragonfly', ['~> 1.0.1']
31
31
  gem.add_runtime_dependency 'jquery-rails', ['~> 3.1.0']
32
32
  gem.add_runtime_dependency 'jquery-ui-rails', ['~> 5.0.0']
@@ -35,18 +35,19 @@ Gem::Specification.new do |gem|
35
35
  gem.add_runtime_dependency 'non-stupid-digest-assets', ['~> 1.0.3']
36
36
  gem.add_runtime_dependency 'rails', ['>= 4.0', '< 4.2']
37
37
  gem.add_runtime_dependency 'request_store', ['~> 1.1.0']
38
- gem.add_runtime_dependency 'sass-rails', ['~> 4.0.5']
38
+ gem.add_runtime_dependency 'sass-rails', ['~> 4.0']
39
39
  gem.add_runtime_dependency 'sassy-buttons', ['~> 0.2.6']
40
40
  gem.add_runtime_dependency 'select2-rails', ['>= 3.5.9.1', '< 4.0']
41
41
  gem.add_runtime_dependency 'simple_form', ['~> 3.0']
42
42
  gem.add_runtime_dependency 'spinner.rb'
43
- gem.add_runtime_dependency 'sprockets', ['~> 2.11.3']
44
43
  gem.add_runtime_dependency 'turbolinks', ['~> 2.5']
45
44
  gem.add_runtime_dependency 'tvdeyen-handles_sortable_columns', ['~> 0.1.5']
46
- gem.add_runtime_dependency 'uglifier', ['>= 1.3.0']
47
45
 
48
- gem.add_development_dependency 'capybara'
49
- gem.add_development_dependency 'factory_girl_rails'
46
+ gem.add_development_dependency 'capybara', ['~> 2.4']
47
+ gem.add_development_dependency 'database_cleaner', ['~> 1.3']
48
+ gem.add_development_dependency 'factory_girl_rails', ['~> 4.5']
49
+ gem.add_development_dependency 'poltergeist', ['~> 1.5']
50
+ gem.add_development_dependency 'rspec-activemodel-mocks', ['~> 1.0']
50
51
  gem.add_development_dependency 'rspec-rails', ['~> 3.0']
51
52
 
52
53
  gem.post_install_message =<<-MSG
@@ -33,11 +33,7 @@ class AlchemyInstaller < Thor
33
33
  system("#{rake_cmd} alchemy:install from_binary=true") || exit!(1)
34
34
  say "\nStep 3: Installing Alchemy User into Rails app", :yellow
35
35
  say "Please wait...", :yellow
36
- system("#{rake_cmd} alchemy_devise:install:migrations") || exit!(1)
37
- say "Done.", :green
38
- say "\nStep 4: Setting up the database", :yellow
39
- say "Please wait...", :yellow
40
- system("#{rake_cmd} db:migrate") || exit!(1)
36
+ system("#{rails_cmd} g alchemy:devise:install") || exit!(1)
41
37
  say "Done.", :green
42
38
  cleanup
43
39
  say "\nSuccessfully installed Alchemy CMS\n", :green
@@ -53,7 +49,15 @@ class AlchemyInstaller < Thor
53
49
  end
54
50
 
55
51
  def rake_cmd
56
- "cd #{@application} && bundle exec rake"
52
+ "#{bundle_cmd} rake"
53
+ end
54
+
55
+ def rails_cmd
56
+ "#{bundle_cmd} rails"
57
+ end
58
+
59
+ def bundle_cmd
60
+ "cd #{@application} && bundle exec"
57
61
  end
58
62
 
59
63
  def alchemy_template
@@ -1,3 +1,5 @@
1
+ require 'factory_girl'
2
+
1
3
  FactoryGirl.define do
2
4
 
3
5
  factory :user, class: 'DummyUser' do
@@ -1,5 +1,5 @@
1
1
  module Alchemy
2
- VERSION = "3.1.0.beta4"
2
+ VERSION = "3.1.0.beta5"
3
3
 
4
4
  def self.version
5
5
  VERSION
@@ -2,5 +2,5 @@
2
2
  require File.expand_path('../../../alchemy/version', __FILE__)
3
3
 
4
4
  gem 'alchemy_cms', "#{Alchemy::VERSION}"
5
- gem 'alchemy-devise', '>= 2.1.0.beta2'
5
+ gem 'alchemy-devise', '>= 2.1.0.beta3'
6
6
  gem 'capistrano', '~> 2.15.5', group: 'development'
@@ -13,9 +13,21 @@ ENV["RAILS_ENV"] = "test"
13
13
 
14
14
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
15
15
 
16
- require "rails/test_help"
17
- require "rspec/rails"
18
- require 'factory_girl'
16
+ require 'alchemy/seeder'
17
+ require 'alchemy/test_support/auth_helpers'
18
+ require 'alchemy/test_support/controller_requests'
19
+ require 'alchemy/test_support/integration_helpers'
20
+ require 'alchemy/test_support/essence_shared_examples'
21
+ require 'alchemy/test_support/factories'
22
+ require 'capybara/poltergeist'
23
+ require 'capybara/rails'
24
+ require 'database_cleaner'
25
+ require 'rails/test_help'
26
+ require 'rspec-activemodel-mocks'
27
+ require 'rspec/rails'
28
+
29
+ require_relative "support/hint_examples.rb"
30
+ require_relative "support/transformation_examples.rb"
19
31
 
20
32
  ActionMailer::Base.delivery_method = :test
21
33
  ActionMailer::Base.perform_deliveries = true
@@ -25,17 +37,6 @@ Rails.backtrace_cleaner.remove_silencers!
25
37
  # Disable rails loggin for faster IO. Remove this if you want to have a test.log
26
38
  Rails.logger.level = 4
27
39
 
28
- require "capybara/rails"
29
- require 'capybara/poltergeist'
30
- require 'alchemy/seeder'
31
- require 'alchemy/test_support/auth_helpers'
32
- require 'alchemy/test_support/controller_requests'
33
- require 'alchemy/test_support/integration_helpers'
34
- require 'alchemy/test_support/factories'
35
- require 'alchemy/test_support/essence_shared_examples'
36
- require_relative "support/hint_examples.rb"
37
- require_relative "support/transformation_examples.rb"
38
-
39
40
  # Configure capybara for integration testing
40
41
  Capybara.default_driver = :rack_test
41
42
  Capybara.default_selector = :css
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.beta4
4
+ version: 3.1.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -122,16 +122,16 @@ dependencies:
122
122
  name: compass-rails
123
123
  requirement: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ">="
125
+ - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: 1.1.2
127
+ version: '1.1'
128
128
  type: :runtime
129
129
  prerelease: false
130
130
  version_requirements: !ruby/object:Gem::Requirement
131
131
  requirements:
132
- - - ">="
132
+ - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: 1.1.2
134
+ version: '1.1'
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: dragonfly
137
137
  requirement: !ruby/object:Gem::Requirement
@@ -256,14 +256,14 @@ dependencies:
256
256
  requirements:
257
257
  - - "~>"
258
258
  - !ruby/object:Gem::Version
259
- version: 4.0.5
259
+ version: '4.0'
260
260
  type: :runtime
261
261
  prerelease: false
262
262
  version_requirements: !ruby/object:Gem::Requirement
263
263
  requirements:
264
264
  - - "~>"
265
265
  - !ruby/object:Gem::Version
266
- version: 4.0.5
266
+ version: '4.0'
267
267
  - !ruby/object:Gem::Dependency
268
268
  name: sassy-buttons
269
269
  requirement: !ruby/object:Gem::Requirement
@@ -327,89 +327,103 @@ dependencies:
327
327
  - !ruby/object:Gem::Version
328
328
  version: '0'
329
329
  - !ruby/object:Gem::Dependency
330
- name: sprockets
330
+ name: turbolinks
331
331
  requirement: !ruby/object:Gem::Requirement
332
332
  requirements:
333
333
  - - "~>"
334
334
  - !ruby/object:Gem::Version
335
- version: 2.11.3
335
+ version: '2.5'
336
336
  type: :runtime
337
337
  prerelease: false
338
338
  version_requirements: !ruby/object:Gem::Requirement
339
339
  requirements:
340
340
  - - "~>"
341
341
  - !ruby/object:Gem::Version
342
- version: 2.11.3
342
+ version: '2.5'
343
343
  - !ruby/object:Gem::Dependency
344
- name: turbolinks
344
+ name: tvdeyen-handles_sortable_columns
345
345
  requirement: !ruby/object:Gem::Requirement
346
346
  requirements:
347
347
  - - "~>"
348
348
  - !ruby/object:Gem::Version
349
- version: '2.5'
349
+ version: 0.1.5
350
350
  type: :runtime
351
351
  prerelease: false
352
352
  version_requirements: !ruby/object:Gem::Requirement
353
353
  requirements:
354
354
  - - "~>"
355
355
  - !ruby/object:Gem::Version
356
- version: '2.5'
356
+ version: 0.1.5
357
357
  - !ruby/object:Gem::Dependency
358
- name: tvdeyen-handles_sortable_columns
358
+ name: capybara
359
359
  requirement: !ruby/object:Gem::Requirement
360
360
  requirements:
361
361
  - - "~>"
362
362
  - !ruby/object:Gem::Version
363
- version: 0.1.5
364
- type: :runtime
363
+ version: '2.4'
364
+ type: :development
365
365
  prerelease: false
366
366
  version_requirements: !ruby/object:Gem::Requirement
367
367
  requirements:
368
368
  - - "~>"
369
369
  - !ruby/object:Gem::Version
370
- version: 0.1.5
370
+ version: '2.4'
371
371
  - !ruby/object:Gem::Dependency
372
- name: uglifier
372
+ name: database_cleaner
373
373
  requirement: !ruby/object:Gem::Requirement
374
374
  requirements:
375
- - - ">="
375
+ - - "~>"
376
376
  - !ruby/object:Gem::Version
377
- version: 1.3.0
378
- type: :runtime
377
+ version: '1.3'
378
+ type: :development
379
379
  prerelease: false
380
380
  version_requirements: !ruby/object:Gem::Requirement
381
381
  requirements:
382
- - - ">="
382
+ - - "~>"
383
383
  - !ruby/object:Gem::Version
384
- version: 1.3.0
384
+ version: '1.3'
385
385
  - !ruby/object:Gem::Dependency
386
- name: capybara
386
+ name: factory_girl_rails
387
387
  requirement: !ruby/object:Gem::Requirement
388
388
  requirements:
389
- - - ">="
389
+ - - "~>"
390
390
  - !ruby/object:Gem::Version
391
- version: '0'
391
+ version: '4.5'
392
392
  type: :development
393
393
  prerelease: false
394
394
  version_requirements: !ruby/object:Gem::Requirement
395
395
  requirements:
396
- - - ">="
396
+ - - "~>"
397
397
  - !ruby/object:Gem::Version
398
- version: '0'
398
+ version: '4.5'
399
399
  - !ruby/object:Gem::Dependency
400
- name: factory_girl_rails
400
+ name: poltergeist
401
401
  requirement: !ruby/object:Gem::Requirement
402
402
  requirements:
403
- - - ">="
403
+ - - "~>"
404
404
  - !ruby/object:Gem::Version
405
- version: '0'
405
+ version: '1.5'
406
406
  type: :development
407
407
  prerelease: false
408
408
  version_requirements: !ruby/object:Gem::Requirement
409
409
  requirements:
410
- - - ">="
410
+ - - "~>"
411
411
  - !ruby/object:Gem::Version
412
- version: '0'
412
+ version: '1.5'
413
+ - !ruby/object:Gem::Dependency
414
+ name: rspec-activemodel-mocks
415
+ requirement: !ruby/object:Gem::Requirement
416
+ requirements:
417
+ - - "~>"
418
+ - !ruby/object:Gem::Version
419
+ version: '1.0'
420
+ type: :development
421
+ prerelease: false
422
+ version_requirements: !ruby/object:Gem::Requirement
423
+ requirements:
424
+ - - "~>"
425
+ - !ruby/object:Gem::Version
426
+ version: '1.0'
413
427
  - !ruby/object:Gem::Dependency
414
428
  name: rspec-rails
415
429
  requirement: !ruby/object:Gem::Requirement