anadea-spark 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/lib/spark/app_builder.rb +1 -10
- data/lib/spark/generators/app_generator.rb +0 -1
- data/lib/spark/version.rb +2 -2
- data/spec/features/new_project_spec.rb +1 -2
- data/templates/Gemfile.erb +4 -4
- data/templates/config/initializers/errors.rb +1 -1
- metadata +6 -8
- data/.travis.yml +0 -11
- data/templates/config/initializers/disable_xml_params.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 685c3ca0248d0e8948b221e3886acca35ec68ef0
|
|
4
|
+
data.tar.gz: 2e0902756fa6b610ed22233daa02206e797e889f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53e189c13e256abfb2806a01ac575206f44bf60b987b6eb134d208f78d061c2b394d2df58f3fe2353a15f2fe0cf6d3ad347e0c53105ff5e34ad0d2e39fe2ef08
|
|
7
|
+
data.tar.gz: be705bab4aa1923ed2e13867e2d9ed9b60366b281d4487140f885d0ba95309090edd4894d83451ae02aaff2e3af54acd3769916a1e7c95b60dc0b151d186cd83
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.3.1
|
data/Gemfile
CHANGED
data/lib/spark/app_builder.rb
CHANGED
|
@@ -189,10 +189,6 @@ module Spark
|
|
|
189
189
|
raise_on_missing_translations_in("test")
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
def configure_background_jobs_for_rspec
|
|
193
|
-
run 'rails g delayed_job:active_record'
|
|
194
|
-
end
|
|
195
|
-
|
|
196
192
|
def configure_action_mailer_in_specs
|
|
197
193
|
copy_file 'spec/support/action_mailer.rb', 'spec/support/action_mailer.rb'
|
|
198
194
|
end
|
|
@@ -215,7 +211,7 @@ module Spark
|
|
|
215
211
|
|
|
216
212
|
def configure_active_job
|
|
217
213
|
configure_application_file(
|
|
218
|
-
"config.active_job.queue_adapter = :
|
|
214
|
+
"config.active_job.queue_adapter = :inline"
|
|
219
215
|
)
|
|
220
216
|
configure_environment "test", "config.active_job.queue_adapter = :inline"
|
|
221
217
|
end
|
|
@@ -305,11 +301,6 @@ module Spark
|
|
|
305
301
|
route "root 'high_voltage/pages#show', id: 'home'"
|
|
306
302
|
end
|
|
307
303
|
|
|
308
|
-
def disable_xml_params
|
|
309
|
-
copy_file 'config/initializers/disable_xml_params.rb',
|
|
310
|
-
'config/initializers/disable_xml_params.rb'
|
|
311
|
-
end
|
|
312
|
-
|
|
313
304
|
def setup_default_rake_task
|
|
314
305
|
append_file 'Rakefile' do
|
|
315
306
|
<<-EOS
|
|
@@ -113,7 +113,6 @@ module Spark
|
|
|
113
113
|
build :configure_active_job
|
|
114
114
|
build :configure_time_formats
|
|
115
115
|
build :configure_simple_form
|
|
116
|
-
build :disable_xml_params
|
|
117
116
|
build :fix_i18n_deprecation_warning
|
|
118
117
|
build :configure_locales_load_from_folders
|
|
119
118
|
build :setup_default_rake_task
|
data/lib/spark/version.rb
CHANGED
|
@@ -104,9 +104,8 @@ RSpec.feature 'Build a new project with default configuration' do
|
|
|
104
104
|
|
|
105
105
|
application_config = IO.read("#{project_path}/config/application.rb")
|
|
106
106
|
test_config = IO.read("#{project_path}/config/environments/test.rb")
|
|
107
|
-
|
|
108
107
|
expect(application_config).to match(
|
|
109
|
-
/^ +config.active_job.queue_adapter = :
|
|
108
|
+
/^ +config.active_job.queue_adapter = :inline$/
|
|
110
109
|
)
|
|
111
110
|
expect(test_config).to match(
|
|
112
111
|
/^ +config.active_job.queue_adapter = :inline$/
|
data/templates/Gemfile.erb
CHANGED
|
@@ -2,8 +2,7 @@ source "https://rubygems.org"
|
|
|
2
2
|
|
|
3
3
|
ruby "<%= ::RUBY_VERSION %>"
|
|
4
4
|
|
|
5
|
-
gem "bootstrap-sass"
|
|
6
|
-
gem "delayed_job_active_record"
|
|
5
|
+
gem "bootstrap-sass"
|
|
7
6
|
gem "email_validator"
|
|
8
7
|
gem "exception_notification"
|
|
9
8
|
gem "figaro"
|
|
@@ -11,7 +10,7 @@ gem "high_voltage"
|
|
|
11
10
|
gem "jquery-rails"
|
|
12
11
|
gem "pg"
|
|
13
12
|
gem "rails", "<%= Spark::RAILS_VERSION %>"
|
|
14
|
-
gem "sass-rails"
|
|
13
|
+
gem "sass-rails"
|
|
15
14
|
gem "simple_form"
|
|
16
15
|
gem "thin"
|
|
17
16
|
gem "uglifier"
|
|
@@ -27,8 +26,9 @@ group :development, :test do
|
|
|
27
26
|
gem "bundler-audit", require: false
|
|
28
27
|
gem "byebug"
|
|
29
28
|
gem "factory_girl_rails"
|
|
29
|
+
gem "listen"
|
|
30
30
|
gem "pry-rails"
|
|
31
|
-
gem "rspec-rails"
|
|
31
|
+
gem "rspec-rails"
|
|
32
32
|
gem "jasmine-rails"
|
|
33
33
|
end
|
|
34
34
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anadea-spark
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- anadea
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 5.0.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 5.0.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rspec
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -92,7 +92,6 @@ extra_rdoc_files:
|
|
|
92
92
|
files:
|
|
93
93
|
- ".gitignore"
|
|
94
94
|
- ".ruby-version"
|
|
95
|
-
- ".travis.yml"
|
|
96
95
|
- Gemfile
|
|
97
96
|
- LICENSE
|
|
98
97
|
- README.md
|
|
@@ -118,7 +117,6 @@ files:
|
|
|
118
117
|
- templates/assets/disable_animation.scss
|
|
119
118
|
- templates/bin/setup.erb
|
|
120
119
|
- templates/config/application.yml.sample
|
|
121
|
-
- templates/config/initializers/disable_xml_params.rb
|
|
122
120
|
- templates/config/initializers/errors.rb
|
|
123
121
|
- templates/config/initializers/exception_notification.rb.erb
|
|
124
122
|
- templates/config/initializers/json_encoding.rb
|
|
@@ -157,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
157
155
|
requirements:
|
|
158
156
|
- - ">="
|
|
159
157
|
- !ruby/object:Gem::Version
|
|
160
|
-
version: 2.
|
|
158
|
+
version: 2.3.1
|
|
161
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
160
|
requirements:
|
|
163
161
|
- - ">="
|
|
@@ -165,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
165
163
|
version: '0'
|
|
166
164
|
requirements: []
|
|
167
165
|
rubyforge_project:
|
|
168
|
-
rubygems_version: 2.
|
|
166
|
+
rubygems_version: 2.5.1
|
|
169
167
|
signing_key:
|
|
170
168
|
specification_version: 4
|
|
171
169
|
summary: Generate a Rails app using Anadea's best practices.
|
data/.travis.yml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm: 2.2.1
|
|
3
|
-
cache: bundler
|
|
4
|
-
sudo: false
|
|
5
|
-
before_install:
|
|
6
|
-
- "echo '--colour' > ~/.rspec"
|
|
7
|
-
- git config --global user.name 'Travis CI'
|
|
8
|
-
- git config --global user.email 'travis-ci@example.com'
|
|
9
|
-
install: bundle install
|
|
10
|
-
notifications:
|
|
11
|
-
email: false
|