coral_core 0.2.0 → 0.2.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.2
data/coral_core.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coral_core"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Adrian Webb"]
@@ -34,13 +34,13 @@ class Core
34
34
  #---
35
35
 
36
36
  def logger
37
- return @ui.logger
37
+ return self.class.logger
38
38
  end
39
39
 
40
40
  #---
41
41
 
42
42
  def logger=logger
43
- @ui.logger = logger
43
+ self.class.logger = logger
44
44
  end
45
45
 
46
46
  #-----------------------------------------------------------------------------
@@ -12,7 +12,8 @@ class Repository < Core
12
12
  @directory = ( options.has_key?(:directory) ? string(options[:directory]) : '' )
13
13
  @submodule = ( options.has_key?(:submodule) ? string(options[:submodule]) : '' )
14
14
  @remote_dir = ( options.has_key?(:remote_dir) ? string(options[:remote_dir]) : '' )
15
-
15
+
16
+ dbg(options, 'options')
16
17
  ensure_git(true)
17
18
  end
18
19
 
@@ -30,7 +31,7 @@ class Repository < Core
30
31
  @git = nil
31
32
  else
32
33
  directory = @directory
33
- if ! @submodule.empty?
34
+ unless Util::Data.empty?(@submodule)
34
35
  directory = File.join(@directory, @submodule)
35
36
  end
36
37
  @git = Git.open(directory, {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coral_core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adrian Webb