stomp 1.4.9 → 1.4.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,18 @@ class UserData
14
14
  "UserData: AuthorDate=>#{@ad}, AuthorDate=>#{@ad}, CommitCount =>#{@count}"
15
15
  end
16
16
  end
17
+ #
18
+ def partOne()
19
+ puts "# Contributors"
20
+ puts
21
+ puts "## Contributors (by first author date)"
22
+ puts
23
+ puts
24
+ puts "Contribution Information:"
25
+ puts
26
+ puts
27
+ end
28
+ #
17
29
  # tABLE Data
18
30
  ttab_s = "<table border=\"1\" style=\"width:100%;border: 1px solid black;\">\n"
19
31
  ttab_e = "</table>\n"
@@ -32,11 +44,12 @@ td_s = "<td style=\"border: 1px solid black;padding-left: 10px;\" >\n"
32
44
  td_e = "</td>\n"
33
45
  #
34
46
  #
47
+ partOne()
35
48
  userList = {}
36
49
  while s = gets do
37
50
  s.chomp!
38
51
  ##puts
39
- ##puts s
52
+ ##puts
40
53
  sa = s.split(" ")
41
54
  ## puts sa
42
55
  ad = sa[-1]
@@ -0,0 +1,4 @@
1
+ #
2
+ require 'stomp'
3
+ #
4
+ puts Stomp::Version::STRING
@@ -116,7 +116,7 @@ module Stomp
116
116
  #
117
117
  # Note: experiments with JRuby seem to show that socket.ready? never
118
118
  # returns true. It appears that in cases where Ruby returns true
119
- # that JRuby returns a Fixnum. We attempt to adjust for this
119
+ # that JRuby returns an Integer. We attempt to adjust for this
120
120
  # in the _is_ready? method.
121
121
  #
122
122
  # Note 2: the draining of new lines must be done _after_ a message
@@ -178,7 +178,7 @@ module Stomp
178
178
  # rdy = true
179
179
  rdy = false # A test
180
180
  else
181
- rdy = (rdy.class == Fixnum || rdy.class == TrueClass) ? true : false
181
+ rdy = (rdy.class == Integer || rdy.class == TrueClass) ? true : false
182
182
  end
183
183
  #p [ "isr?_last", rdy ]
184
184
  rdy
@@ -277,8 +277,8 @@ module Stomp
277
277
  end
278
278
  end
279
279
  used_socket.write "\0"
280
- # used_socket.flush if autoflush
281
- used_socket.flush
280
+ used_socket.flush if @autoflush
281
+ # used_socket.flush
282
282
 
283
283
  if @protocol >= Stomp::SPL_11
284
284
  @ls = Time.now.to_f if @hbs
@@ -6,8 +6,10 @@ module Stomp
6
6
  module Version #:nodoc: all
7
7
  MAJOR = 1
8
8
  MINOR = 4
9
- PATCH = 9
10
- # PATCH = "8.plvl.001"
11
- STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
9
+ PATCH = "10"
10
+ MODLEVEL = ""
11
+ STRING = "#{MAJOR}.#{MINOR}.#{PATCH}#{MODLEVEL}"
12
+ # Alternate version string
13
+ Version = STRING
12
14
  end
13
15
  end
@@ -37,7 +37,7 @@ describe Stomp::Connection do
37
37
 
38
38
  #POG:
39
39
  class Stomp::Connection
40
- def _receive( s, connread = false )
40
+ def _receive( s, connread = false, niocheck = false )
41
41
  end
42
42
  end
43
43
 
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: stomp 1.4.9 ruby lib
5
+ # stub: stomp 1.4.10 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "stomp".freeze
9
- s.version = "1.4.9"
9
+ s.version = "1.4.10"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Brian McCallister".freeze, "Marius Mathiesen".freeze, "Thiago Morello".freeze, "Guy M. Allard".freeze]
14
- s.date = "2019-11-16"
14
+ s.date = "2020-08-19"
15
15
  s.description = "Ruby client for the Stomp messaging protocol.".freeze
16
16
  s.email = ["brianm@apache.org".freeze, "marius@stones.com".freeze, "morellon@gmail.com".freeze, "allard.guy.m@gmail.com".freeze]
17
17
  s.executables = ["catstomp".freeze, "stompcat".freeze]
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  ]
22
22
  s.files = [
23
23
  "CHANGELOG.md",
24
+ "CONTRIBUTORS.md",
24
25
  "LICENSE",
25
26
  "README.md",
26
27
  "Rakefile",
@@ -56,6 +57,7 @@ Gem::Specification.new do |s|
56
57
  "examples/logexamp.rb",
57
58
  "examples/putget_file.rb",
58
59
  "examples/putget_rephdrs.rb",
60
+ "examples/showver.rb",
59
61
  "examples/ssl/SSL.md",
60
62
  "examples/ssl/misc/ssl_ctxoptions.rb",
61
63
  "examples/ssl/misc/ssl_newparm.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: 1.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian McCallister
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-11-16 00:00:00.000000000 Z
14
+ date: 2020-08-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec
@@ -48,6 +48,7 @@ extra_rdoc_files:
48
48
  - README.md
49
49
  files:
50
50
  - CHANGELOG.md
51
+ - CONTRIBUTORS.md
51
52
  - LICENSE
52
53
  - README.md
53
54
  - Rakefile
@@ -83,6 +84,7 @@ files:
83
84
  - examples/logexamp.rb
84
85
  - examples/putget_file.rb
85
86
  - examples/putget_rephdrs.rb
87
+ - examples/showver.rb
86
88
  - examples/ssl/SSL.md
87
89
  - examples/ssl/misc/ssl_ctxoptions.rb
88
90
  - examples/ssl/misc/ssl_newparm.rb