myosx 0.2.6 → 0.2.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d79c57b0f07c1939772b02c2d508f655155c7525
4
- data.tar.gz: f8f0e286f4fe69c37e683bdd3535a397ee2d7b13
3
+ metadata.gz: 23c62854596ffa8c551f18473acf3764361f4214
4
+ data.tar.gz: bbf646aee48e4b3adb30a45e75af961fc16d3b9a
5
5
  SHA512:
6
- metadata.gz: 85939244f0cf3fdb50bd65b7d323dbb671d34b08784694184327ad0aa0d376cfc290d212d09340e3d3ef58e261f3a45badebe34c5b7ae8ad9ec88cc98a3bc592
7
- data.tar.gz: a3f277d09f5c45b3f249b2b40855d95521278baf35c6825b0f85cc2d6a149a37ceb42680e01aa9171fe53cbbea05e8162d6cc68ef3df49cf49d3971dea6d67e1
6
+ metadata.gz: aa5d68e0be7fce656fabea9bb0fcd423aeb37aa7be68e270d62cf918bfad4cc1e7d88293a15c1110e3d3042b3a1fc0629fe7aeb1827ffd5e492e4eb5312eed86
7
+ data.tar.gz: c11f2ee668161fa8ef7310d5357b23b53674585c96064d9c85faba0f933b317fb501cf99883cd738a4625339f9dd194704a8be1a86a8ff71546a699ec72a836a
data/lib/myosx.rb CHANGED
@@ -1,28 +1,28 @@
1
1
  require "myosx/version"
2
- require "myosx/config"
2
+ require "myosx/konfig"
3
3
  require "myosx/dotfiles"
4
4
  require "myosx/homebrew"
5
5
  require "myosx/rbenv"
6
6
 
7
7
  module Myosx
8
- class Exec < Config
8
+ class Exec
9
9
  def initialize
10
- Config.new.create_workspace(Config.new.workspace_directory)
10
+ Konfig.new.create_workspace(Konfig.new.workspace_directory)
11
11
 
12
12
  unless system("which brew >/dev/null 2>&1")
13
13
  puts "Error: can't find homebrew in PATH."
14
14
  exit
15
15
  end
16
16
 
17
- if Config.new.global['dotfiles']
17
+ if Konfig.new.global['dotfiles']
18
18
  Dotfiles.new.exec
19
19
  end
20
20
 
21
- if Config.new.global['homebrew']
21
+ if Konfig.new.global['homebrew']
22
22
  Homebrew.new.exec
23
23
  end
24
24
 
25
- if Config.new.global['rbenv']
25
+ if Konfig.new.global['rbenv']
26
26
  Rbenv.new.exec
27
27
  end
28
28
  end
@@ -4,15 +4,16 @@
4
4
  #
5
5
  require 'yaml'
6
6
  require 'git'
7
- require_relative 'config'
8
7
 
9
- class Dotfiles < Config
8
+ require_relative 'konfig'
9
+
10
+ class Dotfiles
10
11
  def config
11
- Config.new.global['dotfiles']
12
+ Konfig.new.global['dotfiles']
12
13
  end
13
14
 
14
15
  def dotfiledir
15
- File.join(Config.new.workspace_directory, 'dotfiles')
16
+ File.join(Konfig.new.workspace_directory, 'dotfiles')
16
17
  end
17
18
 
18
19
  def repo(repo, target, local_repo = 'dotfiles')
@@ -4,12 +4,12 @@
4
4
  #
5
5
  require 'yaml'
6
6
  require 'git'
7
- require_relative 'config'
7
+ require_relative 'konfig'
8
8
 
9
- class Homebrew < Config
9
+ class Homebrew
10
10
 
11
11
  def config
12
- Config.new.global['homebrew']
12
+ Konfig.new.global['homebrew']
13
13
  end
14
14
 
15
15
  def packages
@@ -17,7 +17,7 @@ class Homebrew < Config
17
17
  end
18
18
 
19
19
  def brewfile
20
- return File.join(Config.new.workspace_directory, 'Brewfile')
20
+ return File.join(Konfig.new.workspace_directory, 'Brewfile')
21
21
  end
22
22
 
23
23
  def brewfile_out(packages)
@@ -4,7 +4,7 @@
4
4
  require 'yaml'
5
5
  require 'git'
6
6
 
7
- class Config
7
+ class Konfig
8
8
  def config_file
9
9
  ENV["MYOSX_CONFIG"] || File.expand_path('~/.myosx.cnf')
10
10
  end
data/lib/myosx/rbenv.rb CHANGED
@@ -5,11 +5,11 @@
5
5
  # This class does not add the shims path to your shell or manage any aliases
6
6
  #
7
7
  require 'yaml'
8
- require_relative 'config'
8
+ require_relative 'konfig'
9
9
 
10
- class Rbenv < Config
10
+ class Rbenv
11
11
  def config
12
- Config.new.global['rbenv']
12
+ Konfig.new.global['rbenv']
13
13
  end
14
14
 
15
15
  def install_rbenv
data/lib/myosx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Myosx
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myosx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laura Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-09 00:00:00.000000000 Z
11
+ date: 2018-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -86,10 +86,10 @@ files:
86
86
  - bin/setup
87
87
  - example.myosx.cnf
88
88
  - lib/myosx.rb
89
- - lib/myosx/config.rb
90
89
  - lib/myosx/dotfiles.rb
91
90
  - lib/myosx/homebrew.rb
92
91
  - lib/myosx/hub.rb
92
+ - lib/myosx/konfig.rb
93
93
  - lib/myosx/pass.rb
94
94
  - lib/myosx/rbenv.rb
95
95
  - lib/myosx/shell.rb
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.5.1
118
+ rubygems_version: 2.2.5
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: myosx configures OSX how I like it