remarkable 4.0.0.alpha2 → 4.0.0.alpha3

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/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 Rspec::Core::ExampleGroup
25
+ If you use Shoulda-style syntax, you will need to target RSpec::Core::ExampleGroup
26
26
 
27
- Remarkable.include_matchers!(MyApp::MyCustomMatchers, Rspec::Core::ExampleGroup)
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 = Rspec::Matchers
15
+ target = RSpec::Matchers
16
16
  else
17
- raise ArgumentError, "You haven't supplied the target to include_matchers! and Rspec is not loaded, so we cannot infer one."
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?(Rspec)
37
+ defined?(RSpec)
38
38
  end
39
39
  end
@@ -1,4 +1,4 @@
1
- module Rspec #:nodoc:
1
+ module RSpec #:nodoc:
2
2
  module Matchers #:nodoc:
3
3
  # Overwrites to provide I18n on should and should_not.
4
4
  #
@@ -1,3 +1,3 @@
1
1
  module Remarkable
2
- VERSION = '4.0.0.alpha2' unless self.const_defined?(:VERSION)
2
+ VERSION = '4.0.0.alpha3' unless self.const_defined?(:VERSION)
3
3
  end
@@ -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 {{expectation}}"
9
- failure_message_for_should_not: "Did not expect {{expectation}}"
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: ", "
@@ -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.alpha2"
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-05-26}
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.alpha8"])
53
+ s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.alpha11"])
54
54
  else
55
- s.add_dependency(%q<rspec>, [">= 2.0.0.alpha8"])
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.alpha8"])
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: -1710980496
4
+ hash: -1710980495
5
5
  prerelease: true
6
6
  segments:
7
7
  - 4
8
8
  - 0
9
9
  - 0
10
- - alpha2
11
- version: 4.0.0.alpha2
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-05-26 00:00:00 -04:00
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: -1710980374
32
+ hash: 1369027956
33
33
  segments:
34
34
  - 2
35
35
  - 0
36
36
  - 0
37
- - alpha8
38
- version: 2.0.0.alpha8
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."