g5_integrations_updatable 0.0.1 → 0.0.2
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 +4 -4
- data/app/controllers/g5_integrations_updatable/feeds_controller.rb +5 -0
- data/app/serializers/g5_integrations_updatable/location_setting_serializer.rb +6 -0
- data/config/routes.rb +1 -1
- data/lib/g5_integrations_updatable.rb +1 -0
- data/lib/g5_integrations_updatable/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c6e7f2abdc9cf16a2fe8b51f67dc9f66402a32e
|
4
|
+
data.tar.gz: 90acbe7e368b94e9a84aaa21df6e80a62457b645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92681c53e354266b767d5bb0c17d952b72bc49a3db74e0208b0771cf07e7ef2d5db90fbd4a2e6162062e9a9a277fcf2b4a6e7f2d49f7b99b011a32eeaf0e64fc
|
7
|
+
data.tar.gz: b89dd8caeb800dc141f0ad6f89d07468397444dadadb7c3e760ed1770bbdd9a7e1ad9a5c566a1965f4ed8938339bca686b92390ea9e1e731e7ede2d26286d41f
|
@@ -6,4 +6,9 @@ class G5IntegrationsUpdatable::FeedsController < ApplicationController
|
|
6
6
|
G5IntegrationsUpdatable::FeedProcessor.new(client_setting_uid: params[:client_setting_uid]).process
|
7
7
|
render json: {}, status: 201
|
8
8
|
end
|
9
|
+
|
10
|
+
def index
|
11
|
+
@location_settings = G5IntegrationsUpdatable::LocationSetting.all
|
12
|
+
render json: @location_settings, each_serializer: G5IntegrationsUpdatable::LocationSettingSerializer
|
13
|
+
end
|
9
14
|
end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
class G5IntegrationsUpdatable::LocationSettingSerializer < ActiveModel::Serializer
|
2
|
+
attributes :uid, :urn, :location_uid, :location_urn, :location_name,
|
3
|
+
:client_uid, :client_urn, :client_name, :vendor_action,
|
4
|
+
:job_frequency_in_minutes, :created_at, :updated_at
|
5
|
+
#leaving off 'properties' for now
|
6
|
+
end
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_integrations_updatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Perry Hertler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: active_model_serializers
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: virtus
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,6 +168,7 @@ files:
|
|
168
168
|
- app/controllers/g5_integrations_updatable/feeds_controller.rb
|
169
169
|
- app/helpers/g5_integrations_updatable/application_helper.rb
|
170
170
|
- app/models/g5_integrations_updatable/location_setting.rb
|
171
|
+
- app/serializers/g5_integrations_updatable/location_setting_serializer.rb
|
171
172
|
- app/views/layouts/g5_integrations_updatable/application.html.erb
|
172
173
|
- config/routes.rb
|
173
174
|
- db/migrate/20141119204321_create_location_settings.rb
|
@@ -203,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
204
|
version: '0'
|
204
205
|
requirements: []
|
205
206
|
rubyforge_project:
|
206
|
-
rubygems_version: 2.2.
|
207
|
+
rubygems_version: 2.2.2
|
207
208
|
signing_key:
|
208
209
|
specification_version: 4
|
209
210
|
summary: Retrieves and stores integration models from g5-integrations-dashboard.
|