timecapsule 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -9,7 +9,7 @@ class Timecapsule
9
9
  Dir.mkdir(path) unless File.exists?(path)
10
10
  end
11
11
 
12
- default_config = {:import_directory => Rails.root.join('db/seed_data/').to_s , :export_directory => Rails.root.join('db/seed_data/').to_s}
12
+ default_config = {:import_directory => 'db/seed_data/' , :export_directory => 'db/seed_data/'}
13
13
  config_pathname = Rails.root.join("config/timecapsule.yml")
14
14
  config_dir_pathname = Rails.root.join("config")
15
15
  unless File.exists?(config_pathname)
@@ -19,8 +19,8 @@ class Timecapsule
19
19
  config_file.close
20
20
  end
21
21
  config = YAML.load_file(config_pathname)
22
- Timecapsule::IMPORT_DIR = config[:import_directory]
23
- Timecapsule::EXPORT_DIR = config[:export_directory]
22
+ Timecapsule::IMPORT_DIR = Rails.root.join(config[:import_directory]).to_s
23
+ Timecapsule::EXPORT_DIR = Rails.root.join(config[:export_directory]).to_s
24
24
  end
25
25
  end
26
26
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "timecapsule"
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ren\303\251e De Voursney"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timecapsule
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Ren\xC3\xA9e De Voursney"