trails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +23 -0
- data/History.txt +6 -0
- data/Manifest.txt +8 -0
- data/README.txt +48 -0
- data/Rakefile +11 -0
- data/bin/trails +0 -0
- data/lib/trails.rb +15 -0
- data/test/test_trails.rb +8 -0
- metadata +98 -0
data/.autotest
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
require 'autotest/restart'
|
4
|
+
|
5
|
+
# Autotest.add_hook :initialize do |at|
|
6
|
+
# at.extra_files << "../some/external/dependency.rb"
|
7
|
+
#
|
8
|
+
# at.libs << ":../some/external"
|
9
|
+
#
|
10
|
+
# at.add_exception 'vendor'
|
11
|
+
#
|
12
|
+
# at.add_mapping(/dependency.rb/) do |f, _|
|
13
|
+
# at.files_matching(/test_.*rb$/)
|
14
|
+
# end
|
15
|
+
#
|
16
|
+
# %w(TestA TestB).each do |klass|
|
17
|
+
# at.extra_class_map[klass] = "test/test_misc.rb"
|
18
|
+
# end
|
19
|
+
# end
|
20
|
+
|
21
|
+
# Autotest.add_hook :run_command do |at|
|
22
|
+
# system "rake build"
|
23
|
+
# end
|
data/History.txt
ADDED
data/Manifest.txt
ADDED
data/README.txt
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
= trails
|
2
|
+
|
3
|
+
* http://code.google.com/p/twilio-on-rails/
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
Code to make developing twilio applications (even) easier in rails.
|
8
|
+
|
9
|
+
Includes support for a special MimeType? (twiml), and functional tests: as_twilio{ get '/my_action' }
|
10
|
+
|
11
|
+
|
12
|
+
== FEATURES/PROBLEMS:
|
13
|
+
|
14
|
+
|
15
|
+
== SYNOPSIS:
|
16
|
+
|
17
|
+
class ApplicationController < ActionController::Base
|
18
|
+
..
|
19
|
+
include Twilio::CallHandling
|
20
|
+
..
|
21
|
+
end
|
22
|
+
|
23
|
+
== REQUIREMENTS:
|
24
|
+
|
25
|
+
* twilio-rails REST library (provided by twilio)
|
26
|
+
|
27
|
+
== INSTALL:
|
28
|
+
|
29
|
+
* sudo gem install trails
|
30
|
+
|
31
|
+
== DEVELOPERS:
|
32
|
+
|
33
|
+
|
34
|
+
== LICENSE:
|
35
|
+
|
36
|
+
Copyright [2010] [Hemant Bhanoo]
|
37
|
+
|
38
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
39
|
+
you may not use this file except in compliance with the License.
|
40
|
+
You may obtain a copy of the License at
|
41
|
+
|
42
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
43
|
+
|
44
|
+
Unless required by applicable law or agreed to in writing, software
|
45
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
46
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
47
|
+
See the License for the specific language governing permissions and
|
48
|
+
limitations under the License.
|
data/Rakefile
ADDED
data/bin/trails
ADDED
File without changes
|
data/lib/trails.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Trails
|
2
|
+
VERSION = '1.0.0'
|
3
|
+
end
|
4
|
+
begin
|
5
|
+
TwilioRest
|
6
|
+
rescue
|
7
|
+
require 'twiliorest.rb'
|
8
|
+
end
|
9
|
+
|
10
|
+
require 'action_controller' # yes?
|
11
|
+
|
12
|
+
require 'trails/exception.rb'
|
13
|
+
require 'trails/twilio/account'
|
14
|
+
require 'trails/twilio/call_handling'
|
15
|
+
require 'trails/twilio/incoming'
|
data/test/test_trails.rb
ADDED
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: trails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Hemant Bhanoo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-02-05 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rubyforge
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.0.3
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: gemcutter
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.0
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: hoe
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 2.5.0
|
44
|
+
version:
|
45
|
+
description: |-
|
46
|
+
Code to make developing twilio applications (even) easier in rails.
|
47
|
+
|
48
|
+
Includes support for a special MimeType? (twiml), and functional tests: as_twilio{ get '/my_action' }
|
49
|
+
email:
|
50
|
+
- hemant@bhanoo.com
|
51
|
+
executables:
|
52
|
+
- trails
|
53
|
+
extensions: []
|
54
|
+
|
55
|
+
extra_rdoc_files:
|
56
|
+
- History.txt
|
57
|
+
- Manifest.txt
|
58
|
+
- README.txt
|
59
|
+
files:
|
60
|
+
- .autotest
|
61
|
+
- History.txt
|
62
|
+
- Manifest.txt
|
63
|
+
- README.txt
|
64
|
+
- Rakefile
|
65
|
+
- bin/trails
|
66
|
+
- lib/trails.rb
|
67
|
+
- test/test_trails.rb
|
68
|
+
has_rdoc: true
|
69
|
+
homepage: http://code.google.com/p/twilio-on-rails/
|
70
|
+
licenses: []
|
71
|
+
|
72
|
+
post_install_message:
|
73
|
+
rdoc_options:
|
74
|
+
- --main
|
75
|
+
- README.txt
|
76
|
+
require_paths:
|
77
|
+
- lib
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: "0"
|
83
|
+
version:
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: "0"
|
89
|
+
version:
|
90
|
+
requirements: []
|
91
|
+
|
92
|
+
rubyforge_project: trails
|
93
|
+
rubygems_version: 1.3.5
|
94
|
+
signing_key:
|
95
|
+
specification_version: 3
|
96
|
+
summary: Code to make developing twilio applications (even) easier in rails
|
97
|
+
test_files:
|
98
|
+
- test/test_trails.rb
|