api_me 0.8.1 → 0.8.2

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: a7ed7591706028ee446e1f62690c45bc3e077552
4
- data.tar.gz: afdd5788b734625ce90de8ee36a8fa706947c77f
3
+ metadata.gz: f89f29aa82b6eedc2d956b6019d8bb9aa985923c
4
+ data.tar.gz: fa8d02ad3d8159f8f1db558eb6b90d89c0aea459
5
5
  SHA512:
6
- metadata.gz: 864f404554ba935b25b5147bb571e08867669edaa6550dffac65d3876bbb9a7eb7f27a4952302c9c91a0b9d14154b97733f7fd1c2067a7f781b683f1901df5d2
7
- data.tar.gz: c45b62cd0ace3b4935bde877715b58fb41f7ececb25cbb2fc08f1d68a796a031d987fdf29ea06396975ef3c8ce35c1f95bf2608217d579b440ee77e38df98149
6
+ metadata.gz: a37f66786fa9d2c4915b39527433d3cb1ea7ac050f541e06bf87640c2dc19c703b6734383b99fc57535b3821988c16852ed355b3af5bbf932cba376ec034eb6a
7
+ data.tar.gz: 352e44db8fad70854def1bd8b86e0848bfd1ff85c2ab840973ba714926ca5975063bc5d770cc451d9595a8a63c68226e43017b01556f561ee8b02cf8c57e8152
data/.gitignore CHANGED
@@ -1,4 +1,3 @@
1
- Gemfile.lock
2
1
  spec/internal/db/*sqlite
3
2
  pkg/
4
3
  *.swp
data/Gemfile.lock ADDED
@@ -0,0 +1,137 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ api_me (0.8.2)
5
+ active_model_serializers (~> 0.10.0)
6
+ activerecord (>= 3.2.0)
7
+ activesupport (>= 3.2.0)
8
+ kaminari (~> 0.16.3)
9
+ pundit (~> 1.0)
10
+ search_object (~> 1.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionpack (4.1.6)
16
+ actionview (= 4.1.6)
17
+ activesupport (= 4.1.6)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ actionview (4.1.6)
21
+ activesupport (= 4.1.6)
22
+ builder (~> 3.1)
23
+ erubis (~> 2.7.0)
24
+ active_model_serializers (0.10.2)
25
+ actionpack (>= 4.1, < 6)
26
+ activemodel (>= 4.1, < 6)
27
+ jsonapi (~> 0.1.1.beta2)
28
+ railties (>= 4.1, < 6)
29
+ activemodel (4.1.6)
30
+ activesupport (= 4.1.6)
31
+ builder (~> 3.1)
32
+ activerecord (4.1.6)
33
+ activemodel (= 4.1.6)
34
+ activesupport (= 4.1.6)
35
+ arel (~> 5.0.0)
36
+ activesupport (4.1.6)
37
+ i18n (~> 0.6, >= 0.6.9)
38
+ json (~> 1.7, >= 1.7.7)
39
+ minitest (~> 5.1)
40
+ thread_safe (~> 0.1)
41
+ tzinfo (~> 1.1)
42
+ arel (5.0.1.20140414130214)
43
+ ast (2.0.0)
44
+ astrolabe (1.3.0)
45
+ parser (>= 2.2.0.pre.3, < 3.0)
46
+ builder (3.2.2)
47
+ coderay (1.1.0)
48
+ colored (1.2)
49
+ combustion (0.5.2)
50
+ activesupport (>= 3.0.0)
51
+ railties (>= 3.0.0)
52
+ thor (>= 0.14.6)
53
+ diff-lcs (1.2.5)
54
+ erubis (2.7.0)
55
+ i18n (0.6.11)
56
+ json (1.8.1)
57
+ jsonapi (0.1.1.beta2)
58
+ json (~> 1.8)
59
+ kaminari (0.16.3)
60
+ actionpack (>= 3.0.0)
61
+ activesupport (>= 3.0.0)
62
+ method_source (0.8.2)
63
+ minitest (5.4.2)
64
+ parser (2.2.0.pre.8)
65
+ ast (>= 1.1, < 3.0)
66
+ slop (~> 3.4, >= 3.4.5)
67
+ powerpack (0.0.9)
68
+ pry (0.10.3)
69
+ coderay (~> 1.1.0)
70
+ method_source (~> 0.8.1)
71
+ slop (~> 3.4)
72
+ pundit (1.0.1)
73
+ activesupport (>= 3.0.0)
74
+ rack (1.5.2)
75
+ rack-test (0.6.2)
76
+ rack (>= 1.0)
77
+ railties (4.1.6)
78
+ actionpack (= 4.1.6)
79
+ activesupport (= 4.1.6)
80
+ rake (>= 0.8.7)
81
+ thor (>= 0.18.1, < 2.0)
82
+ rainbow (2.0.0)
83
+ rake (10.3.2)
84
+ rake-notes (0.2.0)
85
+ colored
86
+ rake
87
+ rspec-core (3.1.7)
88
+ rspec-support (~> 3.1.0)
89
+ rspec-expectations (3.1.2)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.1.0)
92
+ rspec-mocks (3.1.3)
93
+ rspec-support (~> 3.1.0)
94
+ rspec-rails (3.1.0)
95
+ actionpack (>= 3.0)
96
+ activesupport (>= 3.0)
97
+ railties (>= 3.0)
98
+ rspec-core (~> 3.1.0)
99
+ rspec-expectations (~> 3.1.0)
100
+ rspec-mocks (~> 3.1.0)
101
+ rspec-support (~> 3.1.0)
102
+ rspec-support (3.1.2)
103
+ rubocop (0.28.0)
104
+ astrolabe (~> 1.3)
105
+ parser (>= 2.2.0.pre.7, < 3.0)
106
+ powerpack (~> 0.0.6)
107
+ rainbow (>= 1.99.1, < 3.0)
108
+ ruby-progressbar (~> 1.4)
109
+ ruby-progressbar (1.7.0)
110
+ search_object (1.1.1)
111
+ slop (3.6.0)
112
+ sqlite3 (1.3.9)
113
+ thor (0.19.1)
114
+ thread_safe (0.3.4)
115
+ tzinfo (1.2.2)
116
+ thread_safe (~> 0.1)
117
+
118
+ PLATFORMS
119
+ ruby
120
+
121
+ DEPENDENCIES
122
+ actionpack
123
+ active_model_serializers (~> 0.10.0)
124
+ activerecord
125
+ activesupport
126
+ api_me!
127
+ combustion (~> 0.5.2)
128
+ pry
129
+ pundit
130
+ rack-test
131
+ rake-notes (>= 0.2.0)
132
+ rspec-rails (~> 3)
133
+ rubocop (>= 0.27.0)
134
+ sqlite3 (~> 1.3.7)
135
+
136
+ BUNDLED WITH
137
+ 1.13.6
@@ -11,7 +11,7 @@ module ApiMe
11
11
  end
12
12
 
13
13
  def results
14
- sorting? ? sort.scope : scope
14
+ sorting? ? sort(sort_criteria).scope : scope
15
15
  end
16
16
 
17
17
  def sort_meta
@@ -1,3 +1,3 @@
1
1
  module ApiMe
2
- VERSION = '0.8.1'
2
+ VERSION = '0.8.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Clopton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-06 00:00:00.000000000 Z
12
+ date: 2016-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -179,6 +179,7 @@ files:
179
179
  - ".ruby-version"
180
180
  - ".travis.yml"
181
181
  - Gemfile
182
+ - Gemfile.lock
182
183
  - LICENCE
183
184
  - README.md
184
185
  - Rakefile