parsley-store 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/parsley-store.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/parsley-store.rb CHANGED
@@ -7,8 +7,8 @@ class ParsleyStore
7
7
  LOCAL = 1
8
8
  SLAVE = 2
9
9
 
10
- def initialize
11
- @parser = ScientificNameParser.new(local_db = LOCAL, slave_db = SLAVE)
10
+ def initialize(local_db = LOCAL, slave_db = SLAVE)
11
+ @parser = ScientificNameParser.new
12
12
  @local = Redis.new
13
13
  @local.select(local_db)
14
14
  # slave replication is not set up yet, so I comment it out
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsley-store
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dmitry Mozzherin