converse 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/.idea/converse.iml +10 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/converse.gemspec +17 -0
- data/lib/converse/comms/html/html_conversation.rb +1 -1
- data/lib/converse/comms/mysql/mysql_conversation.rb +1 -1
- data/lib/converse/comms/simple_logger.rb +7 -0
- data/lib/converse/interaction.rb +1 -1
- data/lib/converse/version.rb +3 -0
- data/lib/converse.rb +12 -0
- metadata +58 -23
data/.gitignore
ADDED
data/.idea/converse.iml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
5
|
+
<orderEntry type="inheritedJdk" />
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.1.5, RVM: ruby-1.9.3-p194) [gem]" level="application" />
|
8
|
+
</component>
|
9
|
+
</module>
|
10
|
+
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/converse.iml" filepath="$PROJECT_DIR$/.idea/converse.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/vcs.xml
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Ernst
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Converse
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'converse'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install converse
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/converse.gemspec
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/converse/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Ernst van Graan"]
|
6
|
+
gem.email = ["ernst.van.graan@hetzner.co.za"]
|
7
|
+
gem.description = %q{Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations}
|
8
|
+
gem.summary = %q{Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations}
|
9
|
+
gem.homepage = ""
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "converse"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Converse::VERSION
|
17
|
+
end
|
data/lib/converse/interaction.rb
CHANGED
data/lib/converse.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require "converse/version"
|
2
|
+
require "converse/api.rb"
|
3
|
+
require "converse/interaction.rb"
|
4
|
+
require "converse/broker.rb"
|
5
|
+
require "converse/comms/conversation.rb"
|
6
|
+
require "converse/comms/html/html_conversation.rb"
|
7
|
+
require "converse/comms/mysql/mysql_conversation.rb"
|
8
|
+
require "converse/comms/simple_logger.rb"
|
9
|
+
|
10
|
+
module Converse
|
11
|
+
# Your code goes here...
|
12
|
+
end
|
metadata
CHANGED
@@ -1,51 +1,86 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: converse
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Ernst van Graan
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2012-09-05 00:00:00 Z
|
13
19
|
dependencies: []
|
14
|
-
|
20
|
+
|
21
|
+
description: Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations
|
15
22
|
email:
|
23
|
+
- ernst.van.graan@hetzner.co.za
|
16
24
|
executables: []
|
25
|
+
|
17
26
|
extensions: []
|
27
|
+
|
18
28
|
extra_rdoc_files: []
|
19
|
-
|
29
|
+
|
30
|
+
files:
|
31
|
+
- .gitignore
|
32
|
+
- .idea/converse.iml
|
33
|
+
- .idea/encodings.xml
|
34
|
+
- .idea/misc.xml
|
35
|
+
- .idea/modules.xml
|
36
|
+
- .idea/scopes/scope_settings.xml
|
37
|
+
- .idea/vcs.xml
|
38
|
+
- Gemfile
|
39
|
+
- LICENSE
|
40
|
+
- README.md
|
41
|
+
- Rakefile
|
42
|
+
- converse.gemspec
|
43
|
+
- lib/converse.rb
|
20
44
|
- lib/converse/api.rb
|
21
|
-
- lib/converse/interaction.rb
|
22
45
|
- lib/converse/broker.rb
|
23
46
|
- lib/converse/comms/conversation.rb
|
24
47
|
- lib/converse/comms/html/html_conversation.rb
|
25
48
|
- lib/converse/comms/mysql/mysql_conversation.rb
|
26
|
-
|
49
|
+
- lib/converse/comms/simple_logger.rb
|
50
|
+
- lib/converse/interaction.rb
|
51
|
+
- lib/converse/version.rb
|
52
|
+
homepage: ""
|
27
53
|
licenses: []
|
54
|
+
|
28
55
|
post_install_message:
|
29
56
|
rdoc_options: []
|
30
|
-
|
31
|
-
|
32
|
-
|
57
|
+
|
58
|
+
require_paths:
|
59
|
+
- lib
|
60
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
33
61
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
38
|
-
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
hash: 3
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
version: "0"
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
70
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
44
78
|
requirements: []
|
79
|
+
|
45
80
|
rubyforge_project:
|
46
81
|
rubygems_version: 1.8.24
|
47
82
|
signing_key:
|
48
83
|
specification_version: 3
|
49
|
-
summary: Converse provides Broker/Translator classes to facilitate communication across
|
50
|
-
an API by means of conversations
|
84
|
+
summary: Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations
|
51
85
|
test_files: []
|
86
|
+
|