orphic 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orphic/cli.rb +3 -3
- data/lib/orphic/cli/node.rb +11 -0
- data/lib/orphic/version.rb +1 -1
- metadata +4 -4
- data/lib/orphic/cli/hn.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9b32cea02fd5e25f29c691185ccbce7ab747441ec5925ec92bfa55320fa91a5
|
4
|
+
data.tar.gz: d13b7e0b4b300eb3ba9d77e9625d8db2d00a9a47e21ee702b0be35057e1b85dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02b45f86572c014240a68239b62bc8ccf0de11de761f97bff2f7f5c892a2d88b744af5ac23cd3f68e916abc7b18c05be14ac82c73edc07e9e17d9ee261fb1075
|
7
|
+
data.tar.gz: e407e0222430dfc7a86e335993badca296d0ad8537667ecae8613df5828c6b0d7b7ec76709312b931fdd62b3f843510f36d6ad480d66c3392a150df67a223696
|
data/lib/orphic/cli.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'thor'
|
2
|
-
require 'orphic/cli/
|
2
|
+
require 'orphic/cli/node'
|
3
3
|
|
4
4
|
module Orphic
|
5
5
|
class Mjolnir < Thor
|
@@ -15,7 +15,7 @@ module Orphic
|
|
15
15
|
greeting.upcase! if options[:upcase]
|
16
16
|
puts greeting
|
17
17
|
end
|
18
|
-
desc "
|
19
|
-
subcommand "
|
18
|
+
desc "node COMMANDS", "Node.JS Commands"
|
19
|
+
subcommand "node", Orphic::OrphicCli::Node
|
20
20
|
end
|
21
21
|
end
|
data/lib/orphic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orphic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle OBrien
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -159,7 +159,7 @@ files:
|
|
159
159
|
- exe/orphic
|
160
160
|
- lib/orphic.rb
|
161
161
|
- lib/orphic/cli.rb
|
162
|
-
- lib/orphic/cli/
|
162
|
+
- lib/orphic/cli/node.rb
|
163
163
|
- lib/orphic/version.rb
|
164
164
|
- orphic.gemspec
|
165
165
|
homepage: https://orphic.enterprises/orphic-cli
|
@@ -169,7 +169,7 @@ metadata:
|
|
169
169
|
bug_tracker_uri: https://github.com/orphic-inc/ruby-orphic-cli/issues
|
170
170
|
changlog_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/CHANGELOG.md
|
171
171
|
documentation_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/README.md
|
172
|
-
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.
|
172
|
+
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.2
|
173
173
|
wiki_uri: https://github.com/orphic-inc/ruby-orphic-cli/wiki
|
174
174
|
post_install_message:
|
175
175
|
rdoc_options: []
|
data/lib/orphic/cli/hn.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
module Orphic
|
2
|
-
module OrphicCli
|
3
|
-
class Hn < Thor
|
4
|
-
desc "search URL", "Search hn.algolia.com for a url mentioned on Hackernews"
|
5
|
-
option :tags
|
6
|
-
def search ( url )
|
7
|
-
puts "Looks like you are looking for #{url} with tags #{options[:tags]}"
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|