cony 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +10 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +21 -0
- data/README.md +4 -1
- data/Rakefile +6 -1
- data/VERSION +1 -1
- data/bin/cony-receive +0 -0
- data/gemfiles/activesupport-3.2.gemfile +5 -0
- data/gemfiles/activesupport-4.0.gemfile +5 -0
- data/gemfiles/activesupport-4.1.gemfile +6 -0
- data/lib/cony.rb +7 -1
- metadata +14 -2
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Nine Internet Solutions AG (nine.ch)
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -20,7 +20,10 @@ To configure the AMQP-Settings, use an initializer (e.g.
|
|
20
20
|
Cony.configure do |config|
|
21
21
|
config.amqp = {
|
22
22
|
host: 'localhost',
|
23
|
-
exchange: 'organization.application'
|
23
|
+
exchange: 'organization.application',
|
24
|
+
ssl: true,
|
25
|
+
user: 'username',
|
26
|
+
pass: 'secret',
|
24
27
|
}
|
25
28
|
# config.durable = false
|
26
29
|
end
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/bin/cony-receive
CHANGED
File without changes
|
data/lib/cony.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
# activesupport 4
|
3
|
+
require 'active_support/core_ext/object/deep_dup'
|
4
|
+
rescue LoadError
|
5
|
+
# activesupport 3
|
6
|
+
require 'active_support/core_ext/hash/deep_dup'
|
7
|
+
end
|
2
8
|
require 'active_support/configurable'
|
3
9
|
|
4
10
|
require 'cony/active_record'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -83,16 +83,22 @@ executables:
|
|
83
83
|
extensions: []
|
84
84
|
extra_rdoc_files: []
|
85
85
|
files:
|
86
|
+
- .gitignore
|
86
87
|
- .rspec
|
87
88
|
- .ruby-gemset
|
88
89
|
- .ruby-version
|
90
|
+
- .travis.yml
|
89
91
|
- Gemfile
|
90
92
|
- Gemfile.lock
|
93
|
+
- LICENSE.txt
|
91
94
|
- README.md
|
92
95
|
- Rakefile
|
93
96
|
- VERSION
|
94
97
|
- bin/cony-receive
|
95
98
|
- cony.gemspec
|
99
|
+
- gemfiles/activesupport-3.2.gemfile
|
100
|
+
- gemfiles/activesupport-4.0.gemfile
|
101
|
+
- gemfiles/activesupport-4.1.gemfile
|
96
102
|
- lib/cony.rb
|
97
103
|
- lib/cony/active_record.rb
|
98
104
|
- lib/cony/amqp_connection_handler.rb
|
@@ -112,12 +118,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
118
|
- - ! '>='
|
113
119
|
- !ruby/object:Gem::Version
|
114
120
|
version: '0'
|
121
|
+
segments:
|
122
|
+
- 0
|
123
|
+
hash: -3538813224422200676
|
115
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
125
|
none: false
|
117
126
|
requirements:
|
118
127
|
- - ! '>='
|
119
128
|
- !ruby/object:Gem::Version
|
120
129
|
version: '0'
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
hash: -3538813224422200676
|
121
133
|
requirements: []
|
122
134
|
rubyforge_project:
|
123
135
|
rubygems_version: 1.8.23
|