rise_ai 0.1.0 → 0.1.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: bcb6fa35b7f2e27cf36adb418ffd445f14c868a8be814011e16da6036b9425a0
4
- data.tar.gz: f0191b046830f7e9735ce33e312f8510afefa88c961b20efa37a3ac260467b99
3
+ metadata.gz: cd470dc164f793d7ad3f455a41e92b1f4ffecb2cfd4b7c696c1084926d05c783
4
+ data.tar.gz: 933128c27992a602d8d7b37420a599fbd25917458154ea96e5c43bf75ca7ef23
5
5
  SHA512:
6
- metadata.gz: 16987f4b4fb430e0087e54ee738c532b872d0061f26d8afb41094d482b69149871624611704d51663076831b88149b425faf1f34699ad10eaf0b25aca54b4e23
7
- data.tar.gz: e270c78b57de5f3b9f4f4103d0e6b90cf4f9e6aac4b35181f45e22555dda1606307b56ef35954ade5d251c7c276487447ffc4776192ddc6aff27dd43c2268a8a
6
+ metadata.gz: 7062ca0f021fff760f784dcc9218af29c3fc02712409fe6f1b476aac545ab6bb4ab5053672c99bdba70b8eff1f2105ec023088e21874cb705ca0a8e0f0758e52
7
+ data.tar.gz: 1a971259ae6d339ffac5fa9b574e5a5404d9df1128ad7ea4e239096637f8eb7f5277ae73a323bdad87c9d657ebfd0875eba37b6c9d51cc163e72aafeb3184b0c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rise_ai (0.1.0)
4
+ rise_ai (0.1.1)
5
5
  faraday (~> 2.7.10)
6
6
  jwt (~> 2.7.1)
7
7
  zeitwerk (~> 2.6.11)
data/README.md CHANGED
@@ -20,7 +20,8 @@ If bundler is not being used to manage dependencies, install the gem by executin
20
20
  1. Set your own Rise.ai secret key in your app's `config/initializers/rise_ai.rb`
21
21
 
22
22
  ```ruby
23
- RiseAi.client_secrent = "your_secret_key"
23
+ RiseAi.client_secret = "your_client_secret"
24
+ RiseAi.client_id = "your_client_id"
24
25
  ```
25
26
 
26
27
  ### Custom Trigger Resource
@@ -2,7 +2,7 @@
2
2
 
3
3
  module RiseAi
4
4
  class Configuration
5
- attr_accessor :client_secret
5
+ attr_accessor :client_secret, :client_id
6
6
 
7
7
  def self.setup
8
8
  new.tap { |instance| yield(instance) if block_given? }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RiseAi
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/rise_ai.rb CHANGED
@@ -19,5 +19,6 @@ module RiseAi
19
19
 
20
20
  # User configurable options
21
21
  def_delegators :@config, :client_secret, :client_secret=
22
+ def_delegators :@config, :client_id, :client_id=
22
23
  end
23
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rise_ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wei Zhe Heng