ohajiki 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/ohajiki.rb CHANGED
@@ -5,5 +5,5 @@ require File.expand_path('../ohajiki/repo', __FILE__)
5
5
 
6
6
  module Ohajiki
7
7
  class ConfigNotFound < StandardError; end
8
- class RepositoryMissing < StandardError; end
8
+ class InitializeError < StandardError; end
9
9
  end
@@ -19,7 +19,7 @@ module Ohajiki
19
19
  raise InitializeError
20
20
  end
21
21
 
22
- def fetch_repository
22
+ def fetch_repository(dir_path)
23
23
  unless Repo.exist? dir_path
24
24
  Repo.init(dir_path) do
25
25
  remote_add('origin', Config::REMOTE_REPO_URL)
@@ -1,3 +1,3 @@
1
1
  module Ohajiki
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohajiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: