welaika-suspenders 2.12.0 → 2.13.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: ebc1d7d5851153cb0c16d9e902e2c1391782082d
4
- data.tar.gz: f9afc62258bf8dfe56221aca5b9e0595a465e98f
3
+ metadata.gz: ac22a7bbd38867f30c5e695686d98682b3cd2140
4
+ data.tar.gz: 8c5cc31fc81ecc9425691a4648287eb1c13afda7
5
5
  SHA512:
6
- metadata.gz: 6672881f0c641fba3af0d7b9af115b3e8fbea2329d0a7656d66d7cb16ca3978f73ab53038501e583c12ec645ea9858b8e14a722c294fc3f31c8856e13d8b0c75
7
- data.tar.gz: 6076fc65b6ed635fce682b9265052ebc8fd2881249f93bc1937cbdbbc218526d945fdc53ca4803d0212efab4c99e08e268b93a81b216e85a4442b6731b8223a4
6
+ metadata.gz: b898729e4b701684bf1bcfa2a3d945cbd3636cef787adb1878c3f798888d8bf51b91096c42e3193e733dae0b5e0a679b938bf7a3ec19b6914c483323bd414788
7
+ data.tar.gz: 2a01b7445381e3fe0b707207ff5aeee1955ae7816bf2149aaad9b7e05bb3a772558bbbce0a7e01f615e1c8616e1dfdd91ea916b89a998eb8f6be21a85c52e9ec
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ welaika-suspenders
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- welaika-suspenders (2.12.0)
4
+ welaika-suspenders (2.13.0)
5
5
  bitters (~> 1.0.0)
6
6
  bundler (~> 1.3)
7
7
  rails (~> 4.2.0)
@@ -44,7 +44,7 @@ GEM
44
44
  minitest (~> 5.1)
45
45
  thread_safe (~> 0.3, >= 0.3.4)
46
46
  tzinfo (~> 1.1)
47
- arel (6.0.0)
47
+ arel (6.0.2)
48
48
  bitters (1.0.0)
49
49
  bourbon (>= 3.2)
50
50
  sass (>= 3.2)
@@ -121,7 +121,7 @@ GEM
121
121
  diff-lcs (>= 1.2.0, < 2.0)
122
122
  rspec-support (~> 3.3.0)
123
123
  rspec-support (3.3.0)
124
- sass (3.4.15)
124
+ sass (3.4.16)
125
125
  slop (3.6.0)
126
126
  sprockets (3.2.0)
127
127
  rack (~> 1.0)
data/README.md CHANGED
@@ -75,6 +75,7 @@ List of changes we made since [this is commit](https://github.com/thoughtbot/sus
75
75
  - set `Rome` as `time_zone`
76
76
  - set `:it` as `default_locale`
77
77
  - add [simplecov](https://github.com/colszowka/simplecov)
78
+ - add [simplecov-json](https://github.com/vicentllongo/simplecov-json)
78
79
  - add fixtures helper for `rspec`
79
80
  - add queries helper for `rspec`
80
81
  - configure asset host for capybara
@@ -80,6 +80,10 @@ module Suspenders
80
80
  copy_file 'fixtures_helper_rspec.rb', 'spec/support/fixtures_helper.rb'
81
81
  end
82
82
 
83
+ def set_up_faker
84
+ copy_file 'faker_rspec.rb', 'spec/support/faker.rb'
85
+ end
86
+
83
87
  def configure_newrelic
84
88
  template 'newrelic.yml.erb', 'config/newrelic.yml'
85
89
  end
@@ -102,6 +102,7 @@ module Suspenders
102
102
  build :configure_i18n_for_test_environment
103
103
  build :configure_i18n_tasks
104
104
  build :configure_action_mailer_in_specs
105
+ build :set_up_faker
105
106
  end
106
107
 
107
108
  def setup_production_environment
@@ -1,5 +1,5 @@
1
1
  module Suspenders
2
2
  RAILS_VERSION = "~> 4.2.0"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "2.12.0"
4
+ VERSION = "2.13.0"
5
5
  end
@@ -58,6 +58,7 @@ group :test do
58
58
  gem "launchy"
59
59
  gem "shoulda-matchers", require: false
60
60
  gem "simplecov", require: false
61
+ gem 'simplecov-json', require: false
61
62
  gem "timecop"
62
63
  gem "webmock"
63
64
  end
@@ -0,0 +1 @@
1
+ Faker::Config.locale = "it"
@@ -1,10 +1,12 @@
1
1
  require "simplecov"
2
+ require "simplecov-json"
2
3
  SimpleCov.start "rails" do
3
4
  add_group "Queries", "app/queries"
4
5
  add_group "Services", "app/services"
5
6
  add_group "Validators", "app/validators"
6
7
  add_group "Presenter", "app/presenters"
7
8
  end
9
+ SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter
8
10
 
9
11
  require "webmock/rspec"
10
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: welaika-suspenders
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.0
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-12 00:00:00.000000000 Z
12
+ date: 2015-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bitters
@@ -92,6 +92,7 @@ extra_rdoc_files:
92
92
  - LICENSE
93
93
  files:
94
94
  - ".gitignore"
95
+ - ".ruby-gemset"
95
96
  - ".ruby-version"
96
97
  - ".travis.yml"
97
98
  - CONTRIBUTING.md
@@ -139,6 +140,7 @@ files:
139
140
  - templates/disable_xml_params.rb
140
141
  - templates/errors.rb
141
142
  - templates/factory_girl_rspec.rb
143
+ - templates/faker_rspec.rb
142
144
  - templates/fixtures_helper_rspec.rb
143
145
  - templates/flashes_helper.rb
144
146
  - templates/i18n.rb