clova-speech 0.1.0 → 0.1.1

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: 5df3bd56f3d5eac180fd191333d75172f4044e6b758b0f04538c8aa15c2e8082
4
- data.tar.gz: 0ab2b3ba5d794293edeafcabe8eaedb8a082c786f6ab5243faccaf2f044af1d0
3
+ metadata.gz: 9093c33d344a382e1f2cf77e25bf905ac97e7988b4416d23409218f53f2496b8
4
+ data.tar.gz: ded5e59869ac1fa4a4f79bee9da6d9db45fdd95e3286d47a2f57e3a04871794b
5
5
  SHA512:
6
- metadata.gz: 3ad9d85dc5d8683fc42546a89ea3502b17ac58e37f9c98212b353b08286711c6bbad0ce3987e28b1c48bae129b0d6fdb0619f2084c5255bf5bee36b573309cd0
7
- data.tar.gz: 46c0498da965b546003f57b58297d3eaed6478c05a559361473ec90b398f5c2b5d4ab9a4dbeeaabd3ecd8d941afe916151eb9583378f787f50d9b98a490b5b7e
6
+ metadata.gz: 349dd41db79422b833f7c000bae907b310feedcacd32feb1e86a70374e0d8c4eff7516dd105289c2734797d9f2caf12f98960cb2bbd3cc0b028fd6d379d0d784
7
+ data.tar.gz: 0302c34823b8038a9a2ca354b50b277a2b6917238e1458c88081e1f76d34205f0ac4d70fb36ea176c238a87df9f154bf667eb3b403f96a53351f1d0632c90e7d
@@ -2,13 +2,9 @@ require 'clova/version'
2
2
  require 'clova/config'
3
3
  require 'clova/request'
4
4
  require 'clova/response'
5
- require 'clova/event_request'
6
- require 'clova/intent_request'
7
5
  require 'clova/output_speech'
8
6
  require 'clova/validator'
9
7
  require 'clova/session'
10
- require 'clova/launch_request'
11
- require 'clova/session_ended_request'
12
8
  require 'clova/client'
13
9
  require 'clova/skill'
14
10
  require 'json'
@@ -1,15 +1,5 @@
1
- module Clova
2
- class Request
3
- attr_reader :session, :context, :version
4
-
5
- def initialize(session:, context:, request:, version:)
6
- @context = context
7
- @session = Session.new(session)
8
- @version = version
9
- end
10
-
11
- def session_attributes
12
- @session.session_attributes
13
- end
14
- end
15
- end
1
+ require 'request/request'
2
+ require 'request/intent_request'
3
+ require 'request/event_request'
4
+ require 'request/launch_request'
5
+ require 'request/session_ended_request'
@@ -0,0 +1,15 @@
1
+ module Clova
2
+ class Request
3
+ attr_reader :session, :context, :version
4
+
5
+ def initialize(session:, context:, request:, version:)
6
+ @context = context
7
+ @session = Session.new(session)
8
+ @version = version
9
+ end
10
+
11
+ def session_attributes
12
+ @session.session_attributes
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clova-speech
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
  - Isaiah Bush
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-24 00:00:00.000000000 Z
11
+ date: 2019-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openssl
@@ -69,7 +69,7 @@ dependencies:
69
69
  description: Clova API - SDK of the LINE Clova Smart Speaker API for Ruby. Developed
70
70
  as part of an internship at LINE Corp
71
71
  email:
72
- - itbush@cs.stanford.com, itbush2016@gmail.com
72
+ - itbush@cs.stanford.com, itbush1998@gmail.com
73
73
  executables: []
74
74
  extensions: []
75
75
  extra_rdoc_files: []
@@ -78,14 +78,15 @@ files:
78
78
  - lib/clova.rb
79
79
  - lib/clova/client.rb
80
80
  - lib/clova/config.rb
81
- - lib/clova/event_request.rb
82
- - lib/clova/intent_request.rb
83
- - lib/clova/launch_request.rb
84
81
  - lib/clova/output_speech.rb
85
82
  - lib/clova/request.rb
83
+ - lib/clova/request/event_request.rb
84
+ - lib/clova/request/intent_request.rb
85
+ - lib/clova/request/launch_request.rb
86
+ - lib/clova/request/request.rb
87
+ - lib/clova/request/session_ended_request.rb
86
88
  - lib/clova/response.rb
87
89
  - lib/clova/session.rb
88
- - lib/clova/session_ended_request.rb
89
90
  - lib/clova/skill.rb
90
91
  - lib/clova/validator.rb
91
92
  - lib/clova/version.rb