rails_edge_test 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +17 -5
- data/PUBLISHING.md +7 -0
- data/README.md +4 -1
- data/lib/rails_edge_test/dsl/edge.rb +2 -3
- data/lib/rails_edge_test/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fe02bc8139d017c7871c807bcfa6a4109361d298
|
4
|
+
data.tar.gz: 6a337e0fc07b2e2a8fbf64f64a634cd04579be1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d39265acd4fa1b38e278f2d57652308d04ca22374ee0ae22f3ab7689783cc28db53324669b48649cbe543b9ef247271508f66027dbe88da400c68fa20a7c2a60
|
7
|
+
data.tar.gz: b1d9782aed0ca7747aa381cc9a45950d741a79df22724ecf9aa5880d58318e98f6f0c96ed60d4368f9a11715d79c63019f492419870e1cf3c2eb1a4bdcdc8db3
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,26 @@
|
|
1
1
|
# The Changelog
|
2
2
|
|
3
|
+
## Version 0.5.0: Sep 4, 2018
|
4
|
+
|
5
|
+
- Generated JSON is now formatted to aid in comparing versions of generated fixtures
|
6
|
+
|
7
|
+
|
3
8
|
## Version 0.4.0: Aug 16, 2018
|
4
9
|
|
5
|
-
`let` bindings can now be set at the controller level and overridden or used in child actions.
|
10
|
+
- `let` bindings can now be set at the controller level and overridden or used in child actions.
|
11
|
+
|
6
12
|
|
7
13
|
## Version 0.3.0: Mar 7, 2018
|
8
|
-
User can generate edges, one file at a time, by passing filename into new exe/generate_edges
|
9
|
-
`bundle exec generate_edges path/to/my_edge.rb`
|
10
14
|
|
11
|
-
|
15
|
+
- User can generate edges, one file at a time, by passing filename into new exe/generate_edges
|
16
|
+
|
17
|
+
```sh
|
18
|
+
bundle exec generate_edges path/to/my_edge.rb
|
19
|
+
```
|
20
|
+
|
21
|
+
- Replaced rake task with RailsEdgeTest::Runner
|
22
|
+
|
12
23
|
|
13
24
|
## Version 0.2.2: Feb 20, 2018
|
14
|
-
|
25
|
+
|
26
|
+
- Beginning of this changelog.
|
data/PUBLISHING.md
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# How to publish a new release
|
2
|
+
|
3
|
+
- Update `CHANGELOG.md`
|
4
|
+
- Update the version number in `lib/rails_edge_test/version.rb`
|
5
|
+
- Ensure tests pass `bundle exec rake spec`
|
6
|
+
- Commit your changes
|
7
|
+
- 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).
|
data/README.md
CHANGED
@@ -119,7 +119,10 @@ require Rails.root.join('edge', 'spec', 'edge_helper')
|
|
119
119
|
|
120
120
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
121
121
|
|
122
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
122
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
123
|
+
|
124
|
+
To release a new version, follow the instructions in [PUBLISHING.md](PUBLISHING.md).
|
125
|
+
|
123
126
|
|
124
127
|
## Contributing
|
125
128
|
|
@@ -73,9 +73,8 @@ module RailsEdgeTest::Dsl
|
|
73
73
|
|
74
74
|
ActiveSupport::JSON::Encoding.escape_html_entities_in_json = false
|
75
75
|
if ivar
|
76
|
-
controller.
|
77
|
-
|
78
|
-
to_json
|
76
|
+
value = controller.send(:instance_variable_get, ivar)
|
77
|
+
JSON.pretty_unparse(value)
|
79
78
|
else
|
80
79
|
response[2].body
|
81
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_edge_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Leven
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- CODE_OF_CONDUCT.md
|
112
112
|
- Gemfile
|
113
113
|
- LICENSE.txt
|
114
|
+
- PUBLISHING.md
|
114
115
|
- README.md
|
115
116
|
- Rakefile
|
116
117
|
- bin/console
|
@@ -149,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
150
|
version: '0'
|
150
151
|
requirements: []
|
151
152
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.6.11
|
153
154
|
signing_key:
|
154
155
|
specification_version: 4
|
155
156
|
summary: Generate json for front-end testing using your rails backend.
|