cider 0.1.0 → 0.1.1

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.
Files changed (5) hide show
  1. data/Rakefile +1 -1
  2. data/bin/cider +6 -0
  3. data/lib/cider.rb +1 -0
  4. data/lib/cider/solo.rb +4 -6
  5. metadata +3 -3
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems/specification'
3
3
  require 'bundler'
4
4
 
5
5
  GEM = "cider"
6
- GEM_VERSION = "0.1.0"
6
+ GEM_VERSION = "0.1.1"
7
7
  AUTHOR = "Corey Donohoe"
8
8
  EMAIL = "atmos@atmos.org"
9
9
  HOMEPAGE = "http://github.com/atmos/cider"
data/bin/cider CHANGED
@@ -4,6 +4,12 @@ require "rubygems"
4
4
  require "cider"
5
5
  require "optparse"
6
6
 
7
+ ENV['HOME'] ||= '/Users/bofh'
8
+ ENV['USER'] ||= 'bofh'
9
+ ENV['EMAIL'] ||= 'noreploy@gmail.com'
10
+ ENV['EDITOR'] ||= 'vim'
11
+ ENV['FULLNAME'] ||= 'Marlon Brando'
12
+
7
13
  Cider::Runner.run
8
14
 
9
15
  # vim:ft=ruby
@@ -9,6 +9,7 @@ module Cider
9
9
  end
10
10
 
11
11
  def run
12
+ system("rm -rf ~/.cider")
12
13
  system("chef-solo -c #{config}")
13
14
  end
14
15
 
@@ -1,9 +1,8 @@
1
1
  #
2
2
  # Chef Solo Config File
3
3
  #
4
- require 'tmpdir'
5
4
 
6
- root = "#{Dir.tmpdir}/cider"
5
+ cider_root = File.expand_path("~/.cider")
7
6
 
8
7
  log_level :info
9
8
  log_location STDOUT
@@ -11,7 +10,6 @@ log_location STDOUT
11
10
  recipe_url "http://ciderapp.org/cider.tgz"
12
11
  json_attribs "http://ciderapp.org/latest"
13
12
 
14
- cookbook_path [ "#{root}/smeagol/cookbooks" ]
15
-
16
- file_cache_path "#{root}/cookbooks"
17
- cache_options ({ :path => "#{root}/cache/checksums", :skip_expires => true })
13
+ file_cache_path "#{cider_root}"
14
+ cookbook_path "#{cider_root}/cookbooks"
15
+ cache_options ({ :path => "#{cider_root}/cache/checksums", :skip_expires => true })
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cider
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Corey Donohoe