mongoid-api-base 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 988f2ab57ea3bc738e3b6ee94e6ebf965653d75a
4
- data.tar.gz: c1f9892a52017337d54887d5f25b7e6b885c8220
3
+ metadata.gz: e236b8693fb490d3c2475d1b58cb0405cde34d41
4
+ data.tar.gz: deb977f256953b5fc3ef07526face05d56cfdff7
5
5
  SHA512:
6
- metadata.gz: 96cec002cca5bb9377c29744bf3768c106f6f7d46616e17c61fc0ce1186eb1c084c270980a6eb157b32440cadf66f58272dbfe8f7e1faa47d3893b8ba77b3256
7
- data.tar.gz: 6dbb64292d97cfbcabc581b7467d99343e6750861c3d283f9a29f19d5e838bb09256f301f566d727148f6b6ed9082cdc45cfdfbed95074bb0c3aa5fd6c8c4622
6
+ metadata.gz: 93adb1043fc457cd86787928c7475b47732ee86c6a2ad5f197a5575c06016a61889bdb86bcd76eb522e0298e4ca8611f08c16a2000dff5c695dd169838a8a8b6
7
+ data.tar.gz: 1b9f5206aeb5e9702f50954a29917743d6dffdf1562a6a8cea8cb4be1b0a0fee890113798661ead3cceead0adaa5b871fa1ed7091beda26e924d3bce8cfa8c64
data/Gemfile.lock CHANGED
@@ -1,56 +1,38 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid-api-base (0.1.4)
4
+ mongoid-api-base (0.1.5)
5
5
  kaminari
6
6
  mongoid (~> 5.0)
7
- rails (~> 4.2.5.1)
8
7
 
9
8
  GEM
10
9
  remote: http://rubygems.org/
11
10
  specs:
12
- actionmailer (4.2.5.1)
13
- actionpack (= 4.2.5.1)
14
- actionview (= 4.2.5.1)
15
- activejob (= 4.2.5.1)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.5.1)
19
- actionview (= 4.2.5.1)
20
- activesupport (= 4.2.5.1)
11
+ actionpack (4.2.6)
12
+ actionview (= 4.2.6)
13
+ activesupport (= 4.2.6)
21
14
  rack (~> 1.6)
22
15
  rack-test (~> 0.6.2)
23
16
  rails-dom-testing (~> 1.0, >= 1.0.5)
24
17
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.5.1)
26
- activesupport (= 4.2.5.1)
18
+ actionview (4.2.6)
19
+ activesupport (= 4.2.6)
27
20
  builder (~> 3.1)
28
21
  erubis (~> 2.7.0)
29
22
  rails-dom-testing (~> 1.0, >= 1.0.5)
30
23
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- activejob (4.2.5.1)
32
- activesupport (= 4.2.5.1)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.5.1)
35
- activesupport (= 4.2.5.1)
24
+ activemodel (4.2.6)
25
+ activesupport (= 4.2.6)
36
26
  builder (~> 3.1)
37
- activerecord (4.2.5.1)
38
- activemodel (= 4.2.5.1)
39
- activesupport (= 4.2.5.1)
40
- arel (~> 6.0)
41
- activesupport (4.2.5.1)
27
+ activesupport (4.2.6)
42
28
  i18n (~> 0.7)
43
29
  json (~> 1.7, >= 1.7.7)
44
30
  minitest (~> 5.1)
45
31
  thread_safe (~> 0.3, >= 0.3.4)
46
32
  tzinfo (~> 1.1)
47
- arel (6.0.3)
48
- bson (4.0.2)
33
+ bson (4.0.4)
49
34
  builder (3.2.2)
50
- concurrent-ruby (1.0.0)
51
35
  erubis (2.7.0)
52
- globalid (0.3.6)
53
- activesupport (>= 4.1.0)
54
36
  i18n (0.7.0)
55
37
  json (1.8.3)
56
38
  kaminari (0.16.3)
@@ -58,12 +40,9 @@ GEM
58
40
  activesupport (>= 3.0.0)
59
41
  loofah (2.0.3)
60
42
  nokogiri (>= 1.5.9)
61
- mail (2.6.3)
62
- mime-types (>= 1.16, < 3)
63
- mime-types (2.99.1)
64
43
  mini_portile2 (2.0.0)
65
44
  minitest (5.8.4)
66
- mongo (2.2.3)
45
+ mongo (2.2.4)
67
46
  bson (~> 4.0)
68
47
  mongoid (5.0.2)
69
48
  activemodel (~> 4.0)
@@ -76,17 +55,6 @@ GEM
76
55
  rack (1.6.4)
77
56
  rack-test (0.6.3)
78
57
  rack (>= 1.0)
79
- rails (4.2.5.1)
80
- actionmailer (= 4.2.5.1)
81
- actionpack (= 4.2.5.1)
82
- actionview (= 4.2.5.1)
83
- activejob (= 4.2.5.1)
84
- activemodel (= 4.2.5.1)
85
- activerecord (= 4.2.5.1)
86
- activesupport (= 4.2.5.1)
87
- bundler (>= 1.3.0, < 2.0)
88
- railties (= 4.2.5.1)
89
- sprockets-rails
90
58
  rails-deprecated_sanitizer (1.0.3)
91
59
  activesupport (>= 4.2.0.alpha)
92
60
  rails-dom-testing (1.0.7)
@@ -95,20 +63,6 @@ GEM
95
63
  rails-deprecated_sanitizer (>= 1.0.1)
96
64
  rails-html-sanitizer (1.0.3)
97
65
  loofah (~> 2.0)
98
- railties (4.2.5.1)
99
- actionpack (= 4.2.5.1)
100
- activesupport (= 4.2.5.1)
101
- rake (>= 0.8.7)
102
- thor (>= 0.18.1, < 2.0)
103
- rake (10.5.0)
104
- sprockets (3.5.2)
105
- concurrent-ruby (~> 1.0)
106
- rack (> 1, < 3)
107
- sprockets-rails (3.0.1)
108
- actionpack (>= 4.0)
109
- activesupport (>= 4.0)
110
- sprockets (>= 3.0.0)
111
- thor (0.19.1)
112
66
  thread_safe (0.3.5)
113
67
  tzinfo (1.2.2)
114
68
  thread_safe (~> 0.1)
@@ -109,7 +109,7 @@ module MongoidApiBase
109
109
  end
110
110
 
111
111
  def page
112
- @page ||= params[:page]
112
+ @page ||= params[:page] || false
113
113
  end
114
114
 
115
115
  def per_page
@@ -1,4 +1,3 @@
1
1
  module MongoidApiBase
2
- RAILS_VERSION = "~> 4.2.5.1"
3
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
4
3
  end
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.version = MongoidApiBase::VERSION
19
19
  s.platform = Gem::Platform::RUBY
20
20
 
21
- s.add_dependency "rails", MongoidApiBase::RAILS_VERSION
22
21
  # Ruby ODM framework for MongoDB
23
22
  s.add_dependency "mongoid", "~> 5.0"
24
23
  # Clean, powerful, customizable and sophisticated paginator
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-api-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 4.2.5.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 4.2.5.1
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: mongoid
29
15
  requirement: !ruby/object:Gem::Requirement