ecircle 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/ecircle/client.rb +5 -4
- data/lib/ecircle/version.rb +1 -1
- metadata +59 -69
data/Gemfile.lock
CHANGED
data/lib/ecircle/client.rb
CHANGED
@@ -8,15 +8,15 @@ module Ecircle
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
-
def create_member user_id, group_id, invite = false,
|
11
|
+
def create_member user_id, group_id, invite = false, send_message = false
|
12
12
|
session_id = logon
|
13
13
|
@response = client.request :createMember do
|
14
14
|
soap.body = {
|
15
15
|
:session => session_id,
|
16
16
|
:userId => user_id,
|
17
17
|
:groupId => group_id,
|
18
|
-
:invite =>
|
19
|
-
:sendMessage =>
|
18
|
+
:invite => invite.to_s,
|
19
|
+
:sendMessage => send_message.to_s
|
20
20
|
}
|
21
21
|
end
|
22
22
|
@response.body[:create_member_response][:create_member_return].to_s
|
@@ -57,9 +57,10 @@ module Ecircle
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def send_parametrized_single_message_to_user user_id, message_id, names = [], values = []
|
60
|
+
session_id = logon
|
60
61
|
@response = client.request :sendParametrizedSingleMessageToUser do
|
61
62
|
soap.body = {
|
62
|
-
:session =>
|
63
|
+
:session => session_id,
|
63
64
|
:singleMessageId => message_id,
|
64
65
|
:userId => user_id,
|
65
66
|
:names => names,
|
data/lib/ecircle/version.rb
CHANGED
metadata
CHANGED
@@ -1,83 +1,78 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecircle
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
7
|
+
authors:
|
8
|
+
- Timo Rößner
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-10-25 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: activesupport
|
18
|
-
requirement: &
|
16
|
+
requirement: &78217310 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *78217310
|
25
|
+
- !ruby/object:Gem::Dependency
|
28
26
|
name: i18n
|
29
|
-
requirement: &
|
27
|
+
requirement: &78216730 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
35
33
|
type: :runtime
|
36
34
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *78216730
|
36
|
+
- !ruby/object:Gem::Dependency
|
39
37
|
name: rake
|
40
|
-
requirement: &
|
38
|
+
requirement: &78216260 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
46
44
|
type: :runtime
|
47
45
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *78216260
|
47
|
+
- !ruby/object:Gem::Dependency
|
50
48
|
name: savon
|
51
|
-
requirement: &
|
49
|
+
requirement: &78215740 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
56
54
|
version: 0.9.7
|
57
55
|
type: :runtime
|
58
56
|
prerelease: false
|
59
|
-
version_requirements: *
|
60
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *78215740
|
58
|
+
- !ruby/object:Gem::Dependency
|
61
59
|
name: rspec
|
62
|
-
requirement: &
|
60
|
+
requirement: &78215320 !ruby/object:Gem::Requirement
|
63
61
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
62
|
+
requirements:
|
63
|
+
- - =
|
64
|
+
- !ruby/object:Gem::Version
|
67
65
|
version: 2.6.0
|
68
66
|
type: :development
|
69
67
|
prerelease: false
|
70
|
-
version_requirements: *
|
68
|
+
version_requirements: *78215320
|
71
69
|
description: The ecircle gem aims to be a full-fledged client for all ecircle services.
|
72
|
-
email:
|
70
|
+
email:
|
73
71
|
- timo.roessner@googlemail.com
|
74
72
|
executables: []
|
75
|
-
|
76
73
|
extensions: []
|
77
|
-
|
78
74
|
extra_rdoc_files: []
|
79
|
-
|
80
|
-
files:
|
75
|
+
files:
|
81
76
|
- .gitignore
|
82
77
|
- .rvmrc
|
83
78
|
- Gemfile
|
@@ -93,39 +88,34 @@ files:
|
|
93
88
|
- lib/ecircle/version.rb
|
94
89
|
- spec/client_spec.rb
|
95
90
|
- spec/spec_helper.rb
|
96
|
-
|
97
|
-
homepage: ""
|
91
|
+
homepage: ''
|
98
92
|
licenses: []
|
99
|
-
|
100
93
|
post_install_message:
|
101
94
|
rdoc_options: []
|
102
|
-
|
103
|
-
require_paths:
|
95
|
+
require_paths:
|
104
96
|
- lib
|
105
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
98
|
none: false
|
107
|
-
requirements:
|
108
|
-
- -
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
111
|
-
segments:
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
segments:
|
112
104
|
- 0
|
113
|
-
|
114
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
hash: -247901923
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
107
|
none: false
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
segments:
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
segments:
|
121
113
|
- 0
|
122
|
-
|
114
|
+
hash: -247901923
|
123
115
|
requirements: []
|
124
|
-
|
125
116
|
rubyforge_project: ecircle
|
126
|
-
rubygems_version: 1.6
|
117
|
+
rubygems_version: 1.8.6
|
127
118
|
signing_key:
|
128
119
|
specification_version: 3
|
129
120
|
summary: Ecircle gem
|
130
121
|
test_files: []
|
131
|
-
|