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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7546590c3972a1011faea32b3d920ef2efcce5aa651bf1bee8b2309eb9773a0
4
- data.tar.gz: c8129ccc82c513bee94ae8beb97cfea2eef2be459b5693252430da6051ddee99
3
+ metadata.gz: d9b32cea02fd5e25f29c691185ccbce7ab747441ec5925ec92bfa55320fa91a5
4
+ data.tar.gz: d13b7e0b4b300eb3ba9d77e9625d8db2d00a9a47e21ee702b0be35057e1b85dd
5
5
  SHA512:
6
- metadata.gz: 74b06f4e150c63e4359f26620003523775d304dcb83d3c4d4feae16aa1d1234d66d4cf4b99019b7ea342f00e5854e44f6ffd9726199f5a8da4ca6e370326f26d
7
- data.tar.gz: 8adab37499d34b8097fc827d6edc3fe33e87eac157fe76941cc29905b4b428e9caa6964f18a871d8b997ade0616e2b72507fd88d67bb23ce85529a7ecae8daab
6
+ metadata.gz: 02b45f86572c014240a68239b62bc8ccf0de11de761f97bff2f7f5c892a2d88b744af5ac23cd3f68e916abc7b18c05be14ac82c73edc07e9e17d9ee261fb1075
7
+ data.tar.gz: e407e0222430dfc7a86e335993badca296d0ad8537667ecae8613df5828c6b0d7b7ec76709312b931fdd62b3f843510f36d6ad480d66c3392a150df67a223696
@@ -1,5 +1,5 @@
1
1
  require 'thor'
2
- require 'orphic/cli/hn'
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 "hn COMMANDS", "Hacker News Control Module"
19
- subcommand "hn", Orphic::OrphicCli::Hn
18
+ desc "node COMMANDS", "Node.JS Commands"
19
+ subcommand "node", Orphic::OrphicCli::Node
20
20
  end
21
21
  end
@@ -0,0 +1,11 @@
1
+ module Orphic
2
+ module OrphicCli
3
+ class Node < Thor
4
+ desc "help COMMAND", "Get help for the Orphic Node.JS CLI"
5
+ option :tags
6
+ def help ( command )
7
+ puts "Looks like you are looking for #{command} with tags #{options[:tags]}"
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Orphic
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-10-31 00:00:00.000000000 Z
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/hn.rb
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.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: []
@@ -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