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 ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -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
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p194" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
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
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in converse.gemspec
4
+ gemspec
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
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
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
@@ -1,5 +1,5 @@
1
1
  require 'net/http'
2
- require "comms/conversation"
2
+ require "converse/comms/conversation"
3
3
  require "json"
4
4
 
5
5
  module Converse
@@ -1,4 +1,4 @@
1
- require "comms/conversation"
1
+ require "converse/comms/conversation"
2
2
  require "mysql2"
3
3
 
4
4
  module Converse
@@ -0,0 +1,7 @@
1
+ module Converse
2
+ class SimpleLogger
3
+ def notify(data)
4
+ puts data
5
+ end
6
+ end
7
+ end
@@ -1,4 +1,4 @@
1
- require "comms/simple_logger"
1
+ require "converse/comms/simple_logger"
2
2
 
3
3
  module Converse
4
4
 
@@ -0,0 +1,3 @@
1
+ module Converse
2
+ VERSION = "1.0.5"
3
+ end
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
- version: 1.0.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
- date: 2012-08-23 00:00:00.000000000 Z
17
+
18
+ date: 2012-09-05 00:00:00 Z
13
19
  dependencies: []
14
- description:
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
- files:
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
- homepage:
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
- require_paths:
31
- - lib/converse/comms/mysql
32
- required_ruby_version: !ruby/object:Gem::Requirement
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
- version: '0'
38
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- version: '0'
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
+