anadea-spark 0.2.0

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 +7 -0
  2. data/.gitignore +5 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +11 -0
  5. data/CONTRIBUTING.md +32 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE +21 -0
  8. data/NEWS.md +8 -0
  9. data/README.md +154 -0
  10. data/Rakefile +11 -0
  11. data/anadea-spark.gemspec +35 -0
  12. data/bin/rake +16 -0
  13. data/bin/rspec +16 -0
  14. data/bin/setup +9 -0
  15. data/bin/spark +13 -0
  16. data/lib/spark.rb +4 -0
  17. data/lib/spark/actions.rb +33 -0
  18. data/lib/spark/app_builder.rb +373 -0
  19. data/lib/spark/generators/app_generator.rb +204 -0
  20. data/lib/spark/version.rb +5 -0
  21. data/spec/features/new_project_spec.rb +136 -0
  22. data/spec/spec_helper.rb +34 -0
  23. data/spec/support/spark.rb +51 -0
  24. data/templates/Gemfile.erb +53 -0
  25. data/templates/Procfile +2 -0
  26. data/templates/README.md.erb +14 -0
  27. data/templates/assets/application.css.scss +4 -0
  28. data/templates/assets/application.js +3 -0
  29. data/templates/bin/setup.erb +30 -0
  30. data/templates/config/application.yml.sample +3 -0
  31. data/templates/config/i18n_tasks.yml +13 -0
  32. data/templates/config/initializers/disable_xml_params.rb +3 -0
  33. data/templates/config/initializers/errors.rb +34 -0
  34. data/templates/config/initializers/exception_notification.rb.erb +8 -0
  35. data/templates/config/initializers/json_encoding.rb +1 -0
  36. data/templates/config/initializers/mail_interceptor.rb +4 -0
  37. data/templates/config/initializers/rack_timeout.rb +1 -0
  38. data/templates/config/locales_en.yml.erb +19 -0
  39. data/templates/config/newrelic.yml.erb +30 -0
  40. data/templates/config/postgresql_database.yml.erb +12 -0
  41. data/templates/config/rails_secrets.yml +11 -0
  42. data/templates/dot_gitignore +15 -0
  43. data/templates/spec/rails_helper.rb +23 -0
  44. data/templates/spec/spec_helper.rb +32 -0
  45. data/templates/spec/support/action_mailer.rb +5 -0
  46. data/templates/spec/support/database_cleaner_rspec.rb +21 -0
  47. data/templates/spec/support/factory_girl_rspec.rb +3 -0
  48. data/templates/spec/support/i18n.rb +3 -0
  49. data/templates/tasks/bundler_audit.rake +12 -0
  50. data/templates/tasks/development_seeds.rake +12 -0
  51. data/templates/views/application/_analytics.html.haml +11 -0
  52. data/templates/views/application/_flashes.html.haml +4 -0
  53. data/templates/views/application/_footer.html.haml +9 -0
  54. data/templates/views/application/_javascript.html.haml +8 -0
  55. data/templates/views/application/_navigation.html.haml +12 -0
  56. data/templates/views/application/_navigation_links.html.haml +2 -0
  57. data/templates/views/layouts/application.html.haml +23 -0
  58. data/templates/views/pages/home.html.haml +4 -0
  59. metadata +178 -0
@@ -0,0 +1,4 @@
1
+ %h1
2
+ %i.fa.fa-home
3
+ Home Page
4
+ %small views/pages/home.html.erb
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: anadea-spark
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - anadea
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 4.2.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 3.2.0
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '4'
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 3.2.0
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '4'
61
+ - !ruby/object:Gem::Dependency
62
+ name: capybara
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '2.2'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 2.2.0
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '2.2'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 2.2.0
81
+ description: |
82
+ Spark is a base Rails project that you can upgrade. It is used by anadea
83
+ to get a jump start on a working app. Use Spark if you're in a rush
84
+ to build something amazing; don't use it if you like missing deadlines.
85
+ email: dmitriy.kiriyenko@anahoret.com
86
+ executables:
87
+ - spark
88
+ extensions: []
89
+ extra_rdoc_files:
90
+ - README.md
91
+ - LICENSE
92
+ files:
93
+ - ".gitignore"
94
+ - ".ruby-version"
95
+ - ".travis.yml"
96
+ - CONTRIBUTING.md
97
+ - Gemfile
98
+ - LICENSE
99
+ - NEWS.md
100
+ - README.md
101
+ - Rakefile
102
+ - anadea-spark.gemspec
103
+ - bin/rake
104
+ - bin/rspec
105
+ - bin/setup
106
+ - bin/spark
107
+ - lib/spark.rb
108
+ - lib/spark/actions.rb
109
+ - lib/spark/app_builder.rb
110
+ - lib/spark/generators/app_generator.rb
111
+ - lib/spark/version.rb
112
+ - spec/features/new_project_spec.rb
113
+ - spec/spec_helper.rb
114
+ - spec/support/spark.rb
115
+ - templates/Gemfile.erb
116
+ - templates/Procfile
117
+ - templates/README.md.erb
118
+ - templates/assets/application.css.scss
119
+ - templates/assets/application.js
120
+ - templates/bin/setup.erb
121
+ - templates/config/application.yml.sample
122
+ - templates/config/i18n_tasks.yml
123
+ - templates/config/initializers/disable_xml_params.rb
124
+ - templates/config/initializers/errors.rb
125
+ - templates/config/initializers/exception_notification.rb.erb
126
+ - templates/config/initializers/json_encoding.rb
127
+ - templates/config/initializers/mail_interceptor.rb
128
+ - templates/config/initializers/rack_timeout.rb
129
+ - templates/config/locales_en.yml.erb
130
+ - templates/config/newrelic.yml.erb
131
+ - templates/config/postgresql_database.yml.erb
132
+ - templates/config/rails_secrets.yml
133
+ - templates/dot_gitignore
134
+ - templates/spec/rails_helper.rb
135
+ - templates/spec/spec_helper.rb
136
+ - templates/spec/support/action_mailer.rb
137
+ - templates/spec/support/database_cleaner_rspec.rb
138
+ - templates/spec/support/factory_girl_rspec.rb
139
+ - templates/spec/support/i18n.rb
140
+ - templates/tasks/bundler_audit.rake
141
+ - templates/tasks/development_seeds.rake
142
+ - templates/views/application/_analytics.html.haml
143
+ - templates/views/application/_flashes.html.haml
144
+ - templates/views/application/_footer.html.haml
145
+ - templates/views/application/_javascript.html.haml
146
+ - templates/views/application/_navigation.html.haml
147
+ - templates/views/application/_navigation_links.html.haml
148
+ - templates/views/layouts/application.html.haml
149
+ - templates/views/pages/home.html.haml
150
+ homepage: http://github.com/Anadea/spark
151
+ licenses:
152
+ - MIT
153
+ metadata: {}
154
+ post_install_message:
155
+ rdoc_options:
156
+ - "--charset=UTF-8"
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: 2.2.1
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 2.4.5
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: Generate a Rails app using Anadea's best practices.
175
+ test_files:
176
+ - spec/features/new_project_spec.rb
177
+ - spec/spec_helper.rb
178
+ - spec/support/spark.rb