cony 1.0.0 → 1.0.1

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.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - 2.1.1
6
+
7
+ gemfile:
8
+ - gemfiles/activesupport-3.2.gemfile
9
+ - gemfiles/activesupport-4.0.gemfile
10
+ - gemfiles/activesupport-4.1.gemfile
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cony (1.0.0)
4
+ cony (1.0.1)
5
5
  activesupport (>= 3)
6
6
  bunny (~> 1.1.7)
7
7
 
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
@@ -1,5 +1,10 @@
1
1
  #!/usr/bin/env rake
2
2
 
3
- require 'bundler'
3
+ require 'bundler/setup'
4
4
  require 'rake'
5
5
  require 'bundler/gem_tasks'
6
+ require 'rspec/core/rake_task'
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+
10
+ task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/bin/cony-receive CHANGED
File without changes
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 3.2.0'
4
+
5
+ gemspec path: '../'
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 4.0.0'
4
+
5
+ gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'activesupport', '~> 4.0.0'
4
+
5
+ gemspec path: '../'
6
+
data/lib/cony.rb CHANGED
@@ -1,4 +1,10 @@
1
- require 'active_support/core_ext/object/deep_dup'
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.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-16 00:00:00.000000000 Z
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