alexa_couchpotato 1.0.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 +7 -0
- data/.gitignore +140 -0
- data/Gemfile +20 -0
- data/Gemfile.lock +156 -0
- data/Guardfile +0 -0
- data/Rakefile +1 -0
- data/alexa_couchpotato.gemspec +35 -0
- data/lib/alexa_couchpotato/version.rb +5 -0
- data/lib/alexa_couchpotato.rb +104 -0
- data/pkg/alexa_couchpotato-1.0.0.gem +0 -0
- metadata +208 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 379f0340f81558a9f21b78a670ad746ac331195d
|
4
|
+
data.tar.gz: 63e696fda63e449f79ad43cd7749dc6ab5ae327f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a3866955ba1ef97dd8025c5325dee4437e49d332bd73cb523b8ce152933fc3844c0dbdaa0cbfb58ce793a551df2a72985505d73605bf77325a90c5596458b9c9
|
7
|
+
data.tar.gz: 4a043a94763f5fb03ad2432dfdf232564ed0c17666c9f9d5253510c2953290a62afe97ef5413e5012a3527f6b02c1f044ee179ba2e750c5bc2066d070a12860f
|
data/.gitignore
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
InstalledFiles
|
7
|
+
_yardoc
|
8
|
+
coverage
|
9
|
+
doc/
|
10
|
+
lib/bundler/man
|
11
|
+
pkg
|
12
|
+
rdoc
|
13
|
+
spec/reports
|
14
|
+
test/tmp
|
15
|
+
test/version_tmp
|
16
|
+
tmp
|
17
|
+
*.bundle
|
18
|
+
*.so
|
19
|
+
*.o
|
20
|
+
*.a
|
21
|
+
mkmf.log
|
22
|
+
|
23
|
+
# Created by https://www.gitignore.io
|
24
|
+
|
25
|
+
### RubyMine ###
|
26
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
|
27
|
+
|
28
|
+
*.iml
|
29
|
+
|
30
|
+
## Directory-based project format:
|
31
|
+
.idea/
|
32
|
+
# if you remove the above rule, at least ignore the following:
|
33
|
+
|
34
|
+
# User-specific stuff:
|
35
|
+
# .idea/workspace.xml
|
36
|
+
# .idea/tasks.xml
|
37
|
+
# .idea/dictionaries
|
38
|
+
|
39
|
+
# Sensitive or high-churn files:
|
40
|
+
# .idea/dataSources.ids
|
41
|
+
# .idea/dataSources.xml
|
42
|
+
# .idea/sqlDataSources.xml
|
43
|
+
# .idea/dynamic.xml
|
44
|
+
# .idea/uiDesigner.xml
|
45
|
+
|
46
|
+
# Gradle:
|
47
|
+
# .idea/gradle.xml
|
48
|
+
# .idea/libraries
|
49
|
+
|
50
|
+
# Mongo Explorer plugin:
|
51
|
+
# .idea/mongoSettings.xml
|
52
|
+
|
53
|
+
## File-based project format:
|
54
|
+
*.ipr
|
55
|
+
*.iws
|
56
|
+
|
57
|
+
## Plugin-specific files:
|
58
|
+
|
59
|
+
# IntelliJ
|
60
|
+
/out/
|
61
|
+
|
62
|
+
# mpeltonen/sbt-idea plugin
|
63
|
+
.idea_modules/
|
64
|
+
|
65
|
+
# JIRA plugin
|
66
|
+
atlassian-ide-plugin.xml
|
67
|
+
|
68
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
69
|
+
com_crashlytics_export_strings.xml
|
70
|
+
crashlytics.properties
|
71
|
+
crashlytics-build.properties
|
72
|
+
|
73
|
+
|
74
|
+
### SublimeText ###
|
75
|
+
# cache files for sublime text
|
76
|
+
*.tmlanguage.cache
|
77
|
+
*.tmPreferences.cache
|
78
|
+
*.stTheme.cache
|
79
|
+
|
80
|
+
# workspace files are user-specific
|
81
|
+
*.sublime-workspace
|
82
|
+
|
83
|
+
# project files should be checked into the repository, unless a significant
|
84
|
+
# proportion of contributors will probably not be using SublimeText
|
85
|
+
# *.sublime-project
|
86
|
+
|
87
|
+
# sftp configuration file
|
88
|
+
sftp-config.json
|
89
|
+
|
90
|
+
|
91
|
+
### Vim ###
|
92
|
+
[._]*.s[a-w][a-z]
|
93
|
+
[._]s[a-w][a-z]
|
94
|
+
*.un~
|
95
|
+
Session.vim
|
96
|
+
.netrwhist
|
97
|
+
*~
|
98
|
+
|
99
|
+
|
100
|
+
### Ruby ###
|
101
|
+
*.gem
|
102
|
+
*.rbc
|
103
|
+
/.config
|
104
|
+
/coverage/
|
105
|
+
/InstalledFiles
|
106
|
+
/pkg/
|
107
|
+
/spec/reports/
|
108
|
+
/test/tmp/
|
109
|
+
/test/version_tmp/
|
110
|
+
/tmp/
|
111
|
+
|
112
|
+
## Specific to RubyMotion:
|
113
|
+
.dat*
|
114
|
+
.repl_history
|
115
|
+
build/
|
116
|
+
|
117
|
+
## Documentation cache and generated files:
|
118
|
+
/.yardoc/
|
119
|
+
/_yardoc/
|
120
|
+
/doc/
|
121
|
+
/rdoc/
|
122
|
+
|
123
|
+
## Environment normalisation:
|
124
|
+
/.bundle/
|
125
|
+
/vendor/bundle
|
126
|
+
/lib/bundler/man/
|
127
|
+
|
128
|
+
# for a library or gem, you might want to ignore these files since the code is
|
129
|
+
# intended to run in multiple environments; otherwise, check them in:
|
130
|
+
# Gemfile.lock
|
131
|
+
# .ruby-version
|
132
|
+
# .ruby-gemset
|
133
|
+
|
134
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
135
|
+
.rvmrc
|
136
|
+
|
137
|
+
.idea
|
138
|
+
|
139
|
+
Gemfile.lock
|
140
|
+
|
data/Gemfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gemspec
|
4
|
+
|
5
|
+
gem 'chronic', '~> 0.10.0'
|
6
|
+
gem 'chronic_duration', '~> 0'
|
7
|
+
gem 'httparty', '~> 0.13.0'
|
8
|
+
gem 'numbers_in_words', '~> 0.2.0'
|
9
|
+
gem 'sinatra'
|
10
|
+
gem 'alexa_objects'
|
11
|
+
gem 'activesupport'
|
12
|
+
|
13
|
+
group :development do
|
14
|
+
gem "guard", "2.12.5", require: false
|
15
|
+
gem "guard-rspec", '4.5.0', require: false
|
16
|
+
gem "guard-bundler", require: false
|
17
|
+
gem "guard-rake", require: false
|
18
|
+
gem "terminal-notifier-guard", require: false
|
19
|
+
gem 'guard-yard', require: false
|
20
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
alexa_couchpotato (1.0.1)
|
5
|
+
activesupport
|
6
|
+
alexa_objects
|
7
|
+
chronic
|
8
|
+
httparty
|
9
|
+
json
|
10
|
+
numbers_in_words
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
activesupport (4.2.5.1)
|
16
|
+
i18n (~> 0.7)
|
17
|
+
json (~> 1.7, >= 1.7.7)
|
18
|
+
minitest (~> 5.1)
|
19
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
addressable (2.3.8)
|
22
|
+
alexa_objects (1.0.3)
|
23
|
+
celluloid (0.16.0)
|
24
|
+
timers (~> 4.0.0)
|
25
|
+
chronic (0.10.2)
|
26
|
+
chronic_duration (0.10.6)
|
27
|
+
numerizer (~> 0.1.1)
|
28
|
+
codeclimate-test-reporter (0.4.7)
|
29
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
30
|
+
coderay (1.1.0)
|
31
|
+
crack (0.4.2)
|
32
|
+
safe_yaml (~> 1.0.0)
|
33
|
+
diff-lcs (1.2.5)
|
34
|
+
docile (1.1.5)
|
35
|
+
ffi (1.9.8)
|
36
|
+
formatador (0.2.5)
|
37
|
+
guard (2.12.5)
|
38
|
+
formatador (>= 0.2.4)
|
39
|
+
listen (~> 2.7)
|
40
|
+
lumberjack (~> 1.0)
|
41
|
+
nenv (~> 0.1)
|
42
|
+
notiffany (~> 0.0)
|
43
|
+
pry (>= 0.9.12)
|
44
|
+
shellany (~> 0.0)
|
45
|
+
thor (>= 0.18.1)
|
46
|
+
guard-bundler (2.1.0)
|
47
|
+
bundler (~> 1.0)
|
48
|
+
guard (~> 2.2)
|
49
|
+
guard-compat (~> 1.1)
|
50
|
+
guard-compat (1.2.1)
|
51
|
+
guard-rake (1.0.0)
|
52
|
+
guard
|
53
|
+
rake
|
54
|
+
guard-rspec (4.5.0)
|
55
|
+
guard (~> 2.1)
|
56
|
+
guard-compat (~> 1.1)
|
57
|
+
rspec (>= 2.99.0, < 4.0)
|
58
|
+
guard-yard (2.1.4)
|
59
|
+
guard (>= 1.1.0)
|
60
|
+
yard (>= 0.7.0)
|
61
|
+
hitimes (1.2.2)
|
62
|
+
httparty (0.13.7)
|
63
|
+
json (~> 1.8)
|
64
|
+
multi_xml (>= 0.5.2)
|
65
|
+
i18n (0.7.0)
|
66
|
+
json (1.8.3)
|
67
|
+
listen (2.10.0)
|
68
|
+
celluloid (~> 0.16.0)
|
69
|
+
rb-fsevent (>= 0.9.3)
|
70
|
+
rb-inotify (>= 0.9)
|
71
|
+
lumberjack (1.0.9)
|
72
|
+
method_source (0.8.2)
|
73
|
+
minitest (5.8.4)
|
74
|
+
multi_xml (0.5.5)
|
75
|
+
nenv (0.2.0)
|
76
|
+
notiffany (0.0.6)
|
77
|
+
nenv (~> 0.1)
|
78
|
+
shellany (~> 0.0)
|
79
|
+
numbers_in_words (0.2.0)
|
80
|
+
activesupport
|
81
|
+
numerizer (0.1.1)
|
82
|
+
pry (0.10.1)
|
83
|
+
coderay (~> 1.1.0)
|
84
|
+
method_source (~> 0.8.1)
|
85
|
+
slop (~> 3.4)
|
86
|
+
rack (1.6.4)
|
87
|
+
rack-protection (1.5.3)
|
88
|
+
rack
|
89
|
+
rake (10.5.0)
|
90
|
+
rb-fsevent (0.9.5)
|
91
|
+
rb-inotify (0.9.5)
|
92
|
+
ffi (>= 0.5.0)
|
93
|
+
rspec (3.2.0)
|
94
|
+
rspec-core (~> 3.2.0)
|
95
|
+
rspec-expectations (~> 3.2.0)
|
96
|
+
rspec-mocks (~> 3.2.0)
|
97
|
+
rspec-core (3.2.3)
|
98
|
+
rspec-support (~> 3.2.0)
|
99
|
+
rspec-expectations (3.2.1)
|
100
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
+
rspec-support (~> 3.2.0)
|
102
|
+
rspec-mocks (3.2.1)
|
103
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
+
rspec-support (~> 3.2.0)
|
105
|
+
rspec-support (3.2.2)
|
106
|
+
safe_yaml (1.0.4)
|
107
|
+
shellany (0.0.1)
|
108
|
+
simplecov (0.10.0)
|
109
|
+
docile (~> 1.1.0)
|
110
|
+
json (~> 1.8)
|
111
|
+
simplecov-html (~> 0.10.0)
|
112
|
+
simplecov-html (0.10.0)
|
113
|
+
sinatra (1.4.7)
|
114
|
+
rack (~> 1.5)
|
115
|
+
rack-protection (~> 1.4)
|
116
|
+
tilt (>= 1.3, < 3)
|
117
|
+
slop (3.6.0)
|
118
|
+
terminal-notifier-guard (1.6.4)
|
119
|
+
thor (0.19.1)
|
120
|
+
thread_safe (0.3.5)
|
121
|
+
tilt (2.0.2)
|
122
|
+
timers (4.0.1)
|
123
|
+
hitimes
|
124
|
+
tzinfo (1.2.2)
|
125
|
+
thread_safe (~> 0.1)
|
126
|
+
webmock (1.20.4)
|
127
|
+
addressable (>= 2.3.6)
|
128
|
+
crack (>= 0.3.2)
|
129
|
+
yard (0.8.7.6)
|
130
|
+
|
131
|
+
PLATFORMS
|
132
|
+
ruby
|
133
|
+
|
134
|
+
DEPENDENCIES
|
135
|
+
activesupport
|
136
|
+
alexa_couchpotato!
|
137
|
+
alexa_objects
|
138
|
+
bundler (~> 1.6)
|
139
|
+
chronic (~> 0.10.0)
|
140
|
+
chronic_duration (~> 0)
|
141
|
+
codeclimate-test-reporter
|
142
|
+
guard (= 2.12.5)
|
143
|
+
guard-bundler
|
144
|
+
guard-rake
|
145
|
+
guard-rspec (= 4.5.0)
|
146
|
+
guard-yard
|
147
|
+
httparty (~> 0.13.0)
|
148
|
+
numbers_in_words (~> 0.2.0)
|
149
|
+
rake
|
150
|
+
rspec
|
151
|
+
sinatra
|
152
|
+
terminal-notifier-guard
|
153
|
+
webmock
|
154
|
+
|
155
|
+
BUNDLED WITH
|
156
|
+
1.10.6
|
data/Guardfile
ADDED
File without changes
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'alexa_couchpotato/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "alexa_couchpotato"
|
8
|
+
spec.version = SingingAssistant::Couchpotato::VERSION
|
9
|
+
spec.authors = ["Kyle Lucas"]
|
10
|
+
spec.email = ["kglucas93@gmail.com"]
|
11
|
+
spec.summary = %q{A sinatra middleware for alexa couhpotato actions.}
|
12
|
+
spec.description = %q{}
|
13
|
+
spec.homepage = "http://github.com/kylegrantlucas/alexa_couchpotato"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = '>= 1.9.3'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0")
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_runtime_dependency 'json'
|
23
|
+
spec.add_runtime_dependency 'alexa_objects'
|
24
|
+
spec.add_runtime_dependency 'httparty'
|
25
|
+
spec.add_runtime_dependency 'numbers_in_words'
|
26
|
+
spec.add_runtime_dependency 'activesupport'
|
27
|
+
spec.add_runtime_dependency 'chronic'
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
30
|
+
spec.add_development_dependency "rake"
|
31
|
+
spec.add_development_dependency "rspec"
|
32
|
+
spec.add_development_dependency "webmock"
|
33
|
+
|
34
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
35
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
require 'json'
|
2
|
+
require 'alexa_objects'
|
3
|
+
require 'httparty'
|
4
|
+
require 'numbers_in_words'
|
5
|
+
require 'numbers_in_words/duck_punch'
|
6
|
+
require 'active_support'
|
7
|
+
require 'active_support/core_ext'
|
8
|
+
require 'chronic'
|
9
|
+
require 'alexa_couchpotato/version'
|
10
|
+
|
11
|
+
module SingingAssistant
|
12
|
+
module Couchpotato
|
13
|
+
def self.registered(app)
|
14
|
+
app.post '/alexa_cp' do
|
15
|
+
content_type :json
|
16
|
+
|
17
|
+
# halt 400, "Invalid Application ID" unless @application_id == "your application id here"
|
18
|
+
|
19
|
+
if @echo_request.launch_request?
|
20
|
+
response = AlexaObjects::Response.new
|
21
|
+
response.spoken_response = "I'm ready to download you movies."
|
22
|
+
response.end_session = false
|
23
|
+
response.without_card.to_json
|
24
|
+
puts @echo_request.slots
|
25
|
+
elsif @echo_request.intent_name == "ControlCouchpotato"
|
26
|
+
count = 1
|
27
|
+
begin
|
28
|
+
case count
|
29
|
+
when 1
|
30
|
+
title = @echo_request.slots["movie"]
|
31
|
+
when 2
|
32
|
+
word_arr = @echo_request.slots["movie"].split(' ')
|
33
|
+
nums = word_arr.map {|x|x.in_numbers}
|
34
|
+
title = ""
|
35
|
+
word_arr.each_with_index do |x, index|
|
36
|
+
title << (nums[index] != 0 ? "#{nums[index]}" : x)
|
37
|
+
title << " " unless index == word_arr.length-1
|
38
|
+
end
|
39
|
+
end
|
40
|
+
query = HTTParty.get("http://highasfuck.science/movies/api/550dfd233ffe453096c39293f4e38121/search?q=#{title}")
|
41
|
+
if query["movies"] && query["movies"].count == 1
|
42
|
+
movie = query["movies"].first
|
43
|
+
elsif query["movies"] && query["movies"].count > 1
|
44
|
+
movie = query["movies"]
|
45
|
+
end
|
46
|
+
movie = false if count == 5 && movie.nil?
|
47
|
+
count += 1
|
48
|
+
end until movie != nil
|
49
|
+
response = AlexaObjects::Response.new
|
50
|
+
|
51
|
+
if [movie].flatten(1).count == 1 && movie != false
|
52
|
+
add_query = HTTParty.get("http://highasfuck.science/movies/api/550dfd233ffe453096c39293f4e38121/movie.add?title=#{movie["titles"].first}&identifier#{movie["imdb"]}")
|
53
|
+
if add_query["success"] = true
|
54
|
+
response.end_session = true
|
55
|
+
response.spoken_response = "okay, downloading #{movie["titles"].first}"
|
56
|
+
elsif movie && add_query["success"] = false
|
57
|
+
response.end_session = true
|
58
|
+
response.spoken_response = "sorry, I wasn't able to find #{@echo_request.slots["movie"]} because it wouldn't add to the server"
|
59
|
+
end
|
60
|
+
elsif movie != false && [movie].flatten(1).count > 1
|
61
|
+
@@movies = movie
|
62
|
+
response.end_session = false
|
63
|
+
response.reprompt_text = "Which movie would you like me to download? #{movie.map {|m| m["titles"].first }.to_sentence(:last_word_connector => ' or ')}"
|
64
|
+
elsif movie == false
|
65
|
+
response.end_session = true
|
66
|
+
response.spoken_response = "sorry, I wasn't able to find #{@echo_request.slots["movie"]} because the search came up empty"
|
67
|
+
else
|
68
|
+
response.end_session = true
|
69
|
+
response.spoken_response = "sorry, I wasn't able to find #{@echo_request.slots["movie"]} because the search came up empty"
|
70
|
+
end
|
71
|
+
|
72
|
+
response.without_card.to_json
|
73
|
+
elsif @echo_request.intent_name == "RespondCouchpotato"
|
74
|
+
ordinal = Chronic::Numerizer.numerize(@echo_request.slots["listvalue"]).split(' ').last
|
75
|
+
number = ordinal[0]
|
76
|
+
movie = @@movies[number.to_i+1]
|
77
|
+
query = HTTParty.get("http://highasfuck.science/movies/api/550dfd233ffe453096c39293f4e38121/movie.add?title=#{movie["titles"].first}&identifier#{movie["imdb"]}")
|
78
|
+
response = AlexaObjects::Response.new
|
79
|
+
if movie != false && query["success"] = true
|
80
|
+
response.end_session = true
|
81
|
+
response.spoken_response = "okay, downloading #{movie["titles"].first}"
|
82
|
+
elsif movie == false
|
83
|
+
response.end_session = true
|
84
|
+
response.spoken_response = "sorry, I wasn't able to find #{@echo_request.slots["movie"]} because the search came up empty"
|
85
|
+
elsif movie && query["success"] = false
|
86
|
+
response.end_session = true
|
87
|
+
response.spoken_response = "sorry, I wasn't able to find #{@echo_request.slots["movie"]} because it wouldn't add to the server"
|
88
|
+
end
|
89
|
+
response.without_card.to_json
|
90
|
+
elsif @echo_request.intent_name == "EndSession"
|
91
|
+
puts @echo_request.slots
|
92
|
+
response = AlexaObjects::Response.new
|
93
|
+
response.end_session = true
|
94
|
+
response.spoken_response = "exiting couchpoato"
|
95
|
+
response.without_card.to_json
|
96
|
+
elsif @echo_request.session_ended_request?
|
97
|
+
response = AlexaObjects::Response.new
|
98
|
+
response.end_session = true
|
99
|
+
response.without_card.to_json
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: alexa_couchpotato
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kyle Lucas
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: alexa_objects
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: httparty
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: numbers_in_words
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: chronic
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bundler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.6'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.6'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: webmock
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: codeclimate-test-reporter
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: ''
|
168
|
+
email:
|
169
|
+
- kglucas93@gmail.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- ".gitignore"
|
175
|
+
- Gemfile
|
176
|
+
- Gemfile.lock
|
177
|
+
- Guardfile
|
178
|
+
- Rakefile
|
179
|
+
- alexa_couchpotato.gemspec
|
180
|
+
- lib/alexa_couchpotato.rb
|
181
|
+
- lib/alexa_couchpotato/version.rb
|
182
|
+
- pkg/alexa_couchpotato-1.0.0.gem
|
183
|
+
homepage: http://github.com/kylegrantlucas/alexa_couchpotato
|
184
|
+
licenses:
|
185
|
+
- MIT
|
186
|
+
metadata: {}
|
187
|
+
post_install_message:
|
188
|
+
rdoc_options: []
|
189
|
+
require_paths:
|
190
|
+
- lib
|
191
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 1.9.3
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
requirements: []
|
202
|
+
rubyforge_project:
|
203
|
+
rubygems_version: 2.2.2
|
204
|
+
signing_key:
|
205
|
+
specification_version: 4
|
206
|
+
summary: A sinatra middleware for alexa couhpotato actions.
|
207
|
+
test_files: []
|
208
|
+
has_rdoc:
|