kaminari-rspec 0.14.1.b1 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmJmNDhmY2RjOGZjZGRkODZhYWMyZmE0MjcwOGEyYmJlN2VlZTA5YQ==
4
+ ZGZjNzljZTRkMjlkOTU1ZDUzNzgyMTk2M2IyZjEwMzMzYjhiYTNkZA==
5
5
  data.tar.gz: !binary |-
6
- Y2I4YjBmNDg3YTdmMTJiODg0MzYyMzM5MGRiZjBjOTc2OTZlZmQ0Mw==
6
+ MmNlMDM5ZTFiNjQyYTQ3MzUzODkyMTVkMjZkODU1M2U2YmQ4YzVhNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Mzk3YjY5YjY0MjA5N2Q1MDRiODA1NDY0Zjk4YjVhNDQ4ZmVjY2JkNWNiODVj
10
- YjVmNjg0NzJkNzU1NzYwYThkOTE1NmFmZjViYWE5YmNjODdjMTdkZjIyMWFi
11
- ZGI0MDcyNzMwM2ZmZTk5ZDRjOTg2YWQxY2Y4ZjYxNGQxNjI4OTU=
9
+ YzJkYTY0ZmMwNzljNWI1MmQwMzExMTJhYjkzZjZmZmM0NzRlMmEzZGY3MjM0
10
+ MmFiMDM3M2U5ZGJiNDg0MWUyYjkzMTk0NjNjMzE0NzhjM2ZlNDEyNWI3N2Zj
11
+ ZDhkYWE0ZTQ4YTNlYjU5MGZkOTE1ODYyNDZmYjZiYzBkZTk3Yjk=
12
12
  data.tar.gz: !binary |-
13
- ZjFlNDRkZWQ1ZTdiMDAyMTEyNTI0MmQ1M2NiZTI3YzBkN2VjM2U3ODE1NTQw
14
- ZDNjYWMyYjI2MmY1MjU3OWI5MDJhOTBkY2ZlMWI2Njk3MDc4NTQzYTcxZWVk
15
- NWE1YTExMmMyODk5MTQyNzEyZmEzMjkyYWZhODBlMDFlNzg3ZTY=
13
+ MTU5YjMwYjJhYzVlOTc4YzA3MTY4YTM4MWRlY2MwNmU4MWU2NWZiYmJhOGM5
14
+ OTc5MDQ3NWU4YTk4MjY2OTdjMDUxZDZiNTdjM2RjYWYyMmM5Njc2NzNmMDEy
15
+ MDQzMTRjMzcyYTY1ZTNjNjEwNmI5NzdjMzc0NGJkOWM3ZGRmZTg=
data/.gitignore CHANGED
@@ -1,2 +1,4 @@
1
1
  Gemfile.lock
2
2
  pkg
3
+ .ruby-gemset
4
+ .ruby-version
data/README.md CHANGED
@@ -76,3 +76,6 @@ Currently supported mocking frameworks are:
76
76
  * RR (Double Ruby)
77
77
  * Mocha
78
78
  * Flexmock
79
+
80
+ If you are using this gem, please drop me a note telling which one of the above mentioned frameworks you are using. If you
81
+ are using a framework which is not supported, feel free to fork and add the support for it.
@@ -38,8 +38,6 @@ module KaminariRspec
38
38
 
39
39
  def stub_pagination_with_rspec(resource, values)
40
40
 
41
- puts('Stubbing pagination methods with RSpec mocks')
42
-
43
41
  values.each do |key, value |
44
42
  allow(resource).to receive(key).and_return(value)
45
43
  end
@@ -50,8 +48,6 @@ module KaminariRspec
50
48
 
51
49
  def stub_pagination_with_rr(resource, values)
52
50
 
53
- puts('Stubbing pagination methods with RR')
54
-
55
51
  values.each do |key, value|
56
52
  eval "stub(resource).#{key} { #{value} }"
57
53
  end
@@ -62,8 +58,6 @@ module KaminariRspec
62
58
 
63
59
  def stub_pagination_with_mocha(resource, values)
64
60
 
65
- puts('Stubbing pagination methods with mocha')
66
-
67
61
  values.each do |key, value|
68
62
  resource.stubs(key).returns(value)
69
63
  end
@@ -74,8 +68,6 @@ module KaminariRspec
74
68
 
75
69
  def stub_pagination_with_flexmock(resource, values)
76
70
 
77
- puts('Stubbing pagination methods with flexmock')
78
-
79
71
  mock = flexmock(resource)
80
72
 
81
73
  values.each do |key, value|
@@ -1,3 +1,3 @@
1
1
  module KaminariRspec
2
- VERSION = '0.14.1.b1'
2
+ VERSION = '0.14.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1.b1
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Sandrini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-17 00:00:00.000000000 Z
11
+ date: 2013-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ! '>'
153
+ - - ! '>='
154
154
  - !ruby/object:Gem::Version
155
- version: 1.3.1
155
+ version: '0'
156
156
  requirements: []
157
157
  rubyforge_project:
158
158
  rubygems_version: 2.0.5