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.
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - jruby-19mode
6
+ - rbx-19mode
7
+ branches:
8
+ only:
9
+ - master
data/Gemfile CHANGED
@@ -5,5 +5,8 @@ gemspec
5
5
 
6
6
  group :development do
7
7
  gem 'minitest'
8
- #gem 'pry'
8
+ end
9
+
10
+ group :test do
11
+ gem 'rake'
9
12
  end
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Ruby Recorder
2
2
 
3
+ [![Build Status](https://secure.travis-ci.org/mickey/ruby-recorder.png)](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 parsing.yml
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
@@ -1,2 +1,10 @@
1
1
  #!/usr/bin/env rake
2
2
  require "bundler/gem_tasks"
3
+
4
+ task :default => [:test]
5
+
6
+ require 'rake/testtask'
7
+
8
+ Rake::TestTask.new do |t|
9
+ t.pattern = "tests/*_tests.rb"
10
+ end
@@ -1,3 +1,3 @@
1
1
  module Recorder
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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.1
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: []