approvals 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/approvals.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "approvals"
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
7
7
  s.authors = ["Katrina Owen"]
8
8
  s.email = ["katrina.owen@gmail.com"]
9
9
  s.homepage = ""
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency 'rspec', '~> 2.7'
20
+ s.add_development_dependency 'rspec', '~> 2.7'
21
21
  s.add_dependency 'thor'
22
22
  s.add_dependency 'nokogiri'
23
23
  end
data/lib/approvals.rb CHANGED
@@ -9,9 +9,6 @@ require 'approvals/reporters'
9
9
  require 'approvals/writer'
10
10
  require 'approvals/namers/default_namer'
11
11
 
12
- require 'approvals/extensions/rspec'
13
-
14
-
15
12
  module Approvals
16
13
  extend DSL
17
14
 
@@ -23,7 +23,7 @@ module Approvals
23
23
  protected
24
24
 
25
25
  def launch(received, approved)
26
- exec launcher.call(received, approved)
26
+ `#{launcher.call(received, approved)}`
27
27
  end
28
28
  end
29
29
  end
@@ -0,0 +1,3 @@
1
+ require 'approvals/extensions/rspec'
2
+
3
+
@@ -1,4 +1,5 @@
1
1
  require 'approvals'
2
+ require 'approvals/rspec'
2
3
 
3
4
  describe "Verifies" do
4
5
  verify "a string" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: approvals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-24 00:00:00.000000000 Z
12
+ date: 2012-02-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70196756887140 !ruby/object:Gem::Requirement
16
+ requirement: &70111327294940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.7'
22
- type: :runtime
22
+ type: :development
23
23
  prerelease: false
24
- version_requirements: *70196756887140
24
+ version_requirements: *70111327294940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &70196756886080 !ruby/object:Gem::Requirement
27
+ requirement: &70111327293480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70196756886080
35
+ version_requirements: *70111327293480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: nokogiri
38
- requirement: &70196756885140 !ruby/object:Gem::Requirement
38
+ requirement: &70111327292400 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70196756885140
46
+ version_requirements: *70111327292400
47
47
  description: Approval Tests for Ruby
48
48
  email:
49
49
  - katrina.owen@gmail.com
@@ -58,7 +58,6 @@ files:
58
58
  - License.txt
59
59
  - README.md
60
60
  - Rakefile
61
- - TODO
62
61
  - approvals.gemspec
63
62
  - bin/approvals
64
63
  - lib/approvals.rb
@@ -84,6 +83,7 @@ files:
84
83
  - lib/approvals/reporters/image_reporter/image_magick_reporter.rb
85
84
  - lib/approvals/reporters/launcher.rb
86
85
  - lib/approvals/reporters/reporter.rb
86
+ - lib/approvals/rspec.rb
87
87
  - lib/approvals/utilities.rb
88
88
  - lib/approvals/utilities/cli.rb
89
89
  - lib/approvals/utilities/dotfile.rb
data/TODO DELETED
@@ -1 +0,0 @@
1
- [ ] add cucumber support (namer + extension + features)