specstar-controllers 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/specstar/controllers.rb +6 -6
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70b81e777192e989185b7bb53cc71aedfca646c9
4
- data.tar.gz: 9cb56320474181becd9df8ef1e612cedad35710f
3
+ metadata.gz: 307878cf1e13e950b35b328ce0bf7fbe6eb250f4
4
+ data.tar.gz: 439b8adff7ba7bd37e3ce7646b700c6b39fc5e78
5
5
  SHA512:
6
- metadata.gz: b8c30a1f0a01c42fcf42b219b5d7bcfb660a1c7a530082ba297640a552e7ad55c89c06fe824ce8bea9d825ed5ba9b3032a268038f6e3a61ab8fb3c405d852abd
7
- data.tar.gz: b21bf28b036416851752c7ee40a60e99215478f4ed707ab0aa615cd901daa327cb7bc52a5d56ef1cac99ddaed89fa2df7abba31fad50f66040b7a8fddfada7b7
6
+ metadata.gz: 91badea2d8592b29942131730a3498b44acf4ab1d4b3b1871d70ecec2ffcc433badb189726187bbbda5ce81f448f7fd2bc6b740a5608e94909600b31f97cf0de
7
+ data.tar.gz: 34b50ab2fca0ab630de5f939a5e89d2aeb86bc4cddb6a357aef82567e597368b41cea018796df4a93c9fe510ff653c3ecc664ada44edd8d26a335a45fe19f0c2
@@ -12,7 +12,7 @@ module Specstar
12
12
  end
13
13
  end
14
14
 
15
- failure_message_for_should do |controller|
15
+ failure_message do |controller|
16
16
  if expected
17
17
  "Expected #{controller.class.name} to have layout '#{expected}'."
18
18
  else
@@ -20,7 +20,7 @@ module Specstar
20
20
  end
21
21
  end
22
22
 
23
- failure_message_for_should_not do |controller|
23
+ failure_message_when_negated do |controller|
24
24
  if expected
25
25
  "Expected #{controller.class.name} not to have layout '#{expected}'."
26
26
  else
@@ -70,11 +70,11 @@ module Specstar
70
70
  has_skip_before_filter?(controller, filter, @actions)
71
71
  end
72
72
 
73
- failure_message_for_should do |controller|
73
+ failure_message do |controller|
74
74
  "Expected #{controller.class.name} to have a skip before filter '#{filter}'."
75
75
  end
76
76
 
77
- failure_message_for_should_not do |controller|
77
+ failure_message_when_negated do |controller|
78
78
  "Expected #{controller.class.name} not to have a skip before filter '#{filter}'."
79
79
  end
80
80
 
@@ -92,11 +92,11 @@ module Specstar
92
92
  has_before_filter?(controller, filter, @actions)
93
93
  end
94
94
 
95
- failure_message_for_should do |controller|
95
+ failure_message do |controller|
96
96
  "Expected #{controller.class.name} to have a before filter '#{filter}'."
97
97
  end
98
98
 
99
- failure_message_for_should_not do |controller|
99
+ failure_message_when_negated do |controller|
100
100
  "Expected #{controller.class.name} not to have a before filter '#{filter}'."
101
101
  end
102
102
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specstar-controllers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sujoy Gupta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-10 00:00:00.000000000 Z
11
+ date: 2015-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3.1'
27
27
  description:
28
28
  email: sujoyg@gmail.com
29
29
  executables: []