homesteading 0.0.5 → 0.0.6

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: 0039eb0fb194b6b8c19d748278c27cfb60ab7a7f
4
- data.tar.gz: c6c76b4084c08103105fd7c71175d164006cfaa6
3
+ metadata.gz: 3bce5c95c1b793a4efdeb6612243ea5e6048ae21
4
+ data.tar.gz: f6c2008d6acc03a144616ccf35a6abeeccea7b75
5
5
  SHA512:
6
- metadata.gz: a4d107d264fb358f59faffc5a244b36ef5f9eab4b48e691974bb75c870a12ecc680468df4d2ec231b656da05eda86650e569a42eb107dcc8564b4ff7ef98c9eb
7
- data.tar.gz: f12e726ffa5644405ab6d921491fea79f4141efd012f423696ac8f37be50d6ee5637cda388cf6800a0b8477b194ab3d3ea1d3db1867c7144d9de43d704470bcb
6
+ metadata.gz: df181a7ad426742833ebca5c576f9c1f08525d5576f34ed15984b406704c55be26712e39024322e3c5931028510f98c4fb695dab7d81582ab777ed07e4567a8c
7
+ data.tar.gz: f508575d0e77cc29b2609249ad15b26f5e3914ab502621c8e85c33d660311014862cfc5f74868bb551ae5a2e83bcfdaa86c2118350d317bde8d99482d4e51c92
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.5
15
+ 0.0.6
16
16
 
17
17
 
18
18
  ## Requirements
data/help/apps.md CHANGED
@@ -2,9 +2,6 @@ Usage: homesteading apps
2
2
 
3
3
  list your installed homesteading apps
4
4
 
5
- * -n, --nonpublisher : list running homesteading non-publisher apps (hub, router, etc)
6
- * -p, --publisher : list running homesteading publisher apps (note, photo, etc)
7
-
8
5
  Example:
9
6
 
10
7
  $ homesteading apps
@@ -13,7 +10,6 @@ Example:
13
10
  note
14
11
  photo
15
12
  video
16
-
17
13
  === Non-Publisher Apps
18
14
  hub
19
15
  router
@@ -21,8 +17,9 @@ Example:
21
17
 
22
18
  Additional commands, type "homesteading help COMMAND" for more details:
23
19
 
24
- * apps:create --app HS_APP : create a new app from @homesteading on GitHub
25
- * apps:create --url URL : create a new app from a URL
26
- * apps:destroy --app APP : permanently destroy an app
27
- * apps:info --app APP : show detailed app information (from app.json)
28
- * apps:rename NEWNAME --app APP : rename the app
20
+ * apps:create --app HS_APP : create a new app from @homesteading on GitHub
21
+ * apps:create --url URL : create a new app from a URL
22
+ * apps:destroy --app APP : permanently destroy an app
23
+ * apps:info --app APP : show detailed app information (from app.json)
24
+ * apps:rename NEWNAME --app APP : change the app name
25
+ * apps:reroute NEWROUTE --app APP : change the app route
data/help/deploy.md CHANGED
@@ -1,12 +1,7 @@
1
- # TODO
2
-
3
1
  Usage: homesteading deploy
4
2
 
5
3
  deploy your constellation of homesteading apps to remote host
6
4
 
7
- * -n, --nonpublisher : list running homesteading non-publisher apps (hub, router, etc)
8
- * -p, --publisher : list running homesteading publisher apps (note, photo, etc)
9
-
10
5
  Example:
11
6
 
12
7
  $ homesteading deploy
data/help/server.md CHANGED
@@ -21,7 +21,5 @@ Example:
21
21
  Additional commands, type "homesteading help COMMAND" for more details:
22
22
 
23
23
  * server:list # list the currently running homesteading apps
24
- * server:nonpublisher # start a only non-publisher apps
25
- * server:publisher # start a only publisher apps
26
24
  * server:stop [--app APP] # stop a constellation or a specific app
27
25
  * server:urls [--app APP] # list the urls of running apps
@@ -1,18 +1,18 @@
1
- Usage: homesteading update:system
1
+ Usage: homesteading update:client
2
2
 
3
3
  update the homesteading client
4
4
 
5
5
  Example:
6
6
 
7
- $ homesteading update:system
7
+ $ homesteading update:client
8
8
  Updating... done, 1.0.0 updated to 1.0.3
