atomic_admin 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60791227d9b0ddf9a2e98443268dce766a3c635ef35c6241cbc3b6d9e06b5b54
|
|
4
|
+
data.tar.gz: 8b9aee59dbefa5bd6760b35b0cf2d4a5739ad846efee3f24296bbc28c5515861
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 581634bdb7d6c05bcada251d601ba9c8fe97bb7a33ed8a203653a229936efa379b0205230bc586eed4d06e5565924e4449ec17b383e544cf316df93df1de8c53
|
|
7
|
+
data.tar.gz: 2d4df264ae0d3694b05abb991cb5ecec3fd18a29eb02f1c2e80357b7d9736c18b7eaf3ee6626d61b5a3f4d8cf110a38ebabd71abaaa65afbfbcf804a090fa19a
|
|
@@ -7,12 +7,13 @@ module AtomicAdmin::V1
|
|
|
7
7
|
|
|
8
8
|
def index
|
|
9
9
|
@application_instances = ApplicationInstance.where(application_id: params[:application_id])
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
|
|
11
|
+
case type
|
|
12
|
+
when "paid"
|
|
13
|
+
@application_instances = @application_instances.where.not(paid_at: nil)
|
|
14
|
+
when "evals"
|
|
15
|
+
@application_instances = @application_instances.where(paid_at: nil)
|
|
16
|
+
end
|
|
16
17
|
|
|
17
18
|
@application_instances, meta = filter(@application_instances)
|
|
18
19
|
@stats = get_stats_for_instances(@application_instances)
|
|
@@ -179,7 +180,7 @@ module AtomicAdmin::V1
|
|
|
179
180
|
end
|
|
180
181
|
|
|
181
182
|
def type
|
|
182
|
-
params[:type]
|
|
183
|
+
params[:type]
|
|
183
184
|
end
|
|
184
185
|
|
|
185
186
|
def search
|
data/lib/atomic_admin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atomic_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Benoit
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-08-
|
|
12
|
+
date: 2026-08-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|