appscrolls 0.8.4 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/ChangeLog.md +6 -0
  2. data/README.md +2 -2
  3. data/Rakefile +0 -15
  4. data/Thorfile +16 -0
  5. data/appscrolls.gemspec +0 -1
  6. data/lib/appscrolls/command.rb +19 -13
  7. data/scrolls/cfoundry.rb +68 -0
  8. data/scrolls/git.rb +1 -1
  9. data/scrolls/github.rb +11 -5
  10. data/scrolls/postgresql.rb +3 -0
  11. data/scrolls/rails_basics.rb +2 -0
  12. data/scrolls/twitter_bootstrap.rb +6 -1
  13. data/scrolls/{zzz → untested}/activerecord.rb +0 -0
  14. data/scrolls/{zzz → untested}/cancan.rb +0 -0
  15. data/scrolls/{zzz → untested}/carrierwave.rb +0 -0
  16. data/scrolls/{zzz → untested}/carrierwave_direct.rb +0 -0
  17. data/scrolls/{zzz → untested}/cartographer.rb +0 -0
  18. data/scrolls/{zzz → untested}/devise.rb +0 -0
  19. data/scrolls/{zzz → untested}/devise_invitable.rb +0 -0
  20. data/scrolls/{zzz → untested}/event_calendar.rb +0 -0
  21. data/scrolls/{zzz → untested}/factory_girl.rb +0 -0
  22. data/scrolls/{zzz → untested}/ffaker.rb +0 -0
  23. data/scrolls/{zzz → untested}/fixture_builder.rb +0 -0
  24. data/scrolls/{zzz → untested}/forgery.rb +0 -0
  25. data/scrolls/{zzz → untested}/haml.rb +0 -0
  26. data/scrolls/{zzz → untested}/heroku.rb +0 -0
  27. data/scrolls/{zzz → untested}/hoptoad.rb +0 -0
  28. data/scrolls/{zzz → untested}/inherited_resources.rb +0 -0
  29. data/scrolls/{zzz → untested}/intercom.rb +0 -0
  30. data/scrolls/{zzz → untested}/jammit.rb +0 -0
  31. data/scrolls/{zzz → untested}/jasmine.rb +0 -0
  32. data/scrolls/{zzz → untested}/mini_magick.rb +0 -0
  33. data/scrolls/{zzz → untested}/mongo_mapper.rb +0 -0
  34. data/scrolls/{zzz → untested}/mongohq.rb +0 -0
  35. data/scrolls/{zzz → untested}/mongoid.rb +0 -0
  36. data/scrolls/{zzz → untested}/mootools.rb +0 -0
  37. data/scrolls/{zzz → untested}/newrelic.rb +0 -0
  38. data/scrolls/{zzz → untested}/nifty_generators.rb +0 -0
  39. data/scrolls/{zzz → untested}/oa_oauth.rb +0 -0
  40. data/scrolls/{zzz → untested}/omniauth.rb +0 -0
  41. data/scrolls/{zzz → untested}/paper_trail.rb +0 -0
  42. data/scrolls/{zzz → untested}/pow.rb +0 -0
  43. data/scrolls/{zzz → untested}/puma.rb +0 -0
  44. data/scrolls/{zzz → untested}/rails_dev_tweaks.rb +0 -0
  45. data/scrolls/{zzz → untested}/rails_erd.rb +0 -0
  46. data/scrolls/{zzz → untested}/rails_footnotes.rb +0 -0
  47. data/scrolls/{zzz → untested}/ransack.rb +0 -0
  48. data/scrolls/{zzz → untested}/rmagick.rb +0 -0
  49. data/scrolls/{zzz → untested}/sass.rb +0 -0
  50. data/scrolls/{zzz → untested}/sequel.rb +0 -0
  51. data/scrolls/{zzz → untested}/settingslogic.rb +0 -0
  52. data/scrolls/{zzz → untested}/shoulda_matchers.rb +0 -0
  53. data/scrolls/{zzz → untested}/sidekiq.rb +0 -0
  54. data/scrolls/{zzz → untested}/slim.rb +0 -0
  55. data/scrolls/{zzz → untested}/spork.rb +0 -0
  56. data/scrolls/{zzz → untested}/thinking_sphinx.rb +0 -0
  57. data/scrolls/{zzz → untested}/vanity.rb +0 -0
  58. data/templates/helpers.erb +22 -0
  59. data/templates/layout.erb +21 -3
  60. data/templates/{new_scroll.erb → new_scroll.tt} +4 -4
  61. data/version.rb +1 -1
  62. metadata +118 -77
