ffwd-carbon 0.1.1 → 0.1.2

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2fad774f1e63686d02f516920a0f917e2bd0b490
4
+ data.tar.gz: 4f75ca72719a044378cc16dbc82fd4e9fd9afd23
5
+ SHA512:
6
+ metadata.gz: 2a94150ef78937fd71b5b36b1b83213920ace03ff4a13c12a8dae35ca3f052fb3cf3ab8d1886783532cc2689a78503dcbcd13d9755b4ca928208e54ff8d2f433
7
+ data.tar.gz: 3623216cb0737fb744bb1e756fe91c9566fa553cd15378caa28b154e1cff058fa78729da686d6f536a55e1921a4ae8e8ab585433f5eb9b24d82fcb2a5638705d
@@ -24,12 +24,25 @@ module FFWD::Plugin
24
24
  include FFWD::Plugin
25
25
  include FFWD::Logging
26
26
 
27
- register_plugin "carbon"
28
-
29
27
  DEFAULT_HOST = "localhost"
30
28
  DEFAULT_PORT = 2003
31
29
  DEFAULT_PROTOCOL = "tcp"
32
30
 
31
+ register_plugin "carbon",
32
+ :description => "A plugin for the carbon line protocol.",
33
+ :options => [
34
+ FFWD::Plugin.option(
35
+ :host, :default => DEFAULT_HOST, :modes => [:input],
36
+ :help => [
37
+ "Host to bind to."
38
+ ]),
39
+ FFWD::Plugin.option(
40
+ :port, :default => DEFAULT_PORT,
41
+ :help => [
42
+ "Port to bind to."
43
+ ]),
44
+ ]
45
+
33
46
  def self.setup_input opts, core
34
47
  opts[:host] ||= DEFAULT_HOST
35
48
  opts[:port] ||= DEFAULT_PORT
@@ -16,7 +16,7 @@
16
16
  module FFWD
17
17
  module Plugin
18
18
  module Carbon
19
- VERSION = "0.1.1"
19
+ VERSION = "0.1.2"
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffwd-carbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Martin Parm
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-03-02 00:00:00.000000000 Z
11
+ date: 2014-03-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: ffwd
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
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
29
26
  version: '0'
30
27
  description:
@@ -34,32 +31,31 @@ executables: []
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - lib/ffwd/plugin/carbon.rb
38
- - lib/ffwd/plugin/carbon/version.rb
39
34
  - lib/ffwd/plugin/carbon/connection.rb
35
+ - lib/ffwd/plugin/carbon/version.rb
36
+ - lib/ffwd/plugin/carbon.rb
40
37
  homepage: https://github.com/spotify/ffwd
41
38
  licenses:
42
39
  - Apache 2.0
40
+ metadata: {}
43
41
  post_install_message:
44
42
  rdoc_options: []
45
43
  require_paths:
46
44
  - lib
47
45
  required_ruby_version: !ruby/object:Gem::Requirement
48
- none: false
49
46
  requirements:
50
- - - ! '>='
47
+ - - '>='
51
48
  - !ruby/object:Gem::Version
52
49
  version: '0'
53
50
  required_rubygems_version: !ruby/object:Gem::Requirement
54
- none: false
55
51
  requirements:
56
- - - ! '>='
52
+ - - '>='
57
53
  - !ruby/object:Gem::Version
58
54
  version: '0'
59
55
  requirements: []
60
56
  rubyforge_project:
61
- rubygems_version: 1.8.23
57
+ rubygems_version: 2.0.3
62
58
  signing_key:
63
- specification_version: 3
59
+ specification_version: 4
64
60
  summary: Carbon support for FFWD.
65
61
  test_files: []