converse 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -59,10 +59,9 @@ into a list of transactions that the application understands.
59
59
 
60
60
  class GetTransactions < ProviderInteraction
61
61
  def initialize(broker, substance)
62
- discuss_with_broker_concerning(broker, "transactions")
62
+ ask_broker_concerning(broker, "transactions")
63
63
  about("<client_id>/transactions.json")
64
64
  detailed_by(substance)
65
- by_asking
66
65
  end
67
66
 
68
67
  def interpret_conversation(response)
@@ -15,6 +15,26 @@ module Converse
15
15
  concerning(concern)
16
16
  end
17
17
 
18
+ def ask_broker_concerning(broker, concern)
19
+ ask_broker(broker)
20
+ concerning(concern)
21
+ end
22
+
23
+ def tell_broker_concerning(broker, concern)
24
+ tell_broker(broker)
25
+ concerning(concern)
26
+ end
27
+
28
+ def ask_broker(broker)
29
+ @broker = broker
30
+ @should_i_ask = true
31
+ end
32
+
33
+ def tell_broker(broker)
34
+ @broker = broker
35
+ @should_i_ask = false
36
+ end
37
+
18
38
  def discuss_with(broker)
19
39
  @broker = broker
20
40
  end
@@ -1,3 +1,3 @@
1
1
  module Converse
2
- VERSION = "1.0.10"
2
+ VERSION = "1.0.11"
3
3
  end
metadata CHANGED
@@ -1,24 +1,33 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: converse
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.10
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 11
10
+ version: 1.0.11
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-10-24 00:00:00.000000000 Z
17
+
18
+ date: 2012-10-25 00:00:00 Z
13
19
  dependencies: []
14
- description: Converse provides Broker/Translator classes to facilitate communication
15
- across an API by means of conversations
16
- email:
20
+
21
+ description: Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations
22
+ email:
17
23
  - ernst.van.graan@hetzner.co.za
18
24
  executables: []
25
+
19
26
  extensions: []
27
+
20
28
  extra_rdoc_files: []
21
- files:
29
+
30
+ files:
22
31
  - .gitignore
23
32
  - .idea/converse.iml
24
33
  - .idea/encodings.xml
@@ -40,29 +49,38 @@ files:
40
49
  - lib/converse/comms/simple_logger.rb
41
50
  - lib/converse/interaction.rb
42
51
  - lib/converse/version.rb
43
- homepage: ''
52
+ homepage: ""
44
53
  licenses: []
54
+
45
55
  post_install_message:
46
56
  rdoc_options: []
47
- require_paths:
57
+
58
+ require_paths:
48
59
  - lib
49
- required_ruby_version: !ruby/object:Gem::Requirement
60
+ required_ruby_version: !ruby/object:Gem::Requirement
50
61
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- 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
56
70
  none: false
57
- requirements:
58
- - - ! '>='
59
- - !ruby/object:Gem::Version
60
- version: '0'
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
61
78
  requirements: []
79
+
62
80
  rubyforge_project:
63
81
  rubygems_version: 1.8.24
64
82
  signing_key:
65
83
  specification_version: 3
66
- summary: Converse provides Broker/Translator classes to facilitate communication across
67
- an API by means of conversations
84
+ summary: Converse provides Broker/Translator classes to facilitate communication across an API by means of conversations
68
85
  test_files: []
86
+