-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#5 Why: So that we can run one command to unpack everything that the CMS needs to run. This change addresses the need by: Add gem dependencies to the gemspec file and adding a rails generator to run the active admin install.
- Loading branch information
Showing
3 changed files
with
208 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,211 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
atomic_cms (0.0.1) | ||
activeadmin (= 1.0.0.pre2) | ||
angularjs-rails (~> 1.3, < 1.4) | ||
atomic_assets (~> 0.0.4) | ||
jquery-rails (~> 4.0, >= 4.0.3) | ||
rails (~> 4.2) | ||
redcarpet (~> 3.3) | ||
slim-rails (~> 3.0) | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (4.2.4) | ||
actionpack (= 4.2.4) | ||
actionview (= 4.2.4) | ||
activejob (= 4.2.4) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
actionpack (4.2.4) | ||
actionview (= 4.2.4) | ||
activesupport (= 4.2.4) | ||
rack (~> 1.6) | ||
rack-test (~> 0.6.2) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (4.2.4) | ||
activesupport (= 4.2.4) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
activeadmin (1.0.0.pre2) | ||
arbre (~> 1.0, >= 1.0.2) | ||
bourbon | ||
coffee-rails | ||
formtastic (~> 3.1) | ||
formtastic_i18n | ||
inherited_resources (~> 1.6) | ||
jquery-rails | ||
jquery-ui-rails | ||
kaminari (~> 0.15) | ||
rails (>= 3.2, < 5.0) | ||
ransack (~> 1.3) | ||
sass-rails | ||
activejob (4.2.4) | ||
activesupport (= 4.2.4) | ||
globalid (>= 0.3.0) | ||
activemodel (4.2.4) | ||
activesupport (= 4.2.4) | ||
builder (~> 3.1) | ||
activerecord (4.2.4) | ||
activemodel (= 4.2.4) | ||
activesupport (= 4.2.4) | ||
arel (~> 6.0) | ||
activesupport (4.2.4) | ||
i18n (~> 0.7) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
angularjs-rails (1.3.15) | ||
arbre (1.0.3) | ||
activesupport (>= 3.0.0) | ||
arel (6.0.3) | ||
atomic_assets (0.0.4) | ||
draper (~> 2.1) | ||
bourbon (4.2.5) | ||
sass (~> 3.4) | ||
thor (~> 0.19) | ||
builder (3.2.2) | ||
coffee-rails (4.1.0) | ||
coffee-script (>= 2.2.0) | ||
railties (>= 4.0.0, < 5.0) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.9.1.1) | ||
diff-lcs (1.2.5) | ||
rspec-core (3.3.1) | ||
draper (2.1.0) | ||
actionpack (>= 3.0) | ||
activemodel (>= 3.0) | ||
activesupport (>= 3.0) | ||
request_store (~> 1.0) | ||
erubis (2.7.0) | ||
execjs (2.6.0) | ||
formtastic (3.1.3) | ||
actionpack (>= 3.2.13) | ||
formtastic_i18n (0.4.1) | ||
globalid (0.3.6) | ||
activesupport (>= 4.1.0) | ||
has_scope (0.6.0) | ||
actionpack (>= 3.2, < 5) | ||
activesupport (>= 3.2, < 5) | ||
i18n (0.7.0) | ||
inherited_resources (1.6.0) | ||
actionpack (>= 3.2, < 5) | ||
has_scope (~> 0.6.0.rc) | ||
railties (>= 3.2, < 5) | ||
responders | ||
jquery-rails (4.0.5) | ||
rails-dom-testing (~> 1.0) | ||
railties (>= 4.2.0) | ||
thor (>= 0.14, < 2.0) | ||
jquery-ui-rails (5.0.5) | ||
railties (>= 3.2.16) | ||
json (1.8.3) | ||
kaminari (0.16.3) | ||
actionpack (>= 3.0.0) | ||
activesupport (>= 3.0.0) | ||
loofah (2.0.3) | ||
nokogiri (>= 1.5.9) | ||
mail (2.6.3) | ||
mime-types (>= 1.16, < 3) | ||
mime-types (2.6.2) | ||
mini_portile (0.6.2) | ||
minitest (5.8.1) | ||
nokogiri (1.6.6.2) | ||
mini_portile (~> 0.6.0) | ||
polyamorous (1.2.0) | ||
activerecord (>= 3.0) | ||
rack (1.6.4) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (4.2.4) | ||
actionmailer (= 4.2.4) | ||
actionpack (= 4.2.4) | ||
actionview (= 4.2.4) | ||
activejob (= 4.2.4) | ||
activemodel (= 4.2.4) | ||
activerecord (= 4.2.4) | ||
activesupport (= 4.2.4) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 4.2.4) | ||
sprockets-rails | ||
rails-deprecated_sanitizer (1.0.3) | ||
activesupport (>= 4.2.0.alpha) | ||
rails-dom-testing (1.0.7) | ||
activesupport (>= 4.2.0.beta, < 5.0) | ||
nokogiri (~> 1.6.0) | ||
rails-deprecated_sanitizer (>= 1.0.1) | ||
rails-html-sanitizer (1.0.2) | ||
loofah (~> 2.0) | ||
railties (4.2.4) | ||
actionpack (= 4.2.4) | ||
activesupport (= 4.2.4) | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rake (10.4.2) | ||
ransack (1.7.0) | ||
actionpack (>= 3.0) | ||
activerecord (>= 3.0) | ||
activesupport (>= 3.0) | ||
i18n | ||
polyamorous (~> 1.2) | ||
redcarpet (3.3.2) | ||
request_store (1.2.0) | ||
responders (2.1.0) | ||
railties (>= 4.2.0, < 5) | ||
rspec-core (3.3.2) | ||
rspec-support (~> 3.3.0) | ||
rspec-expectations (3.3.0) | ||
rspec-expectations (3.3.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.3.0) | ||
rspec-mocks (3.3.0) | ||
rspec-mocks (3.3.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.3.0) | ||
rspec-support (3.3.0) | ||
sass (3.4.18) | ||
sass-rails (5.0.4) | ||
railties (>= 4.0.0, < 5.0) | ||
sass (~> 3.1) | ||
sprockets (>= 2.8, < 4.0) | ||
sprockets-rails (>= 2.0, < 4.0) | ||
tilt (>= 1.1, < 3) | ||
slim (3.0.6) | ||
temple (~> 0.7.3) | ||
tilt (>= 1.3.3, < 2.1) | ||
slim-rails (3.0.1) | ||
actionmailer (>= 3.1, < 5.0) | ||
actionpack (>= 3.1, < 5.0) | ||
activesupport (>= 3.1, < 5.0) | ||
railties (>= 3.1, < 5.0) | ||
slim (~> 3.0) | ||
sprockets (3.3.4) | ||
rack (~> 1.0) | ||
sprockets-rails (2.3.3) | ||
actionpack (>= 3.0) | ||
activesupport (>= 3.0) | ||
sprockets (>= 2.8, < 4.0) | ||
temple (0.7.6) | ||
thor (0.19.1) | ||
thread_safe (0.3.5) | ||
tilt (2.0.1) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
rspec-core (~> 3.3.0) | ||
rspec-expectations (~> 3.3.0) | ||
rspec-mocks (~> 3.3.0) | ||
rspec-support (~> 3.3.0) | ||
atomic_cms! | ||
rspec-core (~> 3.3) | ||
rspec-expectations (~> 3.3) | ||
rspec-mocks (~> 3.3) | ||
rspec-support (~> 3.3) | ||
|
||
BUNDLED WITH | ||
1.10.3 | ||
1.10.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
class InstallCmsGenerator < Rails::Generators::Base | ||
def install_active_admin | ||
flags = [] | ||
flags << '--skip-users' unless Gem.loaded_specs.keys.include?('devise') | ||
|
||
generate 'active_admin:install', flags | ||
run command | ||
end | ||
end |