pandorified 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +24 -0
  2. data/lib/pandorified/version.rb +1 -1
  3. metadata +6 -6
data/README.md CHANGED
@@ -8,6 +8,19 @@ Installation
8
8
 
9
9
  gem install pandorified
10
10
 
11
+ Getting Started
12
+ ---------------
13
+
14
+ The easiest way to get started is by using the `Pandorified::Session` class:
15
+
16
+ require 'pandorified'
17
+
18
+ my_bot_session = Pandorified::Session.new(MY_BOTID)
19
+ first_response = my_bot_session.talk('Hello World!')
20
+ puts(first_response)
21
+
22
+ In the example above, replace `MY_BOTID` with the actual botid of the Pandorabots chat bot you want to talk to.
23
+
11
24
  Documentation
12
25
  -------------
13
26
 
@@ -17,3 +30,14 @@ Author
17
30
  ------
18
31
 
19
32
  [Justin Workman](mailto:xtagon@gmail.com)
33
+
34
+ License
35
+ -------
36
+
37
+ Copyright (c) 2011 Justin Workman
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
40
+
41
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
42
+
43
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,3 +1,3 @@
1
1
  module Pandorified
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandorified
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-11 00:00:00.000000000 -08:00
12
+ date: 2011-12-12 00:00:00.000000000 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
17
- requirement: &10750380 !ruby/object:Gem::Requirement
17
+ requirement: &7723780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *10750380
25
+ version_requirements: *7723780
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: nokogiri
28
- requirement: &10749960 !ruby/object:Gem::Requirement
28
+ requirement: &7723360 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *10749960
36
+ version_requirements: *7723360
37
37
  description: Pandorified makes it easy for your Ruby scripts to interact with chat
38
38
  bots hosted on Pandorabots.
39
39
  email: xtagon@gmail.com