9
9
 
10
10
 
11
- Usage: homesteading update:system --beta
11
+ Usage: homesteading update:client --beta
12
12
 
13
13
  update to the latest beta client
14
14
 
15
15
  Example:
16
16
 
17
- $ homesteading update:system --beta
17
+ $ homesteading update:client --beta
18
18
  Updating... done, v2.3.1 updated to v2.3.4.pre
data/help/update.md CHANGED
@@ -5,23 +5,34 @@ Usage: homesteading update
5
5
  Example:
6
6
 
7
7
  $ homesteading update
8
- Updating article... done.
9
- Updating bookmark... done.
10
- Updating event... done.
11
- Updating feed... done.
12
- Updating hub... done.
13
- Updating note... done.
14
- Updating photo... done.
15
- Updating router... done.
16
- Updating sound... done.
17
- Updating syndicator... done.
18
- Updating video... done.
19
- Updating walk... done.
20
- Updating weight... done.
8
+ Updating article...
9
+ ...done
10
+ Updating bookmark...
11
+ ...done
12
+ Updating event...
13
+ ...done
14
+ Updating feed...
15
+ ...done
16
+ Updating hub...
17
+ ...done
18
+ Updating note...
19
+ ...done
20
+ Updating photo...
21
+ ...done
22
+ Updating router...
23
+ ...done
24
+ Updating sound...
25
+ ...done
26
+ Updating syndicator...
27
+ ...done
28
+ Updating video...
29
+ ...done
30
+ Updating walk...
31
+ ...done
32
+ Updating weight...
33
+ ...done
21
34
 
22
35
 
23
36
  Additional commands, type "homesteading help COMMAND" for more details:
24
37
 
25
- * update:nonpublisher : update only non-publisher apps
26
- * update:publisher : update only publisher apps
27
- * update:system : update the homesteading client
38
+ * update:client : update the homesteading client
@@ -8,12 +8,6 @@ class Homesteading
8
8
  def list(options=nil)
9
9
  end
10
10
 
11
- def nonpublisher(options=nil)
12
- end
13
-
14
- def publisher(options=nil)
15
- end
16
-
17
11
  def stop(options=nil)
18
12
  # TEMP HACK TODO FIXME
19
13
  # This is overly aggressive, but the above kill isn't working
@@ -5,13 +5,25 @@ class Homesteading
5
5
  def default(options=nil)
6
6
  end
7
7
 
8
- def nonpublisher(options=nil)
9
- end
8
+ def client(options=nil)
9
+ puts
10
10
 
11
- def publisher(options=nil)
12
- end
11
+ # Parse command line options
12
+ options = {}
13
+ optparse = OptionParser.new do |opts|
14
+ opts.on("-b", "--beta", "Update to the latest beta Homesteading CLI") do |beta|
15
+ options[:beta] = beta
16
+ end
17
+ end
18
+ optparse.parse!
19
+
20
+ if options[:beta]
21
+ puts "pull from github"
22
+ else
23
+ system "gem install homesteading"
24
+ end
13
25
 
14
- def system(options=nil)
26
+ puts
15
27
  end
16
28
  end
17
29
  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.5, codename: Rooftop"
8
+ puts "Homesteading 0.0.6, codename: Rooftop"
9
9
  end
10
10
 
11
11
  end
@@ -1,4 +1,4 @@
1
1
  module Homesteading
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
@@ -66,14 +66,10 @@ files:
66
66
  - help/new.md
67
67
  - help/run.md
68
68
  - help/server-list.md
69
- - help/server-nonpublisher.md
70
- - help/server-publisher.md
71
69
  - help/server-stop.md
72
70
  - help/server-urls.md
73
71
  - help/server.md
74
- - help/update-nonpublisher.md
75
- - help/update-publisher.md
76
- - help/update-system.md
72
+ - help/update-client.md
77
73
  - help/update.md
78
74
  - help/version.md
79
75
  - homesteading.gemspec
@@ -1,3 +0,0 @@
1
- # TODO:
2
-
3
- Usage: homesteading server:nonpublisher
@@ -1,3 +0,0 @@
1
- # TODO:
2
-
3
- Usage: homesteading server:publisher
@@ -1,2 +0,0 @@
1
- # TODO:
2
-
@@ -1,2 +0,0 @@
1
- # TODO:
2
-