torquebox-no-op 2.2.0 → 2.3.0

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.
@@ -1,3 +1,21 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
1
18
  require "torquebox/no-op/messaging"
2
19
  require "torquebox/no-op/stomp"
3
- require "torquebox/no-op/injectors"
20
+ require "torquebox/no-op/injectors"
21
+ require "torquebox/no-op/transactions"
@@ -1,3 +1,20 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
1
18
  module TorqueBox
2
19
  module Injectors
3
20
  def inject(*args)
@@ -17,4 +34,4 @@ module TorqueBox
17
34
  end
18
35
  end
19
36
  end
20
- end
37
+ end
@@ -1,3 +1,20 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
1
18
  module TorqueBox
2
19
  module Messaging
3
20
  module Backgroundable
@@ -18,15 +35,27 @@ module TorqueBox
18
35
 
19
36
  class MessageProcessor
20
37
  end
21
-
38
+
22
39
  class Queue
40
+ def initialize(*args)
41
+ # no-op
42
+ end
43
+
23
44
  def publish(*args)
24
45
  # no-op
25
46
  end
26
-
47
+
27
48
  def receive(*args)
28
49
  # no-op
29
50
  end
30
51
  end
52
+
53
+ class Message
54
+ class <<self
55
+ def register_encoding(klass)
56
+ # no-op
57
+ end
58
+ end
59
+ end
31
60
  end
32
61
  end
@@ -1,3 +1,20 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
1
18
  module TorqueBox
2
19
  module Stomp
3
20
  class JmsStomplet
@@ -10,4 +27,4 @@ module TorqueBox
10
27
  end
11
28
  end
12
29
  end
13
- end
30
+ end
@@ -0,0 +1,22 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
18
+ module TorqueBox
19
+ def self.transaction(*args)
20
+ yield if block_given?
21
+ end
22
+ end
@@ -1,5 +1,22 @@
1
+ # Copyright 2008-2013 Red Hat, Inc, and individual contributors.
2
+ #
3
+ # This is free software; you can redistribute it and/or modify it
4
+ # under the terms of the GNU Lesser General Public License as
5
+ # published by the Free Software Foundation; either version 2.1 of
6
+ # the License, or (at your option) any later version.
7
+ #
8
+ # This software is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this software; if not, write to the Free
15
+ # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
+ # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
+
1
18
  module TorqueBox
2
19
  module NoOp
3
20
  VERSION = "0.0.1"
4
21
  end
5
- end
22
+ end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: torquebox-no-op
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.0
5
+ version: 2.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - The TorqueBox Team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -36,10 +36,11 @@ extra_rdoc_files: []
36
36
  files:
37
37
  - licenses/lgpl-2.1.txt
38
38
  - lib/torquebox-no-op.rb
39
- - lib/torquebox/no-op/injectors.rb
40
- - lib/torquebox/no-op/version.rb
39
+ - lib/torquebox/no-op/transactions.rb
41
40
  - lib/torquebox/no-op/messaging.rb
42
41
  - lib/torquebox/no-op/stomp.rb
42
+ - lib/torquebox/no-op/injectors.rb
43
+ - lib/torquebox/no-op/version.rb
43
44
  homepage: http://torquebox.org/
44
45
  licenses:
45
46
  - lgpl
@@ -49,14 +50,14 @@ require_paths:
49
50
  - lib
50
51
  required_ruby_version: !ruby/object:Gem::Requirement
51
52
  requirements:
52
- - - ! '>='
53
+ - - ">="
53
54
  - !ruby/object:Gem::Version
54
55
  version: !binary |-
55
56
  MA==
56
57
  none: false
57
58
  required_rubygems_version: !ruby/object:Gem::Requirement
58
59
  requirements:
59
- - - ! '>='
60
+ - - ">="
60
61
  - !ruby/object:Gem::Version
61
62
  version: !binary |-
62
63
  MA==