indeed 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/indeed.gemspec +2 -2
  3. data/lib/indeed.rb +2 -2
  4. metadata +12 -12
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{indeed}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bogdan Gusiev"]
12
- s.date = %q{2011-01-28}
12
+ s.date = %q{2011-06-21}
13
13
  s.description = %q{Simple wrapper for JSON api provided by indeed.
14
14
  Original documentation at:
15
15
  http://www.indeed.com/jsp/apiinfo.jsp (Require authorization)
@@ -88,7 +88,7 @@ class Indeed
88
88
  end
89
89
 
90
90
  def format_log_entry(message, dump = nil)
91
- if ActiveRecord::Base.colorize_logging
91
+ if defined?(Rails) && Rails.configuration.respond_to?(:colorize_logging) && Rails.configuration.colorize_logging
92
92
  message_color, dump_color = "4;32;1", "0;1"
93
93
  log_entry = " \e[#{message_color}m#{message}\e[0m "
94
94
  log_entry << "\e[#{dump_color}m%#{String === dump ? 's' : 'p'}\e[0m" % dump if dump
@@ -111,5 +111,5 @@ class IndeedResult < Array
111
111
  end
112
112
 
113
113
  class IndeedError < StandardError
114
-
114
+
115
115
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indeed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bogdan Gusiev
@@ -15,13 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-28 00:00:00 +02:00
18
+ date: 2011-06-21 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rake
23
- type: :runtime
24
- prerelease: false
25
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
23
  none: false
27
24
  requirements:
@@ -32,10 +29,10 @@ dependencies:
32
29
  - 0
33
30
  version: "0"
34
31
  requirement: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: yajl-ruby
37
32
  type: :runtime
33
+ name: rake
38
34
  prerelease: false
35
+ - !ruby/object:Gem::Dependency
39
36
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
37
  none: false
41
38
  requirements:
@@ -46,10 +43,10 @@ dependencies:
46
43
  - 0
47
44
  version: "0"
48
45
  requirement: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: jeweler
51
- type: :development
46
+ type: :runtime
47
+ name: yajl-ruby
52
48
  prerelease: false
49
+ - !ruby/object:Gem::Dependency
53
50
  version_requirements: &id003 !ruby/object:Gem::Requirement
54
51
  none: false
55
52
  requirements:
@@ -60,6 +57,9 @@ dependencies:
60
57
  - 0
61
58
  version: "0"
62
59
  requirement: *id003
60
+ type: :development
61
+ name: jeweler
62
+ prerelease: false
63
63
  description: |
64
64
  Simple wrapper for JSON api provided by indeed.
65
65
  Original documentation at: