rails_edge_test 0.5.0 → 0.6.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: fe02bc8139d017c7871c807bcfa6a4109361d298
4
- data.tar.gz: 6a337e0fc07b2e2a8fbf64f64a634cd04579be1e
3
+ metadata.gz: 482aee87febf42d143b36ed056beb0a52cae16f0
4
+ data.tar.gz: 917a3166590701a07ae2f1128762bcbe88837c79
5
5
  SHA512:
6
- metadata.gz: d39265acd4fa1b38e278f2d57652308d04ca22374ee0ae22f3ab7689783cc28db53324669b48649cbe543b9ef247271508f66027dbe88da400c68fa20a7c2a60
7
- data.tar.gz: b1d9782aed0ca7747aa381cc9a45950d741a79df22724ecf9aa5880d58318e98f6f0c96ed60d4368f9a11715d79c63019f492419870e1cf3c2eb1a4bdcdc8db3
6
+ metadata.gz: 2e5d272612542e5518d5c71e631e9c87f422e4b820d339c1354ed8749280c4c7c0065b3ed93c69ceddefdda06e96da4a9ffe123e5260390a3f0f81aa511c1191
7
+ data.tar.gz: 70c44e9bc4f5dfa448675dacb45cf18a9566720a272f798f02e5c434732cb1a5470b253c15c8f36f8c47dec9830c13752c8e89744802b0ca141dad2231cb0044
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # The Changelog
2
2
 
3
+ ## Version 0.6.0: Sep 4, 2018
4
+
5
+ - Bug fixes for generated JSON is now formatted to aid in comparing versions of generated fixtures
6
+
7
+
3
8
  ## Version 0.5.0: Sep 4, 2018
4
9
 
5
10
  - Generated JSON is now formatted to aid in comparing versions of generated fixtures
data/PUBLISHING.md CHANGED
@@ -1,7 +1,17 @@
1
1
  # How to publish a new release
2
2
 
3
+ You will need:
4
+
5
+ - A rubygems.org account that has been added to the rails_edge_test gem.
6
+
7
+ How to release:
8
+
3
9
  - Update `CHANGELOG.md`
4
- - Update the version number in `lib/rails_edge_test/version.rb`
10
+ - Update the version number in:
11
+ - `lib/rails_edge_test/version.rb`
12
+ - `spec/support/test_app/Gemfile.lock`
5
13
  - Ensure tests pass `bundle exec rake spec`
6
14
  - Commit your changes
7
15
  - Run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
16
+
17
+ You can see the published gem at <https://rubygems.org/gems/rails_edge_test>
@@ -74,6 +74,9 @@ module RailsEdgeTest::Dsl
74
74
  ActiveSupport::JSON::Encoding.escape_html_entities_in_json = false
75
75
  if ivar
76
76
  value = controller.send(:instance_variable_get, ivar)
77
+ JSON.pretty_unparse(value.as_json)
78
+ elsif response[1]['Content-Type']&.starts_with?('application/json')
79
+ value = JSON.parse(response[2].body)
77
80
  JSON.pretty_unparse(value)
78
81
  else
79
82
  response[2].body
@@ -1,3 +1,3 @@
1
1
  module RailsEdgeTest
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_edge_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Leven