homesteading 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bce5c95c1b793a4efdeb6612243ea5e6048ae21
4
- data.tar.gz: f6c2008d6acc03a144616ccf35a6abeeccea7b75
3
+ metadata.gz: 065ba3f96efe822d90b3e2286a7a886895d65c89
4
+ data.tar.gz: 171b01aa71ff33c86ae2c6cfb7760857f04d56fb
5
5
  SHA512:
6
- metadata.gz: df181a7ad426742833ebca5c576f9c1f08525d5576f34ed15984b406704c55be26712e39024322e3c5931028510f98c4fb695dab7d81582ab777ed07e4567a8c
7
- data.tar.gz: f508575d0e77cc29b2609249ad15b26f5e3914ab502621c8e85c33d660311014862cfc5f74868bb551ae5a2e83bcfdaa86c2118350d317bde8d99482d4e51c92
6
+ metadata.gz: 7b50d8ca4e815157b67a38a3b5bdacd9e7ca2e32f984501b60238cd72f6ca908d0a39e5bb468fff04fe7fac3123a0431a1299f5b9cdc29f1a4fe5584b2ec4230
7
+ data.tar.gz: f53932f1e082ffee548acecab2139da08e0e100f47087e1cad3db93d823ecfc376889b321c02966ac820aafb0edfeafef69e4c8f7ecda3bc5873894d3df8d706
data/README.md CHANGED
@@ -12,7 +12,7 @@ See the [/help](https://github.com/homesteading/homesteading/tree/master/help) d
12
12
 
13
13
  ## Current Version
14
14
 
15
- 0.0.6
15
+ 0.0.7
16
16
 
17
17
 
18
18
  ## Requirements
data/homesteading.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Shane Becker"]
10
10
  spec.email = ["veganstraightedge@gmail.com"]
11
11
  spec.summary = "Client library and command-line tool to deploy and manage Homesteading apps"
12
- spec.description = ""
12
+ spec.description = "The Homesteading CLI is used to create, update and deploy a constellation of homesteading apps that together make up a website powered by Homesteading."
13
13
  spec.homepage = "http://homesteading.io"
14
14
  spec.license = "Public Domain, CC0"
15
15
 
@@ -45,6 +45,10 @@ class Homesteading
45
45
  end
46
46
  end
47
47
 
48
+ unless options[:pretend]
49
+ system("cd #{constellation_dir}")
50
+ end
51
+
48
52
  puts
49
53
  end
50
54
 
@@ -3,6 +3,7 @@ class Homesteading
3
3
  class << self
4
4
 
5
5
  def default(options=nil)
6
+ # update hs apps from github
6
7
  end
7
8
 
8
9
  def client(options=nil)
@@ -18,7 +19,22 @@ class Homesteading
18
19
  optparse.parse!
19
20
 
20
21
  if options[:beta]
21
- puts "pull from github"
22
+ puts "* Cloning Homesteading from GitHub into /tmp"
23
+ system "cd /tmp && git clone git@github.com:homesteading/homesteading.git"
24
+
25
+ puts "* Building homesteading gem from .gemspec"
26
+ system "cd /tmp/homesteading && gem build homesteading.gemspec"
27
+
28
+ dot_gem = Dir.glob("/tmp/homesteading/*.gem").last
29
+ version = dot_gem.split("/").last.sub("homesteading-", "").sub(".gem", "")
30
+
31
+ puts "* Installing homesteading version #{version}"
32
+ system "gem install #{dot_gem}"
33
+
34
+ puts "* Cleaning up"
35
+ system "rm -rf /tmp/homesteading"
36
+
37
+ puts "* Homesteading CLI version #{version} successfully installed from GitHub"
22
38
  else
23
39
  system "gem install homesteading"
24
40
  end
@@ -5,7 +5,7 @@ class Homesteading
5
5
  def default(options=nil)
6
6
  # TODO load in *actual* VERSION and CODENAME from homesteading/version
7
7
  # puts "Homesteading #{Homesteading::VERSION}, codename: #{Homesteading::CODENAME}"
8
- puts "Homesteading 0.0.6, codename: Rooftop"
8
+ puts "Homesteading 0.0.7, codename: Rooftop"
9
9
  end
10
10
 
11
11
  end
@@ -1,4 +1,4 @@
1
1
  module Homesteading
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  CODENAME = "Rooftop"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homesteading
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
@@ -38,7 +38,8 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.4'
41
- description: ''
41
+ description: The Homesteading CLI is used to create, update and deploy a constellation
42
+ of homesteading apps that together make up a website powered by Homesteading.
42
43
  email:
43
44
  - veganstraightedge@gmail.com
44
45
  executables: