homesteading 0.6.1 → 1.0
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 +4 -4
- data/README.md +5 -98
- data/bin/homesteading +3 -41
- data/help/version.md +1 -1
- data/homesteading.gemspec +3 -3
- data/lib/homesteading/commands/new.rb +5 -4
- data/lib/homesteading/version.rb +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16b0d06d426752ceae704b6d4cd84a904aeb2776
|
4
|
+
data.tar.gz: 01b88c7a33abd25ddb92745cdf1a72c67d4d6cd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab521f4536cc64f24bff3c838947aa4e27ee456f0d6f8d20c147689d01227a1b992e76831148afb6e51b012ef78b59539c9374e3d9aa0266c5dfa181b9252a00
|
7
|
+
data.tar.gz: 278d649af61d3a95456a81f9f43894e25aa0a59405dc171c5566cb3e1b0e769c55756bd29e4a967fc48a400302a97e9c1433ee08cdf6c36e7a2449265c7131d0
|
data/README.md
CHANGED
@@ -1,102 +1,9 @@
|
|
1
1
|
# Homesteading
|
2
2
|
|
3
|
-
|
3
|
+
# Status
|
4
4
|
|
5
|
+
**RETIRED**.
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
See the [/help](https://github.com/homesteading/homesteading/tree/master/help) directory for more.
|
11
|
-
|
12
|
-
|
13
|
-
## Current Version
|
14
|
-
|
15
|
-
0.6.1
|
16
|
-
|
17
|
-
|
18
|
-
## Code Status
|
19
|
-
|
20
|
-
[](http://badge.fury.io/rb/homesteading)
|
21
|
-
[](https://gemnasium.com/homesteading/homesteading)
|
22
|
-
[](https://travis-ci.org/homesteading/homesteading)
|
23
|
-
[](https://codeclimate.com/github/homesteading/homesteading)
|
24
|
-
|
25
|
-
|
26
|
-
## Requirements
|
27
|
-
|
28
|
-
- [ruby](http://ruby-lang.org)
|
29
|
-
- [rubygems](https://rubygems.org)
|
30
|
-
- [bundler](http://bundler.io)
|
31
|
-
- [rake](https://github.com/jimweirich/rake)
|
32
|
-
|
33
|
-
|
34
|
-
## Installation
|
35
|
-
|
36
|
-
```ruby
|
37
|
-
gem install homesteading
|
38
|
-
```
|
39
|
-
|
40
|
-
|
41
|
-
## Usage
|
42
|
-
|
43
|
-
To get started:
|
44
|
-
|
45
|
-
```bash
|
46
|
-
homesteading new path/to/install/location
|
47
|
-
cd path/to/install/location
|
48
|
-
homesteading server
|
49
|
-
```
|
50
|
-
|
51
|
-
You can alias `homesteading` to `hs` for shorter commands:
|
52
|
-
|
53
|
-
```bash
|
54
|
-
alias hs="homesteading"
|
55
|
-
```
|
56
|
-
|
57
|
-
|
58
|
-
## Tests
|
59
|
-
|
60
|
-
Run specs with:
|
61
|
-
|
62
|
-
```bash
|
63
|
-
bundle exec rake
|
64
|
-
```
|
65
|
-
|
66
|
-
Or run guard to autorun specs:
|
67
|
-
|
68
|
-
```bash
|
69
|
-
bundle exec guard
|
70
|
-
```
|
71
|
-
|
72
|
-
|
73
|
-
## Authors
|
74
|
-
|
75
|
-
* Shane Becker / [@veganstraightedge](https:github.com/veganstraightedge)
|
76
|
-
* Evan Phoenix / [@evanphx](https:github.com/evanphx)
|
77
|
-
* Bookis Smuin / [@bookis](https:github.com/bookis)
|
78
|
-
|
79
|
-
|
80
|
-
## Contributions
|
81
|
-
|
82
|
-
1. Fork it
|
83
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
84
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
85
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
86
|
-
5. Create new Pull Request
|
87
|
-
|
88
|
-
If you find bugs, have feature requests or questions, please
|
89
|
-
[file an issue](https://github.com/homesteading/homesteading/issues).
|
90
|
-
|
91
|
-
|
92
|
-
## License
|
93
|
-
|
94
|
-
**PUBLIC DOMAIN**
|
95
|
-
|
96
|
-
Your heart is as free as the air you breathe. <br>
|
97
|
-
The ground you stand on is liberated territory.
|
98
|
-
|
99
|
-
In legal text, The Homesteading CLI is dedicated to the public domain
|
100
|
-
using Creative Commons -- CC0 1.0 Universal.
|
101
|
-
|
102
|
-
[http://creativecommons.org/publicdomain/zero/1.0](http://creativecommons.org/publicdomain/zero/1.0 "Creative Commons — CC0 1.0 Universal")
|
7
|
+
The Homesteading CLI is retired.
|
8
|
+
Homesteading has changed to [Dark Matter](http://darkmatterapp.com).
|
9
|
+
Use Dark Matter instead.
|
data/bin/homesteading
CHANGED
@@ -6,44 +6,6 @@ require "yaml"
|
|
6
6
|
require "homesteading/command"
|
7
7
|
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
require f
|
13
|
-
end
|
14
|
-
|
15
|
-
# require some command input
|
16
|
-
if ARGV.empty?
|
17
|
-
Homesteading::Help.new.print("blank")
|
18
|
-
Homesteading::Help.new.default
|
19
|
-
exit 1
|
20
|
-
end
|
21
|
-
|
22
|
-
# special case for `hs -v` alias for `hs version`
|
23
|
-
if ARGV.first.match(/-[vV]/)
|
24
|
-
Homesteading::Version.new.default
|
25
|
-
exit 0
|
26
|
-
end
|
27
|
-
|
28
|
-
# normal flow
|
29
|
-
command_subcommand = ARGV.shift.match(/^(\w+)(:*)(\w*)$/)
|
30
|
-
command = command_subcommand[1]
|
31
|
-
klass = Homesteading::Command.create(command)
|
32
|
-
|
33
|
-
unless klass
|
34
|
-
puts
|
35
|
-
puts "* Unknown command: #{command_subcommand}"
|
36
|
-
puts
|
37
|
-
exit 1
|
38
|
-
end
|
39
|
-
|
40
|
-
subcommand = command_subcommand[2] == ":" ? command_subcommand[3] : "default"
|
41
|
-
|
42
|
-
if klass.class.public_method_defined?(subcommand.to_sym)
|
43
|
-
klass.send(subcommand.to_sym)
|
44
|
-
else
|
45
|
-
puts
|
46
|
-
puts "* Undefined subcommand: #{command_subcommand}"
|
47
|
-
puts
|
48
|
-
exit 1
|
49
|
-
end
|
9
|
+
puts "Homesteading is RETIRED."
|
10
|
+
puts "Use Dark Matter instead."
|
11
|
+
puts "http://darkmatterapp.com"
|
data/help/version.md
CHANGED
data/homesteading.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Homesteading::VERSION
|
9
9
|
spec.authors = ["Shane Becker", "Bookis Smuin"]
|
10
10
|
spec.email = ["veganstraightedge@gmail.com", "bookis.smuin@gmail.com"]
|
11
|
-
spec.summary = "
|
12
|
-
spec.description = "The Homesteading CLI is
|
13
|
-
spec.homepage = "http://
|
11
|
+
spec.summary = "The Homesteading CLI is retired. Homesteading has changed to Dark Matter."
|
12
|
+
spec.description = "The Homesteading CLI is retired. Homesteading has changed to Dark Matter."
|
13
|
+
spec.homepage = "http://darkmatterapp.com"
|
14
14
|
spec.license = "Public Domain, CC0"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -5,9 +5,10 @@ module Homesteading
|
|
5
5
|
class New < Command
|
6
6
|
register "new"
|
7
7
|
|
8
|
-
# PUBLISHER_APPS
|
9
|
-
PUBLISHER_APPS
|
10
|
-
|
8
|
+
# PUBLISHER_APPS = ["article", "bookmark", "event", "note", "photo", "sound", "video", "walk", "weight"]
|
9
|
+
PUBLISHER_APPS = ["publisher-note"] # TODO drop pub- prefix
|
10
|
+
SUBSCRIBER_APPS = ["subscriber-feed"] # TODO drop sub- prefix
|
11
|
+
HUB_APPS = ["router-rack"] # TODO "hub", "syndicator"
|
11
12
|
|
12
13
|
def default
|
13
14
|
puts
|
@@ -33,7 +34,7 @@ module Homesteading
|
|
33
34
|
end
|
34
35
|
|
35
36
|
# Apps to install
|
36
|
-
apps = [
|
37
|
+
apps = [HUB_APPS, PUBLISHER_APPS, SUBSCRIBER_APPS].flatten
|
37
38
|
if options[:only]
|
38
39
|
apps = options[:only].split(",").map { |a| a.downcase }
|
39
40
|
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
|
4
|
+
version: '1.0'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Becker
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: git
|
@@ -39,8 +39,7 @@ dependencies:
|
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '2.11'
|
42
|
-
description: The Homesteading CLI is
|
43
|
-
of Homesteading apps that together make up a website powered by Homesteading.
|
42
|
+
description: The Homesteading CLI is retired. Homesteading has changed to Dark Matter.
|
44
43
|
email:
|
45
44
|
- veganstraightedge@gmail.com
|
46
45
|
- bookis.smuin@gmail.com
|
@@ -99,7 +98,7 @@ files:
|
|
99
98
|
- spec/homesteading_spec.rb
|
100
99
|
- spec/spec_helper.rb
|
101
100
|
- spec/support/test_command.rb
|
102
|
-
homepage: http://
|
101
|
+
homepage: http://darkmatterapp.com
|
103
102
|
licenses:
|
104
103
|
- Public Domain, CC0
|
105
104
|
metadata: {}
|
@@ -119,10 +118,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
118
|
version: '0'
|
120
119
|
requirements: []
|
121
120
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.5.1
|
123
122
|
signing_key:
|
124
123
|
specification_version: 4
|
125
|
-
summary:
|
124
|
+
summary: The Homesteading CLI is retired. Homesteading has changed to Dark Matter.
|
126
125
|
test_files:
|
127
126
|
- spec/homesteading/command_spec.rb
|
128
127
|
- spec/homesteading/commands/help_spec.rb
|