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 +4 -4
- data/CHANGELOG.md +5 -0
- data/PUBLISHING.md +11 -1
- data/lib/rails_edge_test/dsl/edge.rb +3 -0
- data/lib/rails_edge_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 482aee87febf42d143b36ed056beb0a52cae16f0
|
4
|
+
data.tar.gz: 917a3166590701a07ae2f1128762bcbe88837c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|