polipus 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTE0ODRlOTc3NGZmM2ZlZjhjY2MyMjE2MjQxNzZhZmEzODhhZWY1YQ==
4
+ MTk2M2YyNzJhYjhhY2IxNDUwNThkMjUwZTkzNTgyNjUyMTAxODY0Nw==
5
5
  data.tar.gz: !binary |-
6
- ZTg1NTYwNzgyMjk3MjEyM2FiYmIzM2FiZGJkMTE5NTc0MTg2NzZlYg==
6
+ MTNkMzZmZDcyODBhNmRjZmMyZjRmOTA3NmM1NGY1OTY3MDhhZGM5ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjMyMzgzYWYwNDI4NGJiNTdlMTRlODI4MjUxODdkMGE4YjdiNzU1N2U3ZDU5
10
- NTRmYTk4OWI4NzVhZjUxZjJmNGY5MWU3YjUzNzc3N2RjZmM5NzRjZDgxMGU3
11
- ZDRiMDBjZmEyNzJmYmJiOGU4ZDk4Y2MxOTkyZTJiMTI0YWZmMWQ=
9
+ MTk3NjZmNmE4MWZmYmI4YzRlMDQxMGI2YTBhN2U2ZjdhMzNjZjQ3ZDk2ODQz
10
+ OWU0ODQ1ZjMxOGYwZjYyNWE1M2Q2MTE2ZjIxY2E3NjhmZTQwMGNjZTdlZjVm
11
+ ZTYxYzY4ZjBjNTkyNDY3MDVhODNkMWYwNDE3NjYyZWM0YzhiNjU=
12
12
  data.tar.gz: !binary |-
13
- NTMwMzg0MzA5MTQ5YmFlMThjYjM3ZjFhZmQzODE3YmI1ZDBhOWNlNmRkOTVh
14
- N2I0ZTA3ZDQ3YzgxN2ViNGRkOTdmMDZmMmRmODk4MGUyZTZkMTM0ZjhjYWQz
15
- NjUyODU3YmQ1OWQ0ZjhhNDUyMmI3OWE1NDlhMDY5ZDM1ZGFhYzQ=
13
+ ZTJkMzc2MDI4Yjg5ODMzZmJhMmM5ZmU5YzliMGRlNTliMWI3YWFjNzQ2MWQ1
14
+ YzBjMzRhZGFlODUyODdjNjExMzFmMWRhZTJiMDhjNjI2OTM0NTQ1NDk4NWE4
15
+ MzEyN2UxZTIzNjc1OTc2NzBmMTM0MTMwZTgyN2M5NjkxN2IyZDA=
data/lib/polipus.rb CHANGED
@@ -88,10 +88,10 @@ module Polipus
88
88
  @options = OPTS.merge(options)
89
89
  @logger = @options[:logger] ||= Logger.new(nil)
90
90
 
91
- unless @logger.is_a?(Log4r::Logger)
92
- @logger.level = @options[:logger_level] ||= Logger::INFO
91
+ unless @logger.class.to_s == "Log4r::Logger"
92
+ @logger.level = @options[:logger_level] ||= Logger::INFO
93
93
  end
94
-
94
+
95
95
  @storage = @options[:storage] ||= Storage.dev_null
96
96
 
97
97
  @http_pool = []
@@ -1,4 +1,4 @@
1
1
  module Polipus
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  HOMEPAGE = "https://github.com/taganaka/polipus"
4
4
  end
data/polipus.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.0'
27
27
  s.add_runtime_dependency 'hiredis', '~> 0.4', '>= 0.4.5'
28
28
  s.add_runtime_dependency 'redis', '~> 3.0', '>= 3.0.4'
29
- s.add_runtime_dependency 'mongo', '~> 1.9', '>= 1.9.2'
29
+ s.add_runtime_dependency 'mongo', '~> 1.9.0', '>= 1.9.2'
30
30
 
31
31
  if defined?(JRUBY_VERSION)
32
32
  s.add_runtime_dependency 'bson', '~> 1.9', '>= 1.9.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polipus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Laurita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-26 00:00:00.000000000 Z
11
+ date: 2014-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis-bloomfilter
@@ -116,7 +116,7 @@ dependencies:
116
116
  requirements:
117
117
  - - ~>
118
118
  - !ruby/object:Gem::Version
119
- version: '1.9'
119
+ version: 1.9.0
120
120
  - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: 1.9.2
@@ -126,7 +126,7 @@ dependencies:
126
126
  requirements:
127
127
  - - ~>
128
128
  - !ruby/object:Gem::Version
129
- version: '1.9'
129
+ version: 1.9.0
130
130
  - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.9.2