front_end_builds 1.0.1 → 1.0.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78ec1dd001963ad8ef26be6adb8145d7a7ec57226933709b734ff673b30c09fa
|
4
|
+
data.tar.gz: 646c31fa6a838653c5f4e14f55a737bb7d74227a6fdec0e201be7a7355df6d04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53d5a8ea6b7881fbf0c1714509207b17edafb4e0466fe4c97e252d0516e1b1c342015c42973bc7875bdacaa7494ac060b03a229e5bf8abb2f3470f1c6c2bc298
|
7
|
+
data.tar.gz: adec4a0b37e83de441dacb931906a934bf090e496f2b420c6a20ebbf348bc42256806605f8da2659cc55b2764cc4944d650bba7c1e2f7b670a7f2002db12f081
|
@@ -5,7 +5,13 @@ module FrontEndBuilds
|
|
5
5
|
before_action :set_app , :only => [:show, :destroy, :update]
|
6
6
|
|
7
7
|
def index
|
8
|
-
|
8
|
+
# this should be the most recent 10 builds for each app
|
9
|
+
|
10
|
+
# DO NOT use `App.includes(:recent_builds)`
|
11
|
+
# b/c it mucks up the grouping logic and only gives the most
|
12
|
+
# recent 10 for ALL apps not 10 per app
|
13
|
+
apps = App.all
|
14
|
+
|
9
15
|
respond_with_json({
|
10
16
|
apps: apps.map(&:serialize),
|
11
17
|
builds: apps.map(&:recent_builds)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: front_end_builds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Toronto
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -194,6 +194,34 @@ dependencies:
|
|
194
194
|
- - '='
|
195
195
|
- !ruby/object:Gem::Version
|
196
196
|
version: 2.7.0
|
197
|
+
- !ruby/object:Gem::Dependency
|
198
|
+
name: sprockets
|
199
|
+
requirement: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - '='
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: 3.7.2
|
204
|
+
type: :development
|
205
|
+
prerelease: false
|
206
|
+
version_requirements: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - '='
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: 3.7.2
|
211
|
+
- !ruby/object:Gem::Dependency
|
212
|
+
name: sprockets-rails
|
213
|
+
requirement: !ruby/object:Gem::Requirement
|
214
|
+
requirements:
|
215
|
+
- - '='
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: 3.2.1
|
218
|
+
type: :development
|
219
|
+
prerelease: false
|
220
|
+
version_requirements: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - '='
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 3.2.1
|
197
225
|
- !ruby/object:Gem::Dependency
|
198
226
|
name: sqlite3
|
199
227
|
requirement: !ruby/object:Gem::Requirement
|