jaconda 2.0.2 → 2.0.3

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cc686210693fa552980d8318a47b4a313b6c718f
4
+ data.tar.gz: 482101cdafde702ccb7e1d133cec8f54765cc722
5
+ SHA512:
6
+ metadata.gz: 115ee714f07ba922c45f3e4ba365f3569b7de15ca1bf8609136d6febc732bc73efb2d1a48ce226f181fda30c32b15aed61fb2db0e8e471ccb14f0d8cdd38582d
7
+ data.tar.gz: a4d983e4344b16f49034c39a793a419c352385b56fad87610fbc41bd3ed987437dcb834e7da12c76b0ef40fb5eeb550fe980a7727db039780f7410c55af9f577
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "jaconda"
3
- s.version = "2.0.2"
3
+ s.version = "2.0.3"
4
4
 
5
5
  s.authors = ["Anton Mironov"]
6
6
  s.summary = "The official ruby wrapper for Jaconda API"
@@ -11,7 +11,10 @@ module Jaconda
11
11
  end
12
12
 
13
13
  def self.notify(params = {})
14
- post(:notify, :message => params, :room_id => @room_id)
14
+ options = {:room_id => @room_id}
15
+ headers = {"Content-Type"=>"application/x-www-form-urlencoded"}
16
+ body = CGI.unescape({message: params}.to_query)
17
+ connection.post(custom_method_collection_url(:notify, options), body, headers)
15
18
  end
16
19
  end
17
- end
20
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jaconda
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
5
- prerelease:
4
+ version: 2.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Anton Mironov
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activeresource
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -35,6 +32,12 @@ extra_rdoc_files:
35
32
  - LICENSE
36
33
  - README.markdown
37
34
  files:
35
+ - Gemfile
36
+ - LICENSE
37
+ - README.markdown
38
+ - Rakefile
39
+ - jaconda.gemspec
40
+ - lib/jaconda.rb
38
41
  - lib/jaconda/base.rb
39
42
  - lib/jaconda/member.rb
40
43
  - lib/jaconda/message.rb
@@ -42,38 +45,31 @@ files:
42
45
  - lib/jaconda/presence.rb
43
46
  - lib/jaconda/room.rb
44
47
  - lib/jaconda/upload.rb
45
- - lib/jaconda.rb
46
48
  - test/helper.rb
47
49
  - test/test_jaconda.rb
48
- - jaconda.gemspec
49
- - Gemfile
50
- - LICENSE
51
- - Rakefile
52
- - README.markdown
53
50
  homepage: https://github.com/jaconda/jaconda-api
54
51
  licenses: []
52
+ metadata: {}
55
53
  post_install_message:
56
54
  rdoc_options:
57
55
  - --charset=UTF-8
58
56
  require_paths:
59
57
  - lib
60
58
  required_ruby_version: !ruby/object:Gem::Requirement
61
- none: false
62
59
  requirements:
63
60
  - - ! '>='
64
61
  - !ruby/object:Gem::Version
65
62
  version: '0'
66
63
  required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
64
  requirements:
69
65
  - - ! '>='
70
66
  - !ruby/object:Gem::Version
71
67
  version: '0'
72
68
  requirements: []
73
69
  rubyforge_project:
74
- rubygems_version: 1.8.24
70
+ rubygems_version: 2.2.2
75
71
  signing_key:
76
- specification_version: 3
72
+ specification_version: 4
77
73
  summary: The official ruby wrapper for Jaconda API
78
74
  test_files:
79
75
  - test/helper.rb