glean 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/glean/dataset.rb CHANGED
@@ -2,13 +2,14 @@ module Glean
2
2
  class Dataset
3
3
  attr_reader :identifier
4
4
 
5
- def initialize(identifier)
5
+ def initialize(identifier, dir="~")
6
6
  @identifier = identifier
7
+ @dir = dir
7
8
  sync
8
9
  end
9
10
 
10
11
  def storage_path
11
- File.join(File.expand_path("~"), ".glean")
12
+ File.join(File.expand_path(@dir), ".glean")
12
13
  end
13
14
 
14
15
  def path
data/lib/glean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Glean
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-19 00:00:00.000000000 Z
12
+ date: 2013-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake