alexa_transmission 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
  SHA1:
3
- metadata.gz: 24d8151c27b1653571251f75f1fb11bed7e74748
4
- data.tar.gz: cabff97a6c0bb7d53a176d1cd63ccfd4d0c28260
3
+ metadata.gz: 530432effdde95ad5f199c4467c4d78e837fd294
4
+ data.tar.gz: 23491b18df11972d0a5aefe433f8123715d3cb5c
5
5
  SHA512:
6
- metadata.gz: b0361ca6e435423dbc04180b37b6b3dcb9b90c92bf1cb5b5f4952eba0d3a92db98603fdc1faed6ea9c53aa485e64ea05141a1ed5f6b289cb6ef242ef9187f34a
7
- data.tar.gz: 689502e3c7db387d8f0ad1d4bca2b2f5e20cff60f1f22ac2fed397879270f0afb5d71e0bf820be8da98ff0a8e56d1ad1273ba20d1c7f115d402306e803065b64
6
+ metadata.gz: 6ab3c0158cb0e0a39f4f7002aacb45cf3225373646a7c44e8cce7f307f0c4c6bde5999fea9a03ed14fc265f66d206230adfaf8664a054d239ff88683db1804f6
7
+ data.tar.gz: 361708af6cc67eb762bfef4564a3c8b7e8abe10c9e6a1eca966adbb57ca49e1f8aaa6bbaa3205951b6ba1d7d72a345fcef591d00b67e3c2d6eb1bb9a9e4f94fc
@@ -1,5 +1,9 @@
1
1
  Bundler.require
2
2
  require "alexa_transmission/version"
3
+ require 'transmission_api'
4
+ require 'sinatra/base'
5
+ require 'to_name'
6
+ require 'active_support/core_ext/array'
3
7
 
4
8
  module Sinatra
5
9
  module Transmission
@@ -14,7 +18,7 @@ module Sinatra
14
18
  response.without_card.to_json
15
19
  puts @echo_request.slots
16
20
  elsif @echo_request.intent_name == "CheckTransmission"
17
- transmission_api_client = TransmissionApi::Client.new(
21
+ transmission_api_client = ::TransmissionApi::Client.new(
18
22
  :username => settings.config.transmission.username,
19
23
  :password => settings.config.transmission.password,
20
24
  :url => settings.config.transmission.rpc_url
@@ -1,3 +1,3 @@
1
1
  module AlexaTransmission
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexa_transmission
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
  - kylegrantlucas