sls_adf 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/Rakefile +4 -4
- data/bin/console +4 -4
- data/lib/sls_adf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dae63b7975a38a80fd1afa9e494007e9e14bcbac079e19af8b28fe8efe4b9a3e
|
4
|
+
data.tar.gz: 931da4d4640d497a95699e6e5c8cf608c6e982ea63582d436a9b9a0b4031d952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8c71cf1327f52632ccdd8a1abc42dd1f7e0acdbf098f21ac5ccf9cab7c65736864950eef5fb6f3a13fc0a44fe1a1b6e39502478a1c9698d8c50fc995ef87e9d
|
7
|
+
data.tar.gz: 9e9d592282ce8f632148dff9eed6e451960a21e914e6f4403e69b21ac0872f4512b82a43db1d0a483138256ecb332ba5d718cd59f867d3499574b82e8f7fa924
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -83,9 +83,9 @@ you may:
|
|
83
83
|
|
84
84
|
Key Commands:
|
85
85
|
- `bin/setup`: Install dependencies and copy `.env` file.
|
86
|
-
- `bin/console`: Run an interactive prompt (requires configuration on .`env` file)
|
86
|
+
- `bin/console`: Run an interactive prompt (requires configuration on .`env` file).
|
87
87
|
- `rake spec` or `bundle exec rspec`: Run tests.
|
88
|
-
- `rake sls_adf:update_schema`: Update the SLS ADF GraphQL schema.
|
88
|
+
- `rake sls_adf:update_schema`: Update the SLS ADF GraphQL schema (requires configuration on .`env` file).
|
89
89
|
|
90
90
|
## Contributing
|
91
91
|
|
data/Rakefile
CHANGED
@@ -27,10 +27,10 @@ namespace :sls_adf do
|
|
27
27
|
|
28
28
|
Dotenv.load
|
29
29
|
SlsAdf.configure do |c|
|
30
|
-
c.graphql_url = ENV.fetch('
|
31
|
-
c.get_token_url = ENV.fetch('
|
32
|
-
c.client_id = ENV.fetch('
|
33
|
-
c.client_secret = ENV.fetch('
|
30
|
+
c.graphql_url = ENV.fetch('SLS_ADF_GRAPHQL_URL')
|
31
|
+
c.get_token_url = ENV.fetch('SLS_ADF_GET_TOKEN_URL')
|
32
|
+
c.client_id = ENV.fetch('SLS_ADF_CLIENT_ID')
|
33
|
+
c.client_secret = ENV.fetch('SLS_ADF_CLIENT_SECRET')
|
34
34
|
end
|
35
35
|
|
36
36
|
schema_location = File.join(File.dirname(__FILE__), 'lib/sls_adf/schema/schema.json')
|
data/bin/console
CHANGED
@@ -8,10 +8,10 @@ Dotenv.load
|
|
8
8
|
# Configure Gem
|
9
9
|
require 'sls_adf'
|
10
10
|
SlsAdf.configure do |config|
|
11
|
-
config.graphql_url = ENV['
|
12
|
-
config.get_token_url = ENV['
|
13
|
-
config.client_id = ENV['
|
14
|
-
config.client_secret = ENV['
|
11
|
+
config.graphql_url = ENV['SLS_ADF_GRAPHQL_URL']
|
12
|
+
config.get_token_url = ENV['SLS_ADF_GET_TOKEN_URL']
|
13
|
+
config.client_id = ENV['SLS_ADF_CLIENT_ID']
|
14
|
+
config.client_secret = ENV['SLS_ADF_CLIENT_SECRET']
|
15
15
|
end
|
16
16
|
|
17
17
|
# (If you use this, don't forget to add pry to your Gemfile!)
|
data/lib/sls_adf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sls_adf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toh Weiqing
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql-client
|