homesteading 0.3.3 → 0.3.4

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: 677ff8d6429894cd5fdb3d01b9fec01e429c2dc3
4
- data.tar.gz: 03cb16bba9330df280762bf9e3b333a6a8ce52bd
3
+ metadata.gz: 68d7781170e5197f841632afdab2875e70bc5e20
4
+ data.tar.gz: 912ba28ae746e6c51b2befb8c55bb3c738f9f331
5
5
  SHA512:
6
- metadata.gz: 5d89c41e189593685fe3d74f8e897e4019317c13e6510085e4be09607ddf5b88698ca14e718bc48ffbda7cbab9ff4ad39659143ebef06fc8b4be6c71af31f406
7
- data.tar.gz: 261cd0329108c01dc0cdf9f3fdb801b96ddfc660f759ed9bc290c510160ac54cac55fc15504cdd5f35583e08da572a67650d8378da667ce22d7fdbc7868161d7
6
+ metadata.gz: 3d4e7d94ae3991df437f1bfa18a136ab19923378802491ff17df242d4060e728db3639ec88a6665d89e0b1681ed9b95bb99d801355c5f4decb529232159e0d68
7
+ data.tar.gz: 0c6a893032e3339ae2409c1582864cdcc58df564cb447e6f791e714f56bb9fca2d2868663f37f37b381eba0bc6a8171f6bbff582d068d1a9d90d3f8766dbdf8e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- homesteading (0.3.3)
4
+ homesteading (0.3.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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.3.3
15
+ 0.3.4
16
16
 
17
17
 
18
18
  ## Code Status
@@ -0,0 +1,9 @@
1
+ Usage: homesteading routes:push
2
+
3
+ sets routes env variable on remote host
4
+
5
+ Example:
6
+
7
+ $ homesteading routes:push
8
+ * Setting remote routes env variable from homesteading.json...
9
+ * ...done
@@ -0,0 +1,15 @@
1
+ Usage: homesteading routes:set
2
+
3
+ creates local routes file for homesteading apps
4
+
5
+ Example:
6
+
7
+ $ homesteading routes:set
8
+ * Reading app.json files from homesteading apps
9
+ * ...done
10
+
11
+ * Merging default routes with custom routes
12
+ * ...done
13
+
14
+ * Saving homesteading.json...
15
+ * ...done
data/help/routes.md ADDED
@@ -0,0 +1,24 @@
1
+ Usage: homesteading routes
2
+
3
+ start a server for constellation of homesteading apps
4
+
5
+ Example:
6
+
7
+ $ homesteading routes
8
+ * / : myprefix-feed.herokuapp.com
9
+ * article : myprefix-article.herokuapp.com
10
+ * bookmark : myprefix-bookmark.herokuapp.com
11
+ * event : myprefix-event.herokuapp.com
12
+ * hub : myprefix-hub.herokuapp.com
13
+ * note : myprefix-note.herokuapp.com
14
+ * photo : myprefix-photo.herokuapp.com
15
+ * sound : myprefix-sound.herokuapp.com
16
+ * video : myprefix-video.herokuapp.com
17
+ * walk : myprefix-walk.herokuapp.com
18
+ * weight : myprefix-weight.herokuapp.com
19
+
20
+
21
+ Additional commands, type "homesteading help COMMAND" for more details:
22
+
23
+ * routes:set # creates local routes file for homesteading apps
24
+ * routes:push # sets routes env variable on remote host
@@ -0,0 +1,16 @@
1
+ require "homesteading/command"
2
+
3
+ module Homesteading
4
+ class Routes < Command
5
+ register "routes"
6
+
7
+ def default
8
+ end
9
+
10
+ def set
11
+ end
12
+
13
+ def push
14
+ end
15
+ end
16
+ end
@@ -58,7 +58,7 @@ module Homesteading
58
58
 
59
59
  unless app_name == "homesteading-router-rack"
60
60
  app_port += 1
61
- routes << "#{app_path}:#{app_port}"
61
+ routes << "#{app_path}@@@localhost:#{app_port}"
62
62
  end
63
63
 
64
64
  if app_name =~ /homesteading-router-rack/
@@ -1,4 +1,4 @@
1
1
  module Homesteading
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  CODENAME = "The Rooftop Series"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homesteading
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-28 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The Homesteading CLI is used to create, update and deploy a constellation
14
14
  of homesteading apps that together make up a website powered by Homesteading.
@@ -41,6 +41,9 @@ files:
41
41
  - help/deploy.md
42
42
  - help/init.md
43
43
  - help/new.md
44
+ - help/routes-push.md
45
+ - help/routes-set.md
46
+ - help/routes.md
44
47
  - help/run.md
45
48
  - help/server-stop.md
46
49
  - help/server.md
@@ -55,6 +58,7 @@ files:
55
58
  - lib/homesteading/commands/help.rb
56
59
  - lib/homesteading/commands/init.rb
57
60
  - lib/homesteading/commands/new.rb
61
+ - lib/homesteading/commands/routes.rb
58
62
  - lib/homesteading/commands/run.rb
59
63
  - lib/homesteading/commands/server.rb
60
64
  - lib/homesteading/commands/update.rb