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 +4 -4
- data/README.md +1 -1
- data/homesteading.gemspec +1 -1
- data/lib/homesteading/commands/new.rb +4 -0
- data/lib/homesteading/commands/update.rb +17 -1
- data/lib/homesteading/commands/version.rb +1 -1
- data/lib/homesteading/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 065ba3f96efe822d90b3e2286a7a886895d65c89
|
4
|
+
data.tar.gz: 171b01aa71ff33c86ae2c6cfb7760857f04d56fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b50d8ca4e815157b67a38a3b5bdacd9e7ca2e32f984501b60238cd72f6ca908d0a39e5bb468fff04fe7fac3123a0431a1299f5b9cdc29f1a4fe5584b2ec4230
|
7
|
+
data.tar.gz: f53932f1e082ffee548acecab2139da08e0e100f47087e1cad3db93d823ecfc376889b321c02966ac820aafb0edfeafef69e4c8f7ecda3bc5873894d3df8d706
|
data/README.md
CHANGED
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
|
|
@@ -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 "
|
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.
|
8
|
+
puts "Homesteading 0.0.7, codename: Rooftop"
|
9
9
|
end
|
10
10
|
|
11
11
|
end
|
data/lib/homesteading/version.rb
CHANGED
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.
|
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:
|