em-mongo 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/CHANGELOG +6 -0
  4. data/Gemfile +3 -2
  5. data/Rakefile +8 -4
  6. data/VERSION +1 -1
  7. data/em-mongo.gemspec +2 -4
  8. metadata +25 -21
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fc5694302e6f8f0c1a436480b2cf62bd5a6f12f6
4
+ data.tar.gz: a0a7642623266b5080405ff926cac3dbaab8e91c
5
+ SHA512:
6
+ metadata.gz: ec15f1759525115e4a888b69c18514f0a30f043dfcf3f9e0b485ec13e21e6e88a28443762688c7111cfe8c7b06bc137a697b0138eff673a7d074386a7e4b45ed
7
+ data.tar.gz: af2937db963c6a8e6b4997f611027737cf330af79ca7f7822c9efe362e99bac1a786114023463b3199a7b502c6b298fc079df664c477b6fb009803d8c2314ad8
data/.gitignore CHANGED
@@ -2,3 +2,5 @@ Gemfile.lock
2
2
  .bundle
3
3
  *.gem
4
4
  vendor
5
+ .rvmrc
6
+ .ruby-version
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ - 0.5.1
2
+
3
+ * fixed bson dependency (do not use 2.x)
4
+ * fixed test running
5
+ * removed bash only expression from gemspec
6
+
1
7
  - 0.5.0
2
8
 
3
9
  * debian packaging changes
data/Gemfile CHANGED
@@ -1,9 +1,10 @@
1
- source :gemcutter
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
5
  group :development do
6
6
  gem "rspec", "< 1.3"
7
- gem "em-spec", :git => "https://github.com/mloughran/em-spec.git"
7
+ # gem "em-spec", :git => "https://github.com/mloughran/em-spec.git"
8
+ gem "em-spec"
8
9
  end
9
10
 
data/Rakefile CHANGED
@@ -101,23 +101,27 @@ namespace :spec do
101
101
  desc "default tests"
102
102
  task :default => ['bundle:install'] do
103
103
  MongoRunner.run do
104
- system "bundle exec spec #{spec.test_files.join(' ')} -t -b -fs -color"
104
+ files = spec.test_files.select{|x| x =~ /integration/}.join(' ')
105
+ system "bundle exec spec #{files} -t -b -fs -color"
105
106
  end
106
107
  end
107
108
 
108
109
  desc "exhaustive tests"
109
110
  task :exhaustive => ['bundle:install'] do
110
111
  MongoRunner.run({:noclean => true}) do
111
- system "bundle exec spec #{spec.test_files.join(' ')} -t -b -fs -color"
112
+ files = spec.test_files.select{|x| x =~ /integration/}.join(' ')
113
+ system "bundle exec spec #{files} -t -b -fs -color"
112
114
  end
113
115
  MongoRunner.run({:auth => true}) do
114
- system "bundle exec spec #{spec.test_files.join(' ')} -t -b -fs -color"
116
+ files = spec.test_files.select{|x| x =~ /integration/}.join(' ')
117
+ system "bundle exec spec #{files} -t -b -fs -color"
115
118
  end
116
119
  end
117
120
 
118
121
  desc "default tests, but don't start mongodb for me"
119
122
  task :no_mongo => ['bundle:install'] do
120
- system "bundle exec spec #{spec.test_files.join(' ')} -t -b -fs -color"
123
+ files = spec.test_files.select{|x| x =~ /integration/}.join(' ')
124
+ system "bundle exec spec #{files} -t -b -fs -color"
121
125
  end
122
126
 
123
127
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -13,8 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.rubyforge_project = 'em-mongo'
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
16
-
17
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.test_files = `git ls-files -- spec/*`.split("\n")
18
17
 
19
18
  s.extra_rdoc_files = ["README.rdoc"]
20
19
  s.rdoc_options = ["--charset=UTF-8"]
@@ -25,6 +24,5 @@ Gem::Specification.new do |s|
25
24
  s.summary = 'An EventMachine driver for MongoDB.'
26
25
 
27
26
  s.add_dependency 'eventmachine', ['>= 0.12.10']
28
- s.add_dependency 'bson', ['>= 1.1.3']
29
-
27
+ s.add_dependency "bson", ["~> 1.9.2"]
30
28
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 0.5.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - bcg
@@ -15,35 +14,31 @@ dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: eventmachine
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 0.12.10
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 0.12.10
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: bson
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - "~>"
37
33
  - !ruby/object:Gem::Version
38
- version: 1.1.3
34
+ version: 1.9.2
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - "~>"
45
40
  - !ruby/object:Gem::Version
46
- version: 1.1.3
41
+ version: 1.9.2
47
42
  description: EventMachine driver for MongoDB.
48
43
  email: brenden.grace@gmail.com
49
44
  executables: []
@@ -51,7 +46,7 @@ extensions: []
51
46
  extra_rdoc_files:
52
47
  - README.rdoc
53
48
  files:
54
- - .gitignore
49
+ - ".gitignore"
55
50
  - CHANGELOG
56
51
  - Gemfile
57
52
  - README.rdoc
@@ -84,27 +79,36 @@ files:
84
79
  - spec/unit/bson_spec.rb
85
80
  homepage: https://github.com/bcg/em-mongo
86
81
  licenses: []
82
+ metadata: {}
87
83
  post_install_message:
88
84
  rdoc_options:
89
- - --charset=UTF-8
85
+ - "--charset=UTF-8"
90
86
  require_paths:
91
87
  - lib
92
88
  required_ruby_version: !ruby/object:Gem::Requirement
93
- none: false
94
89
  requirements:
95
- - - ! '>='
90
+ - - ">="
96
91
  - !ruby/object:Gem::Version
97
92
  version: '0'
98
93
  required_rubygems_version: !ruby/object:Gem::Requirement
99
- none: false
100
94
  requirements:
101
- - - ! '>='
95
+ - - ">="
102
96
  - !ruby/object:Gem::Version
103
97
  version: '0'
104
98
  requirements: []
105
99
  rubyforge_project: em-mongo
106
- rubygems_version: 1.8.23
100
+ rubygems_version: 2.2.0
107
101
  signing_key:
108
- specification_version: 3
102
+ specification_version: 4
109
103
  summary: An EventMachine driver for MongoDB.
110
- test_files: []
104
+ test_files:
105
+ - spec/gem/Gemfile
106
+ - spec/gem/bundler.rb
107
+ - spec/gem/rubygems.rb
108
+ - spec/integration/collection_spec.rb
109
+ - spec/integration/connection_spec.rb
110
+ - spec/integration/cursor_spec.rb
111
+ - spec/integration/database_spec.rb
112
+ - spec/integration/request_response_spec.rb
113
+ - spec/spec_helper.rb
114
+ - spec/unit/bson_spec.rb