ryansch-awesome_print 1.0.2.1 → 1.0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- awesome_print (1.0.0)
4
+ ryansch-awesome_print (1.0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -21,6 +21,6 @@ PLATFORMS
21
21
  ruby
22
22
 
23
23
  DEPENDENCIES
24
- awesome_print!
25
24
  fakefs (>= 0.2.1)
26
25
  rspec (>= 2.6.0)
26
+ ryansch-awesome_print!
@@ -20,7 +20,7 @@ module AwesomePrint
20
20
  cast = :mongoid_class
21
21
  elsif object.class.ancestors.include?(::Mongoid::Document)
22
22
  cast = :mongoid_document
23
- elsif object.is_a?(::BSON::ObjectId)
23
+ elsif defined?(::BSON) && object.is_a?(::BSON::ObjectId) || defined?(::Moped) && object.is_a?(::Moped::BSON::ObjectId)
24
24
  cast = :mongoid_bson_id
25
25
  end
26
26
  end
@@ -5,6 +5,6 @@
5
5
  #------------------------------------------------------------------------------
6
6
  module AwesomePrint
7
7
  def self.version
8
- '1.0.2.1'
8
+ '1.0.2.2'
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ryansch-awesome_print
3
3
  version: !ruby/object:Gem::Version
4
- hash: 85
4
+ hash: 83
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 2
10
- - 1
11
- version: 1.0.2.1
10
+ - 2
11
+ version: 1.0.2.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Michael Dvorkin
@@ -17,8 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-12-28 00:00:00 -08:00
21
- default_executable:
20
+ date: 2012-08-21 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
23
  name: rspec
@@ -91,7 +90,6 @@ files:
91
90
  - spec/objects_spec.rb
92
91
  - spec/spec_helper.rb
93
92
  - .gitignore
94
- has_rdoc: true
95
93
  homepage: http://github.com/ryansch/awesome_print
96
94
  licenses: []
97
95
 
@@ -121,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
119
  requirements: []
122
120
 
123
121
  rubyforge_project: awesome_print
124
- rubygems_version: 1.6.2
122
+ rubygems_version: 1.8.24
125
123
  signing_key:
126
124
  specification_version: 3
127
125
  summary: Pretty print Ruby objects with proper indentation and colors