anadea-spark 0.4.4 → 0.5.0

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: 6bad1b77ebda7bc60fa73d7cf65d30ec67273c22
4
- data.tar.gz: d960f3421d1009505732e223e24b5da8d1439b7a
3
+ metadata.gz: 685c3ca0248d0e8948b221e3886acca35ec68ef0
4
+ data.tar.gz: 2e0902756fa6b610ed22233daa02206e797e889f
5
5
  SHA512:
6
- metadata.gz: cb1afb225e289ffdb39360980076c670d7627f53dcff36cdeb6a135fa35ab97b3a26424c5f656d623a4743aa6c9a3e08ee0450e15f3e2734d4024f933ad2683c
7
- data.tar.gz: c84572089e925b88b9209c8622d9f9924e0c29419e59c27e5294ed3de8b0aa63a5f30244a0f1273f65e09831f3995f05d2416873f9b44fbbed0b7cdf481985c4
6
+ metadata.gz: 53e189c13e256abfb2806a01ac575206f44bf60b987b6eb134d208f78d061c2b394d2df58f3fe2353a15f2fe0cf6d3ad347e0c53105ff5e34ad0d2e39fe2ef08
7
+ data.tar.gz: be705bab4aa1923ed2e13867e2d9ed9b60366b281d4487140f885d0ba95309090edd4894d83451ae02aaff2e3af54acd3769916a1e7c95b60dc0b151d186cd83
@@ -1 +1 @@
1
- 2.2.3
1
+ 2.3.1
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'listen'
4
+
3
5
  gemspec
@@ -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 = :delayed_job"
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
@@ -1,5 +1,5 @@
1
1
  module Spark
2
- RAILS_VERSION = "4.2.4"
2
+ RAILS_VERSION = "5.0.0"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "0.4.4"
4
+ VERSION = "0.5.0"
5
5
  end
@@ -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 = :delayed_job$/
108
+ /^ +config.active_job.queue_adapter = :inline$/
110
109
  )
111
110
  expect(test_config).to match(
112
111
  /^ +config.active_job.queue_adapter = :inline$/
@@ -2,8 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  ruby "<%= ::RUBY_VERSION %>"
4
4
 
5
- gem "bootstrap-sass", "~> 3.3.4"
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", "~> 5.0"
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", "~> 3.1.0"
31
+ gem "rspec-rails"
32
32
  gem "jasmine-rails"
33
33
  end
34
34
 
@@ -23,7 +23,7 @@ SMTP_SERVER_ERRORS = [
23
23
  Net::SMTPAuthenticationError,
24
24
  Net::SMTPServerBusy,
25
25
  Net::SMTPUnknownError,
26
- TimeoutError
26
+ Timeout::Error
27
27
  ]
28
28
 
29
29
  SMTP_CLIENT_ERRORS = [
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.4
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: 2015-10-06 00:00:00.000000000 Z
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: 4.2.4
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: 4.2.4
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.2.3
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.4.5.1
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.
@@ -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
@@ -1,3 +0,0 @@
1
- # Protect against injection attacks
2
- # http://www.kb.cert.org/vuls/id/380039
3
- ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML)