reviewed 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reviewed/base.rb +1 -1
- data/lib/reviewed/version.rb +1 -1
- data/spec/article_spec.rb +0 -1
- data/spec/base_spec.rb +8 -0
- data/spec/client_spec.rb +0 -4
- data/spec/collection_spec.rb +0 -1
- data/spec/product_spec.rb +0 -1
- data/spec/request_spec.rb +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3afa1af40768b88591f005452625b6294a73656e
|
4
|
+
data.tar.gz: 03cadb04fa3e8e9dd1da037587d1eeb0cff90716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1cd4cb774f3dcb5bbff359dc6dc9fdeb1c0aa5de22c987ede6e0879b9eae69ca4efd9d54f4259a5a65d59ac06df08112759fe2b1bd1c2aa65508783c9cafd8
|
7
|
+
data.tar.gz: eea5b89695e96b2e720a55e193469f2209d0310a72bdca094798fe7ad5289ebb5f38c07550b2bbf047e16f80917b27cc4863be38bc0b67e9adad666a1ac416e1
|
data/lib/reviewed/base.rb
CHANGED
data/lib/reviewed/version.rb
CHANGED
data/spec/article_spec.rb
CHANGED
data/spec/base_spec.rb
CHANGED
@@ -61,6 +61,14 @@ describe Reviewed::Base do
|
|
61
61
|
it 'returns the demodulized & pluralized version of itself' do
|
62
62
|
Reviewed::Article.association_name.should eql("articles")
|
63
63
|
end
|
64
|
+
|
65
|
+
it 'works for multi word module names' do
|
66
|
+
module Reviewed
|
67
|
+
class FooBar < Base
|
68
|
+
end
|
69
|
+
end
|
70
|
+
Reviewed::FooBar.association_name.should eql("foo_bars")
|
71
|
+
end
|
64
72
|
end
|
65
73
|
|
66
74
|
describe 'attributes' do
|
data/spec/client_spec.rb
CHANGED
data/spec/collection_spec.rb
CHANGED
data/spec/product_spec.rb
CHANGED
data/spec/request_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reviewed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Plante
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|