data/ChangeLog.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ChangeLog
2
2
 
3
+ ## v0.9
4
+
5
+ * `cloudfoundry` - added support for uploading to cloudfoundry
6
+ * `github` - now uses `hub` project instead of `github` gem
7
+ * `postgresql` - database.yml includes "host: localhost" for each env
8
+
3
9
  ## v0.8
4
10
 
5
11
  * `postgresql` - supported on `eycloud` (Currently PostgreSQL 9.1)
data/README.md CHANGED
@@ -12,7 +12,7 @@ The App Scrolls is a magical tool to generate new Rails and modify existing Rail
12
12
 
13
13
  * Follow on twitter [@appscrolls][9]
14
14
  * [![Build Status](https://secure.travis-ci.org/drnic/appscrolls.png?branch=master)](http://travis-ci.org/drnic/appscrolls)
15
- * [![Dependency Status](https://gemnasium.com/drnic/appscrolls.png?travis)](https://gemnasium.com/drnic/appscrolls)
15
+ * [![Dependency Status](https://gemnasium.com/drnic/appscrolls.png?branch=master)](https://gemnasium.com/drnic/appscrolls)
16
16
 
17
17
  An example application that was built by the App Scrolls is at [https://github.com/drnic/mydemoapp][14]. The generated README shows all the scrolls that were included.
18
18
 
@@ -111,7 +111,7 @@ The App Scrolls needs a CloudFoundry Master to support CloudFoundry for the App
111
111
 
112
112
  Create new scrolls using:
113
113
 
114
- rake new NAME=scroll-name
114
+ thor :new scroll-name
115
115
 
116
116
  Submitting a scroll is actually a very straightforward process. Scrolls are made of up **template code** and **YAML back-matter** stored in a ruby file. The `__END__` parsing convention is used so that each scroll is actually a valid, parseable Ruby file. The structure of a scroll looks something like this:
117
117
 
data/Rakefile CHANGED
@@ -45,21 +45,6 @@ task :print do
45
45
  puts AppScrollsScrolls::Template.new(scrolls).compile
46
46
  end
47
47
 
48
- desc "Create a new scroll"
49
- task :new do
50
- unless (name = ENV['NAME']) && name.size > 0
51
- $stderr.puts "USAGE: rake new NAME=scroll-name"
52
- exit 1
53
- end
54
- require 'active_support/inflector'
55
- require 'erb'
56
- require 'appscrolls/template'
57
- scroll = AppScrollsScrolls::Template.render("new_scroll", binding)
58
- scroll_path = "scrolls/#{name}.rb"
59
- File.open(scroll_path, "w") { |file| file << scroll }
60
- `open #{scroll_path}`
61
- end
62
-
63
48
  namespace :list do
64
49
  desc "Display scrolls by category"
65
50
  task :categories do
data/Thorfile ADDED
@@ -0,0 +1,16 @@
1
+ require 'active_support/inflector'
2
+
3
+ class Default < Thor
4
+ include Thor::Actions
5
+ attr_reader :name
6
+
7
+ source_root File.expand_path("../templates", __FILE__)
8
+
9
+ desc "new NAME", "Create a new scroll"
10
+ def new(name)
11
+ @name = name
12
+ template "new_scroll.tt", "scrolls/#{name}.rb"
13
+ `open scrolls/#{name}.rb`
14
+ end
15
+
16
+ end
data/appscrolls.gemspec CHANGED
@@ -17,7 +17,6 @@ Gem::Specification.new do |s|
17
17
  s.add_dependency "rails", "~> 3.2.2"
18
18
  s.add_dependency "json", "~> 1.7.0"
19
19
  s.add_dependency "thor"
20
- s.add_development_dependency "bundler", "~> 1.1.0"
21
20
  s.add_development_dependency "cucumber"
22
21
  s.add_development_dependency "guard-bundler"
23
22
  s.add_development_dependency "guard-cucumber"
@@ -13,10 +13,12 @@ module AppScrollsScrolls
13
13
  else
14
14
  @scrolls = []
15
15
 
16
- while scroll = ask("#{print_scrolls}#{bold}Which scroll would you like to add? #{clear}#{yellow}(blank to finish)#{clear}")
17
- if scroll == ''
18
- run_template(name, @scrolls)
19
- break
16
+ question = "#{bold}Which scroll would you like to add/remove? #{clear}#{yellow}(blank to finish)#{clear}"
17
+ while (scroll = ask(scrolls_message + question)) != ''
18
+ if @scrolls.include?(scroll)
19
+ @scrolls.delete(scroll)
20
+ puts
21
+ puts "> #{yellow}Removed '#{scroll}' from template.#{clear}"
20
22
  elsif AppScrollsScrolls::Scrolls.list.include?(scroll)
21
23
  @scrolls << scroll
22
24
  puts
@@ -26,6 +28,8 @@ module AppScrollsScrolls
26
28
  puts "> #{red}Invalid scroll, please try again.#{clear}"
27
29
  end
28
30
  end
31
+
32
+ run_template(name, @scrolls)
29
33
  end
30
34
  end
31
35
 
@@ -50,16 +54,18 @@ module AppScrollsScrolls
50
54
  def green; "\033[32m" end
51
55
  def yellow; "\033[33m" end
52
56
 
53
- def print_scrolls
54
- puts
55
- puts
56
- puts
57
+ def scrolls_message
58
+ message = "\n\n\n"
57
59
  if @scrolls && @scrolls.any?
58
- puts "#{green}#{bold}Your Scrolls:#{clear} " + @scrolls.join(", ")
59
- puts
60
+ message << "#{green}#{bold}Your Scrolls:#{clear} #{@scrolls.join(", ")}"
61
+ message << "\n\n"
60
62
  end
61
- puts "#{bold}#{cyan}Available Scrolls:#{clear} " + AppScrollsScrolls::Scrolls.list.join(', ')
62
- puts
63
+ available_scrolls = AppScrollsScrolls::Scrolls.list - @scrolls
64
+ if available_scrolls.any?
65
+ message << "#{bold}#{cyan}Available Scrolls:#{clear} #{available_scrolls.join(', ')}"
66
+ message << "\n\n"
67
+ end
68
+ message
63
69
  end
64
70
 
65
71
  def run_template(name, scrolls, display_only = false)
@@ -67,7 +73,7 @@ module AppScrollsScrolls
67
73
  puts
68
74
  puts "#{bold}Generating and Running Template...#{clear}"
69
75
  puts
70
- file = Tempfile.new('template')
76
+ file = Tempfile.new('template')
71
77
  template = AppScrollsScrolls::Template.new(scrolls)
72
78
 
73
79
  puts "Using the following scrolls:"
@@ -0,0 +1,68 @@
1
+ # Scroll is based on the following documentation
2
+ # * http://blog.cloudfoundry.com/2012/03/15/using-cloud-foundry-services-with-ruby-part-2-run-time-support-for-ruby-applications/
3
+ # * http://blog.cloudfoundry.com/2012/04/19/deploying-jruby-on-rails-applications-on-cloud-foundry/
4
+
5
+ gem 'vmc'
6
+ gem 'cf-runtime'
7
+
8
+ required_dbs = %w[mysql postgresql]
9
+
10
+ selected_db = required_dbs.find { |db| scroll? db }
11
+ unless selected_db
12
+ say_custom "cfoundry", "Please include a DB choice from: #{required_dbs.join ", "}"
13
+ exit_now = true
14
+ end
15
+
16
+ # TODO similar config for mysql
17
+ db_username = config['pg_username'] || 'root'
18
+ db_password = config['pg_password'] || ''
19
+
20
+ after_bundler do
21
+ # Must vendor everything
22
+ run "bundle package"
23
+
24
+ append_file "config/database.yml" do
25
+ <<-YAML.gsub(/^\s{2}/, '')
26
+ production:
27
+ adapter: #{selected_db}
28
+ <% require 'cfruntime/properties' %>
29
+ <% db_svc = CFRuntime::CloudApp.service_props('#{selected_db}') %>
30
+ database: <%= db_svc[:database] rescue '#{project_name}_production' %>
31
+ username: <%= db_svc[:username] rescue '#{db_username}' %>
32
+ password: <%= db_svc[:password] rescue '#{db_password}' %>
33
+ <%= db_svc && db_svc[:host] ? "host: #{db_svc[:host]}" : "" %>
34
+ <%= db_svc && db_svc[:port] ? "post: #{db_svc[:port]}" : "" %>
35
+ YAML
36
+ end
37
+ end
38
+
39
+ after_everything do
40
+ run "rake assets:precompile"
41
+ if jruby?
42
+ run "warble"
43
+ run "mkdir -p deploy"
44
+ run "cp #{project_name}.war deploy/"
45
+ end
46
+ run "vmc push #{project_name} --runtime ruby19 --path . --no-start"
47
+ run "vmc env-add #{project_name} BUNDLE_WITHOUT=assets:test:development"
48
+ run "vmc start #{project_name}"
49
+ end
50
+
51
+ __END__
52
+
53
+ name: CloudFoundry
54
+ description: Prepare codebase and perform initial deploy to a CloudFoundry target
55
+ website: http://cloudfoundry.org
56
+ author: drnic
57
+
58
+ requires: []
59
+ run_after: [postgresql, mysql]
60
+ run_before: []
61
+
62
+ category: deployment
63
+ # exclusive:
64
+
65
+ # config:
66
+ # - foo:
67
+ # type: boolean
68
+ # prompt: "Is foo true?"
data/scrolls/git.rb CHANGED
@@ -1,4 +1,4 @@
1
- after_everything do
1
+ before_everything do
2
2
  git :init
3
3
  git :add => '.'
4
4
  git :commit => '-m "Initial import."'
data/scrolls/github.rb CHANGED
@@ -1,22 +1,28 @@
1
- gem 'github', '>= 0.7.0', :require => nil, :group => [:development]
1
+ if `which hub`.strip == ""
2
+ say_custom "hub", "Please install hub. https://github.com/defunkt/hub"
3
+ exit 1
4
+ end
2
5
 
3
6
  after_everything do
4
7
  github_private = multiple_choice "Create a GitHub repository?", [["Public", false], ["Private", true]]
5
8
 
9
+ # Usage: hub create [NAME] [-p] [-d DESCRIPTION] [-h HOMEPAGE]
10
+
6
11
  tried_create_already = false
7
12
  while (@git_uri = `git config remote.origin.url`.strip) && @git_uri.size == 0
8
13
  if tried_create_already
9
- @repo_name = ask_wizard "Repository already exists. What project name?"
14
+ @repo_name = ask_wizard "Repository #{@repo_name} already exists. What project name?"
10
15
  else
11
- @repo_name = ""
16
+ @repo_name = File.basename(File.expand_path("."))
12
17
  end
13
18
  if github_private
14
- run "bundle exec gh create-from-local #{@repo_name} --private"
19
+ run "hub create #{@repo_name} -p"
15
20
  else
16
- run "bundle exec gh create-from-local #{@repo_name}"
21
+ run "hub create #{@repo_name}"
17
22
  end
18
23
  tried_create_already = true
19
24
  end
25
+ run "git push origin master"
20
26
 
21
27
  say_custom "github", "Created repo #{@git_uri}"
22
28
  end
@@ -2,6 +2,9 @@ gem "pg"
2
2
 
3
3
  gsub_file "config/database.yml", /username: .*/, "username: #{config['pg_username']}"
4
4
  gsub_file "config/database.yml", /password: .*/, "password: #{config['pg_password']}"
5
+ %w[development test production].each do |env|
6
+ gsub_file "config/database.yml", /^#{env}:/, "#{env}:\n host: localhost"
7
+ end
5
8
 
6
9
  after_bundler do
7
10
  rake "db:create:all"
@@ -1,6 +1,8 @@
1
1
  # create rvmrc file
2
2
  # create_file ".rvmrc", "rvm gemset create '#{app_name}' \nrvm gemset use '#{app_name}'"
3
3
 
4
+ gem "warbler" if jruby?
5
+
4
6
  after_bundler do
5
7
  # clean up rails defaults
6
8
  remove_file "public/index.html"
@@ -1,6 +1,11 @@
1
1
  gem_group :assets do
2
2
  gem 'twitter-bootstrap-rails'
3
- gem 'therubyracer'
3
+ gem 'less-rails'
4
+ if jruby?
5
+ gem 'therubyrhino'
6
+ else
7
+ gem 'therubyracer'
8
+ end
4
9
  end
5
10
 
6
11
  after_bundler do
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -34,12 +34,34 @@ def multiple_choice(question, choices)
34
34
  values[answer]
35
35
  end
36
36
 
37
+ # Is the current ruby jruby?
38
+ def jruby?
39
+ @jruby ||= `ruby -v` =~ /^jruby/
40
+ end
41
+
42
+ def project_name
43
+ @project_name ||= File.basename(File.expand_path("."))
44
+ end
45
+
37
46
  @current_scroll = nil
38
47
  @configs = {}
39
48
 
49
+ @before_everything_blocks = []
50
+ def before_everything(&block); @before_everything_blocks << [@current_scroll, block]; end
40
51
  @after_blocks = []
41
52
  def after_bundler(&block); @after_blocks << [@current_scroll, block]; end
42
53
  @after_everything_blocks = []
43
54
  def after_everything(&block); @after_everything_blocks << [@current_scroll, block]; end
44
55
  @before_configs = {}
45
56
  def before_config(&block); @before_configs[@current_scroll] = block; end
57
+
58
+ def git_commit(message)
59
+ `git add .`
60
+ `git commit -m "#{message}"`
61
+ end
62
+
63
+ def execute_block(block)
64
+ config = @configs[block[0]] || {}
65
+ @current_scroll = block[0];
66
+ block[1].call
67
+ end
data/templates/layout.erb CHANGED
@@ -19,6 +19,7 @@ end
19
19
  RUBY
20
20
 
21
21
  @scrolls = <%= resolve_scrolls.map(&:key).inspect %>
22
+ use_git = @scrolls.include?('git')
22
23
 
23
24
  <%= render "helpers" %>
24
25
 
@@ -26,6 +27,13 @@ RUBY
26
27
  <%= render 'scroll', scroll.get_binding %>
27
28
  <% end %>
28
29
 
30
+
31
+ say_wizard "Running before_everything callbacks."
32
+ @before_everything_blocks.each do |b|
33
+ execute_block(b)
34
+ git_commit("recipe : '#{b.first}'") if use_git
35
+ end
36
+
29
37
  <% if custom_code? %># >-----------------------------[ Custom Code ]-------------------------------<
30
38
 
31
39
  <%= custom_code %><% end %>
@@ -36,9 +44,19 @@ RUBY
36
44
 
37
45
  say_wizard "Running Bundler install. This will take a while."
38
46
  run 'bundle install'
47
+ git_commit("bundle install") if use_git
48
+
49
+
39
50
  say_wizard "Running after Bundler callbacks."
40
- @after_blocks.each{|b| config = @configs[b[0]] || {}; @current_scroll = b[0]; b[1].call}
51
+ @after_blocks.each do |b|
52
+ execute_block(b)
53
+ git_commit("recipe : '#{b.first}'") if use_git
54
+ end
41
55
 
42
56
  @current_scroll = nil
43
- say_wizard "Running after everything callbacks."
44
- @after_everything_blocks.each{|b| config = @configs[b[0]] || {}; @current_scroll = b[0]; b[1].call}
57
+ say_wizard "Running after_everything callbacks."
58
+ @after_everything_blocks.each do |b|
59
+ execute_block(b)
60
+ git_commit("recipe : '#{b.first}'") if use_git
61
+ end
62
+
@@ -1,17 +1,17 @@
1
1
  gem '<%= name %>'
2
2
 
3
3
  after_bundler do
4
-
4
+
5
5
  end
6
6
 
7
7
  after_everything do
8
-
8
+
9
9
  end
10
10
 
11
11
  __END__
12
12
 
13
13
  name: <%= name.humanize.capitalize %>
14
- description:
14
+ description:
15
15
  website:
16
16
  author: <%= `whoami`.strip %>
17
17
 
@@ -20,7 +20,7 @@ run_after: []
20
20
  run_before: []
21
21
 
22
22
  category: other # authentication, testing, persistence, javascript, css, services, deployment, and templating
23
- # exclusive:
23
+ # exclusive:
24
24
 
25
25
  # config:
26
26
  # - foo:
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module AppScrollsScrolls
2
- VERSION = "0.8.4"
2
+ VERSION = "0.9.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscrolls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.9.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-02 00:00:00.000000000 Z
13
+ date: 2012-12-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
17
- requirement: &70219846560900 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70219846560900
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: '3.0'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: i18n
28
- requirement: &70219846560440 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ! '>='
@@ -33,10 +38,15 @@ dependencies:
33
38
  version: '0'
34
39
  type: :runtime
35
40
  prerelease: false
36
- version_requirements: *70219846560440
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: rails
39
- requirement: &70219846559820 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ~>
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: 3.2.2
45
55
  type: :runtime
46
56
  prerelease: false
47
- version_requirements: *70219846559820
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 3.2.2
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: json
50
- requirement: &70219846559140 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ~>
@@ -55,10 +70,15 @@ dependencies:
55
70
  version: 1.7.0
56
71
  type: :runtime
57
72
  prerelease: false
58
- version_requirements: *70219846559140
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 1.7.0
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: thor
61
- requirement: &70219846558600 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
84
  - - ! '>='
@@ -66,21 +86,15 @@ dependencies:
66
86
  version: '0'
67
87
  type: :runtime
68
88
  prerelease: false
69
- version_requirements: *70219846558600
70
- - !ruby/object:Gem::Dependency
71
- name: bundler
72
- requirement: &70219846557480 !ruby/object:Gem::Requirement
89
+ version_requirements: !ruby/object:Gem::Requirement
73
90
  none: false
74
91
  requirements:
75
- - - ~>
92
+ - - ! '>='
76
93
  - !ruby/object:Gem::Version
77
- version: 1.1.0
78
- type: :development
79
- prerelease: false
80
- version_requirements: *70219846557480
94
+ version: '0'
81
95
  - !ruby/object:Gem::Dependency
82
96
  name: cucumber
83
- requirement: &70219846556580 !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
84
98
  none: false
85
99
  requirements:
86
100
  - - ! '>='
@@ -88,10 +102,15 @@ dependencies:
88
102
  version: '0'
89
103
  type: :development
90
104
  prerelease: false
91
- version_requirements: *70219846556580
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
92
111
  - !ruby/object:Gem::Dependency
93
112
  name: guard-bundler
94
- requirement: &70219846555540 !ruby/object:Gem::Requirement
113
+ requirement: !ruby/object:Gem::Requirement
95
114
  none: false
96
115
  requirements:
97
116
  - - ! '>='
@@ -99,10 +118,15 @@ dependencies:
99
118
  version: '0'
100
119
  type: :development
101
120
  prerelease: false
102
- version_requirements: *70219846555540
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
103
127
  - !ruby/object:Gem::Dependency
104
128
  name: guard-cucumber
105
- requirement: &70219846554820 !ruby/object:Gem::Requirement
129
+ requirement: !ruby/object:Gem::Requirement
106
130
  none: false
107
131
  requirements:
108
132
  - - ! '>='
@@ -110,10 +134,15 @@ dependencies:
110
134
  version: '0'
111
135
  type: :development
112
136
  prerelease: false
113
- version_requirements: *70219846554820
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
114
143
  - !ruby/object:Gem::Dependency
115
144
  name: guard-rspec
116
- requirement: &70219846553460 !ruby/object:Gem::Requirement
145
+ requirement: !ruby/object:Gem::Requirement
117
146
  none: false
118
147
  requirements:
119
148
  - - ! '>='
@@ -121,10 +150,15 @@ dependencies:
121
150
  version: '0'
122
151
  type: :development
123
152
  prerelease: false
124
- version_requirements: *70219846553460
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
125
159
  - !ruby/object:Gem::Dependency
126
160
  name: rspec
127
- requirement: &70219846568880 !ruby/object:Gem::Requirement
161
+ requirement: !ruby/object:Gem::Requirement
128
162
  none: false
129
163
  requirements:
130
164
  - - ! '>='
@@ -132,7 +166,12 @@ dependencies:
132
166
  version: '0'
133
167
  type: :development
134
168
  prerelease: false
135
- version_requirements: *70219846568880
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
136
175
  description: The App Scrolls is a magical tool to generate new Rails and modify existing
137
176
  Rails applications (coming) to include your favourite, powerful magic.
138
177
  email:
@@ -153,6 +192,7 @@ files:
153
192
  - MIT_LICENSE
154
193
  - README.md
155
194
  - Rakefile
195
+ - Thorfile
156
196
  - appscrolls.gemspec
157
197
  - bin/appscrolls
158
198
  - bin/scrolls
@@ -170,6 +210,7 @@ files:
170
210
  - sample.rb
171
211
  - scrolls/active_admin.rb
172
212
  - scrolls/capybara.rb
213
+ - scrolls/cfoundry.rb
173
214
  - scrolls/cucumber.rb
174
215
  - scrolls/delayed_job.rb
175
216
  - scrolls/env_yaml.rb
@@ -195,51 +236,51 @@ files:
195
236
  - scrolls/thin.rb
196
237
  - scrolls/twitter_bootstrap.rb
197
238
  - scrolls/unicorn.rb
198
- - scrolls/zzz/activerecord.rb
199
- - scrolls/zzz/cancan.rb
200
- - scrolls/zzz/carrierwave.rb
201
- - scrolls/zzz/carrierwave_direct.rb
202
- - scrolls/zzz/cartographer.rb
203
- - scrolls/zzz/devise.rb
204
- - scrolls/zzz/devise_invitable.rb
205
- - scrolls/zzz/event_calendar.rb
206
- - scrolls/zzz/factory_girl.rb
207
- - scrolls/zzz/ffaker.rb
208
- - scrolls/zzz/fixture_builder.rb
209
- - scrolls/zzz/forgery.rb
210
- - scrolls/zzz/haml.rb
211
- - scrolls/zzz/heroku.rb
212
- - scrolls/zzz/hoptoad.rb
213
- - scrolls/zzz/inherited_resources.rb
214
- - scrolls/zzz/intercom.rb
215
- - scrolls/zzz/jammit.rb
216
- - scrolls/zzz/jasmine.rb
217
- - scrolls/zzz/mini_magick.rb
218
- - scrolls/zzz/mongo_mapper.rb
219
- - scrolls/zzz/mongohq.rb
220
- - scrolls/zzz/mongoid.rb
221
- - scrolls/zzz/mootools.rb
222
- - scrolls/zzz/newrelic.rb
223
- - scrolls/zzz/nifty_generators.rb
224
- - scrolls/zzz/oa_oauth.rb
225
- - scrolls/zzz/omniauth.rb
226
- - scrolls/zzz/paper_trail.rb
227
- - scrolls/zzz/pow.rb
228
- - scrolls/zzz/puma.rb
229
- - scrolls/zzz/rails_dev_tweaks.rb
230
- - scrolls/zzz/rails_erd.rb
231
- - scrolls/zzz/rails_footnotes.rb
232
- - scrolls/zzz/ransack.rb
233
- - scrolls/zzz/rmagick.rb
234
- - scrolls/zzz/sass.rb
235
- - scrolls/zzz/sequel.rb
236
- - scrolls/zzz/settingslogic.rb
237
- - scrolls/zzz/shoulda_matchers.rb
238
- - scrolls/zzz/sidekiq.rb
239
- - scrolls/zzz/slim.rb
240
- - scrolls/zzz/spork.rb
241
- - scrolls/zzz/thinking_sphinx.rb
242
- - scrolls/zzz/vanity.rb
239
+ - scrolls/untested/activerecord.rb
240
+ - scrolls/untested/cancan.rb
241
+ - scrolls/untested/carrierwave.rb
242
+ - scrolls/untested/carrierwave_direct.rb
243
+ - scrolls/untested/cartographer.rb
244
+ - scrolls/untested/devise.rb
245
+ - scrolls/untested/devise_invitable.rb
246
+ - scrolls/untested/event_calendar.rb
247
+ - scrolls/untested/factory_girl.rb
248
+ - scrolls/untested/ffaker.rb
249
+ - scrolls/untested/fixture_builder.rb
250
+ - scrolls/untested/forgery.rb
251
+ - scrolls/untested/haml.rb
252
+ - scrolls/untested/heroku.rb
253
+ - scrolls/untested/hoptoad.rb
254
+ - scrolls/untested/inherited_resources.rb
255
+ - scrolls/untested/intercom.rb
256
+ - scrolls/untested/jammit.rb
257
+ - scrolls/untested/jasmine.rb
258
+ - scrolls/untested/mini_magick.rb
259
+ - scrolls/untested/mongo_mapper.rb
260
+ - scrolls/untested/mongohq.rb
261
+ - scrolls/untested/mongoid.rb
262
+ - scrolls/untested/mootools.rb
263
+ - scrolls/untested/newrelic.rb
264
+ - scrolls/untested/nifty_generators.rb
265
+ - scrolls/untested/oa_oauth.rb
266
+ - scrolls/untested/omniauth.rb
267
+ - scrolls/untested/paper_trail.rb
268
+ - scrolls/untested/pow.rb
269
+ - scrolls/untested/puma.rb
270
+ - scrolls/untested/rails_dev_tweaks.rb
271
+ - scrolls/untested/rails_erd.rb
272
+ - scrolls/untested/rails_footnotes.rb
273
+ - scrolls/untested/ransack.rb
274
+ - scrolls/untested/rmagick.rb
275
+ - scrolls/untested/sass.rb
276
+ - scrolls/untested/sequel.rb
277
+ - scrolls/untested/settingslogic.rb
278
+ - scrolls/untested/shoulda_matchers.rb
279
+ - scrolls/untested/sidekiq.rb
280
+ - scrolls/untested/slim.rb
281
+ - scrolls/untested/spork.rb
282
+ - scrolls/untested/thinking_sphinx.rb
283
+ - scrolls/untested/vanity.rb
243
284
  - spec/appscrolls/config_spec.rb
244
285
  - spec/appscrolls/scroll_spec.rb
245
286
  - spec/appscrolls/scrolls/sanity_spec.rb
@@ -250,7 +291,7 @@ files:
250
291
  - spec/support/template_runner.rb
251
292
  - templates/helpers.erb
252
293
  - templates/layout.erb
253
- - templates/new_scroll.erb
294
+ - templates/new_scroll.tt
254
295
  - templates/scroll.erb
255
296
  - version.rb
256
297
  homepage: http://appscrolls.org/
@@ -273,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
314
  version: '0'
274
315
  requirements: []
275
316
  rubyforge_project:
276
- rubygems_version: 1.8.17
317
+ rubygems_version: 1.8.24
277
318
  signing_key:
278
319
  specification_version: 3
279
320
  summary: The App Scrolls is a magical tool to generate new Rails and modify existing