handsome_fencer-circle_c_i 0.1.15 → 0.1.17
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51d6352c968c37c843273af6bd19aeca2bad0f3191f97eaad6ac81e4c7e60cc5
|
4
|
+
data.tar.gz: 885aea28649d1f8a3ac765e75b841fd0ea9eea8746eb497deb79f7791238f26d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57e5277b7ee6e3e9571284f3c4a7746b4cdcf0881241770322740321f84ce8a2b1f61a3cebeed244f8139f93569bac53568e040e0e1039ebdfe39392d781355b
|
7
|
+
data.tar.gz: f2d12c638fa19312f586dfb2ede52946818339ac2c74d9494ae4821dd878f3baa800ee3ba4acf6c7189d83870ee1855a69c0a135ec63f4b7b3709552ed709149
|
@@ -1,30 +1,31 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'handsome_fencer/circle_c_i/cli/hn'
|
3
3
|
|
4
|
+
module HandsomeFencer
|
5
|
+
module CircleCI
|
6
|
+
class HammerOfTheGods < Thor
|
7
|
+
desc "hello NAME", "This will greet you"
|
8
|
+
long_desc <<-HELLO_WORLD
|
4
9
|
|
5
|
-
|
6
|
-
class HammerOfTheGods < Thor
|
7
|
-
desc "hello NAME", "This will greet you"
|
8
|
-
long_desc <<-HELLO_WORLD
|
10
|
+
`hello NAME` will print out a message to the person of your choosing.
|
9
11
|
|
10
|
-
|
12
|
+
Brian Kernighan actually wrote the first "Hello, World!" program
|
13
|
+
as part of the documentation for the BCPL programming language
|
14
|
+
developed by Martin Richards. BCPL was used while C was being
|
15
|
+
developed at Bell Labs a few years before the publication of
|
16
|
+
Kernighan and Ritchie's C book in 1972.
|
11
17
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
18
|
+
http://stackoverflow.com/a/12785204
|
19
|
+
HELLO_WORLD
|
20
|
+
option :upcase
|
21
|
+
def hello( name )
|
22
|
+
greeting = "Hello, #{name}"
|
23
|
+
greeting.upcase! if options[:upcase]
|
24
|
+
puts greeting
|
25
|
+
end
|
17
26
|
|
18
|
-
|
19
|
-
|
20
|
-
option :upcase
|
21
|
-
def hello( name )
|
22
|
-
greeting = "Hello, #{name}"
|
23
|
-
greeting.upcase! if options[:upcase]
|
24
|
-
puts greeting
|
27
|
+
desc "hn COMMANDS", "Hacker News Control Module"
|
28
|
+
subcommand "hn", HandsomeFencer::CircleCI::CLI::Hn
|
25
29
|
end
|
26
|
-
|
27
|
-
desc "hn COMMANDS", "Hacker News Control Module"
|
28
|
-
subcommand "hn", Socialinvestigator::CLI::Hn
|
29
30
|
end
|
30
31
|
end
|
@@ -1,10 +1,12 @@
|
|
1
|
-
module
|
2
|
-
module
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
module HandsomeFencer
|
2
|
+
module CircleCI
|
3
|
+
module CLI
|
4
|
+
class Hn < Thor
|
5
|
+
desc "search URL", "Search hn.algolia.com for a url mentioned on Hackernews"
|
6
|
+
option :tags
|
7
|
+
def search( url )
|
8
|
+
puts "Looks like you are looking for #{url} with tags #{options[:tags]}"
|
9
|
+
end
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handsome_fencer-circle_c_i
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schadenfred
|
@@ -98,13 +98,15 @@ description: Obfuscate sensitive data in source control, expose it again for cir
|
|
98
98
|
and then deploy
|
99
99
|
email:
|
100
100
|
- fred.schoeneman@gmail.com
|
101
|
-
executables:
|
101
|
+
executables:
|
102
|
+
- handsome_fencer-circle_c_i
|
102
103
|
extensions: []
|
103
104
|
extra_rdoc_files: []
|
104
105
|
files:
|
105
106
|
- MIT-LICENSE
|
106
107
|
- README.md
|
107
108
|
- Rakefile
|
109
|
+
- bin/handsome_fencer-circle_c_i
|
108
110
|
- lib/Rakefile
|
109
111
|
- lib/generators/handsome_fencer.rb
|
110
112
|
- lib/generators/handsome_fencer/circle_c_i/deploy_key_generator.rb
|