remarkable 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
File without changes
data/LICENSE CHANGED
File without changes
data/README CHANGED
File without changes
data/lib/remarkable.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,7 +3,7 @@ module Remarkable
3
3
 
4
4
  protected
5
5
 
6
- def pending(description=nil, &block)
6
+ def pending(description='TODO', &block)
7
7
  PendingSandbox.new(description, self).instance_eval(&block)
8
8
  end
9
9
 
@@ -14,9 +14,9 @@ module Remarkable
14
14
  method_caller = caller.detect{ |c| c !~ /method_missing'/ }
15
15
 
16
16
  error = begin
17
- ::Spec::Example::ExamplePendingError.new(description || 'TODO', method_caller)
18
- rescue # For rspec <= 1.1.12
19
- ::Spec::Example::ExamplePendingError.new(description || 'TODO')
17
+ ::Spec::Example::ExamplePendingError.new(description, method_caller)
18
+ rescue # For rspec <= 1.1.12 and rspec => 1.2.4
19
+ ::Spec::Example::ExamplePendingError.new(description)
20
20
  end
21
21
 
22
22
  spec.send(:example, mather_description){ raise error }
File without changes
@@ -1,3 +1,3 @@
1
1
  module Remarkable
2
- VERSION = '3.0.2' unless self.const_defined?('VERSION')
2
+ VERSION = '3.0.3' unless self.const_defined?('VERSION')
3
3
  end
data/locale/en.yml CHANGED
File without changes
data/spec/base_spec.rb CHANGED
File without changes
File without changes
File without changes
data/spec/i18n_spec.rb CHANGED
File without changes
data/spec/locale/en.yml CHANGED
File without changes
File without changes
data/spec/macros_spec.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/pending_spec.rb CHANGED
File without changes
data/spec/spec.opts CHANGED
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remarkable
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Brando
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-04-13 00:00:00 +02:00
13
+ date: 2009-04-15 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -40,22 +40,22 @@ files:
40
40
  - LICENSE
41
41
  - CHANGELOG
42
42
  - lib/remarkable
43
- - lib/remarkable/base.rb
44
- - lib/remarkable/core_ext
45
- - lib/remarkable/core_ext/array.rb
43
+ - lib/remarkable/pending.rb
46
44
  - lib/remarkable/dsl
47
45
  - lib/remarkable/dsl/assertions.rb
48
- - lib/remarkable/dsl/callbacks.rb
49
- - lib/remarkable/dsl/matches.rb
50
46
  - lib/remarkable/dsl/optionals.rb
47
+ - lib/remarkable/dsl/matches.rb
48
+ - lib/remarkable/dsl/callbacks.rb
49
+ - lib/remarkable/rspec.rb
50
+ - lib/remarkable/base.rb
51
51
  - lib/remarkable/dsl.rb
52
52
  - lib/remarkable/i18n.rb
53
53
  - lib/remarkable/macros.rb
54
+ - lib/remarkable/version.rb
54
55
  - lib/remarkable/matchers.rb
56
+ - lib/remarkable/core_ext
57
+ - lib/remarkable/core_ext/array.rb
55
58
  - lib/remarkable/messages.rb
56
- - lib/remarkable/pending.rb
57
- - lib/remarkable/rspec.rb
58
- - lib/remarkable/version.rb
59
59
  - lib/remarkable.rb
60
60
  - locale/en.yml
61
61
  has_rdoc: true
@@ -85,21 +85,21 @@ signing_key:
85
85
  specification_version: 2
86
86
  summary: "Remarkable: a framework for rspec matchers, with support to macros and I18n."
87
87
  test_files:
88
- - spec/base_spec.rb
89
88
  - spec/dsl
90
- - spec/dsl/assertions_spec.rb
91
89
  - spec/dsl/optionals_spec.rb
92
- - spec/i18n_spec.rb
90
+ - spec/dsl/assertions_spec.rb
91
+ - spec/messages_spec.rb
93
92
  - spec/locale
94
- - spec/locale/en.yml
95
93
  - spec/locale/pt-BR.yml
94
+ - spec/locale/en.yml
95
+ - spec/i18n_spec.rb
96
+ - spec/base_spec.rb
97
+ - spec/spec_helper.rb
96
98
  - spec/macros_spec.rb
99
+ - spec/spec.opts
100
+ - spec/pending_spec.rb
97
101
  - spec/matchers
98
102
  - spec/matchers/be_a_person_matcher.rb
99
- - spec/matchers/collection_contain_matcher.rb
100
103
  - spec/matchers/contain_matcher.rb
104
+ - spec/matchers/collection_contain_matcher.rb
101
105
  - spec/matchers/single_contain_matcher.rb
102
- - spec/messages_spec.rb
103
- - spec/pending_spec.rb
104
- - spec/spec.opts
105
- - spec/spec_helper.rb