skellington 0.4.10 → 0.4.11
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/lib/skellington/cli.rb +23 -15
- data/lib/skellington/version.rb +1 -1
- data/spec/cli_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ad84cc35ff3599d275b6fb9dbc248ff737ee597
|
|
4
|
+
data.tar.gz: a1b70773984a5014d8c16c0eed68b320266d50f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b9767cfd6f22a9076bced97c0f27f70e94b227f5da053743e766361e47aaa5da0b9144369f0c132ee369db4e8e17d63e75746392d9f49fa88e36a49d76097f3
|
|
7
|
+
data.tar.gz: 91e606fcd6329a64c7b97b93965818159a7e0df93da8db87c27d414f9252fd553747645d5aec9a9559a75ab958cde94ce5e808e45ed70fa81e396f4a8193bd3a
|
data/lib/skellington/cli.rb
CHANGED
|
@@ -18,22 +18,30 @@ module Skellington
|
|
|
18
18
|
|
|
19
19
|
desc 'postinstall', 'Show some helpful hints'
|
|
20
20
|
def postinstall
|
|
21
|
-
s =
|
|
22
|
-
|
|
23
|
-
s << '* Set up continuous integration in Travis:'
|
|
24
|
-
s << "\n\n"
|
|
25
|
-
s << ' travis init'
|
|
26
|
-
s << "\n\n"
|
|
27
|
-
s << '* Configure a Heroku app:'
|
|
28
|
-
s << "\n\n"
|
|
29
|
-
s << " heroku apps:create YOUR-APP-NAME-HERE --region=eu"
|
|
30
|
-
s << "\n\n"
|
|
31
|
-
s << '* Get Travis to continuously deploy to Heroku:'
|
|
32
|
-
s << "\n\n"
|
|
33
|
-
s << ' travis setup heroku'
|
|
34
|
-
s << "\n\n"
|
|
35
|
-
s << "(This all depends on you having Travis and Heroku installed and configured)"
|
|
21
|
+
s = <<HEREDOC
|
|
22
|
+
Some other things you might find useful (sweeten to taste):
|
|
36
23
|
|
|
24
|
+
* Set up continuous integration in Travis:
|
|
25
|
+
|
|
26
|
+
gem install travis
|
|
27
|
+
travis init
|
|
28
|
+
git add .travis.yml
|
|
29
|
+
|
|
30
|
+
* Configure a Heroku app:
|
|
31
|
+
|
|
32
|
+
gem install heroku
|
|
33
|
+
heroku apps:create YOUR-APP-NAME-HERE --region=eu
|
|
34
|
+
|
|
35
|
+
* Get Travis to continuously deploy to Heroku:
|
|
36
|
+
|
|
37
|
+
travis setup heroku
|
|
38
|
+
|
|
39
|
+
* Add some badges to your README
|
|
40
|
+
|
|
41
|
+
gem install badgerbadgerbadger
|
|
42
|
+
badger > README.md
|
|
43
|
+
git add README.md
|
|
44
|
+
HEREDOC
|
|
37
45
|
puts s
|
|
38
46
|
end
|
|
39
47
|
end
|
data/lib/skellington/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED
|
@@ -47,15 +47,24 @@ For post-install hints, try
|
|
|
47
47
|
|
|
48
48
|
\* Set up continuous integration in Travis:
|
|
49
49
|
|
|
50
|
+
gem install travis
|
|
50
51
|
travis init
|
|
52
|
+
git add .travis.yml
|
|
51
53
|
|
|
52
54
|
\* Configure a Heroku app:
|
|
53
55
|
|
|
56
|
+
gem install heroku
|
|
54
57
|
heroku apps:create YOUR-APP-NAME-HERE --region=eu
|
|
55
58
|
|
|
56
59
|
\* Get Travis to continuously deploy to Heroku:
|
|
57
60
|
|
|
58
61
|
travis setup heroku
|
|
62
|
+
|
|
63
|
+
\* Add some badges to your README
|
|
64
|
+
|
|
65
|
+
gem install badgerbadgerbadger
|
|
66
|
+
badger > README.md
|
|
67
|
+
git add README.md
|
|
59
68
|
/).to_stdout
|
|
60
69
|
end
|
|
61
70
|
end
|