ruby-recorder 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +9 -0
- data/Gemfile +4 -1
- data/README.md +3 -1
- data/Rakefile +8 -0
- data/lib/recorder/version.rb +1 -1
- data/recorder.gemspec +1 -1
- metadata +3 -2
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Ruby Recorder
|
2
2
|
|
3
|
+
[](http://travis-ci.org/mickey/ruby-recorder)
|
4
|
+
|
3
5
|
Recorder dumps the result of your ruby code to a YAML file for faster tests or to compare the result between two execution.
|
4
6
|
|
5
7
|
## Installation
|
@@ -29,7 +31,7 @@ Imagine you want to refactor an endpoint on your backend api and want to make su
|
|
29
31
|
end
|
30
32
|
|
31
33
|
# this will call your backend and
|
32
|
-
# dump the result in
|
34
|
+
# dump the result in refactor.yml
|
33
35
|
# let's say the response is : [{"username"=>"Michael Bensoussan"}]
|
34
36
|
Recorder.dump_to('refactor.yml') do
|
35
37
|
HTTParty.get('http://my_backend/users').parsed_response
|
data/Rakefile
CHANGED
data/lib/recorder/version.rb
CHANGED
data/recorder.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["mbensoussan.is@gmail.com"]
|
7
7
|
gem.description = %q{Ruby Recorder dumps the result of your ruby code to a YAML file for faster tests or to compare the result between two execution.}
|
8
8
|
gem.summary = %q{Dump your ruby to YAML for refactoring and faster tests}
|
9
|
-
gem.homepage = ""
|
9
|
+
gem.homepage = "http://mickey.github.com/ruby-recorder"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-recorder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -53,6 +53,7 @@ extra_rdoc_files: []
|
|
53
53
|
files:
|
54
54
|
- .gitignore
|
55
55
|
- .rvmrc
|
56
|
+
- .travis.yml
|
56
57
|
- Gemfile
|
57
58
|
- LICENSE
|
58
59
|
- README.md
|
@@ -61,7 +62,7 @@ files:
|
|
61
62
|
- lib/recorder/version.rb
|
62
63
|
- recorder.gemspec
|
63
64
|
- tests/recorder_tests.rb
|
64
|
-
homepage:
|
65
|
+
homepage: http://mickey.github.com/ruby-recorder
|
65
66
|
licenses: []
|
66
67
|
post_install_message:
|
67
68
|
rdoc_options: []
|