alexa_skillsimulator 0.3.1 → 0.3.2

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: 7e5ab8263bf8bd2c03a4309324c2289fbc13ed471ae2eb9fb7c3983ead6262a4
4
- data.tar.gz: 1aa041dc3b76ce13905bac682ce440133bf01992c5f091a408c1a7c65d217ee2
3
+ metadata.gz: 173c7f31b39b2f37532a919f81695e123fe1875245f2bb81d193d5008812c2f7
4
+ data.tar.gz: 3fd7f8ec91f6b71836f0395158ee2089bb09ecdefa91daaf3ae14603895acf31
5
5
  SHA512:
6
- metadata.gz: 0cbe3c4b7b950afd3c1e297bfba9d9e1961935ae6d56e2b661eb8a54e666038fbd0b4133aa4e8ccfcfc0b55b0b1d6ecd1de6b4e362e1b6b6781fafa888e585c2
7
- data.tar.gz: b89df03823f14a37a11caa1de73f6677454d193d4a2cafd92a7f38a8ec712c237a81cd00e3fce73c0a9ab2c11bede8ae672542c7e048988fca3e90bbcadda966
6
+ metadata.gz: 9956f8e45c0143e31387315f20cb109c56172264e04d4a078853b6817f4431825b8ce5ea83c387b17f7d19f98b88af65147d821fb480fa7caec8cbcd7cc335cb
7
+ data.tar.gz: 7458a79075529900cc6e3d2e1892fc3c2e73054f65c3d46f02a690d862e3fcdfe5ab2f5c98653bffa1086ecdbb02f76a9c7bbca9fe10f13d9417bac7f14d003f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -77,6 +77,7 @@ end
77
77
  class AlexaSkillSimulator
78
78
 
79
79
  attr_reader :invocation
80
+ attr_accessor :deviceid
80
81
 
81
82
  def initialize(manifest, model, debug: false, userid: nil, deviceid: nil)
82
83
 
@@ -85,13 +86,13 @@ class AlexaSkillSimulator
85
86
 
86
87
  end
87
88
 
88
- def ask(s, &blk)
89
+ def ask(s, deviceid: @deviceid, &blk)
89
90
 
90
91
  puts
91
92
  puts ' debugger: s: ' + s.inspect if @debug
92
93
 
93
94
  aio = AskIO.new(@manifest, @model, debug: @debug, userid: @userid,
94
- deviceid: @deviceid)
95
+ deviceid: deviceid)
95
96
 
96
97
  invocation = aio.invocation.gsub(/ /,'\s')
97
98
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexa_skillsimulator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  XiPxizrh/Vra9EAGIf0VzCi8g1HvOrx9ryTcDVXPKzf7YJGlHOWYgoIjTVUAAoMp
36
36
  Ke26GT4jNyIN1UZ4Npszdo39
37
37
  -----END CERTIFICATE-----
38
- date: 2019-10-19 00:00:00.000000000 Z
38
+ date: 2019-11-25 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: askio
metadata.gz.sig CHANGED
Binary file