remarkable 4.0.0.alpha2 → 4.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -2
- data/lib/remarkable/core/matchers.rb +3 -3
- data/lib/remarkable/core/rspec.rb +1 -1
- data/lib/remarkable/core/version.rb +1 -1
- data/locale/en.yml +2 -2
- data/remarkable.gemspec +5 -5
- metadata +7 -7
data/README
CHANGED
@@ -22,9 +22,9 @@ To include custom matchers:
|
|
22
22
|
|
23
23
|
Remarkable.include_matchers!(MyApp::MyCustomMatchers)
|
24
24
|
|
25
|
-
If you use Shoulda-style syntax, you will need to target
|
25
|
+
If you use Shoulda-style syntax, you will need to target RSpec::Core::ExampleGroup
|
26
26
|
|
27
|
-
Remarkable.include_matchers!(MyApp::MyCustomMatchers,
|
27
|
+
Remarkable.include_matchers!(MyApp::MyCustomMatchers, RSpec::Core::ExampleGroup)
|
28
28
|
|
29
29
|
== Macros
|
30
30
|
|
@@ -12,9 +12,9 @@ module Remarkable
|
|
12
12
|
def self.include_matchers!(base, target=nil)
|
13
13
|
if target.nil?
|
14
14
|
if rspec_defined?
|
15
|
-
target =
|
15
|
+
target = RSpec::Matchers
|
16
16
|
else
|
17
|
-
raise ArgumentError, "You haven't supplied the target to include_matchers! and
|
17
|
+
raise ArgumentError, "You haven't supplied the target to include_matchers! and RSpec is not loaded, so we cannot infer one."
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -34,6 +34,6 @@ module Remarkable
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.rspec_defined? #:nodoc:
|
37
|
-
defined?(
|
37
|
+
defined?(RSpec)
|
38
38
|
end
|
39
39
|
end
|
data/locale/en.yml
CHANGED
@@ -5,8 +5,8 @@ en:
|
|
5
5
|
should: "should"
|
6
6
|
should_not: "should not"
|
7
7
|
example_disabled: "Example disabled"
|
8
|
-
failure_message_for_should: "Expected {
|
9
|
-
failure_message_for_should_not: "Did not expect {
|
8
|
+
failure_message_for_should: "Expected %{expectation}"
|
9
|
+
failure_message_for_should_not: "Did not expect %{expectation}"
|
10
10
|
|
11
11
|
helpers:
|
12
12
|
words_connector: ", "
|
data/remarkable.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{remarkable}
|
8
|
-
s.version = "4.0.0.
|
8
|
+
s.version = "4.0.0.alpha3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ho-Sheng Hsiao", "Carlos Brando", "Jos\303\251 Valim"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-08}
|
13
13
|
s.description = %q{Remarkable: a framework for rspec matchers and macros, with support for I18n.}
|
14
14
|
s.email = ["hosh@sparkfly.com", "eduardobrando@gmail.com", "jose.valim@gmail.com"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -50,12 +50,12 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.specification_version = 3
|
51
51
|
|
52
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.
|
53
|
+
s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.alpha11"])
|
54
54
|
else
|
55
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0.
|
55
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.alpha11"])
|
56
56
|
end
|
57
57
|
else
|
58
|
-
s.add_dependency(%q<rspec>, [">= 2.0.0.
|
58
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.alpha11"])
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remarkable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1710980495
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 4.0.0.
|
10
|
+
- alpha3
|
11
|
+
version: 4.0.0.alpha3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Ho-Sheng Hsiao
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-
|
21
|
+
date: 2010-06-08 00:00:00 -04:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -29,13 +29,13 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
hash:
|
32
|
+
hash: 1369027956
|
33
33
|
segments:
|
34
34
|
- 2
|
35
35
|
- 0
|
36
36
|
- 0
|
37
|
-
-
|
38
|
-
version: 2.0.0.
|
37
|
+
- alpha11
|
38
|
+
version: 2.0.0.alpha11
|
39
39
|
type: :runtime
|
40
40
|
version_requirements: *id001
|
41
41
|
description: "Remarkable: a framework for rspec matchers and macros, with support for I18n."
|