orphic 0.1.5 → 0.1.6

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: c2560534daf2a7cf6e71ae498b699bdc02ffd93ec2e6fa67aadd909a9eab4711
4
- data.tar.gz: ebb96f300f6ac44a12976ba705146bc072282a6ad014037d435fe58ea54221af
3
+ metadata.gz: a3d05719f7ce5f1fbbb63421899632cc7522ed4dc99cd5022363e6ec2301e34d
4
+ data.tar.gz: 715f6405012ea276701c1816257837fab7a37b39b8c8001bf966ab370e9ac15b
5
5
  SHA512:
6
- metadata.gz: c6627982ad5901071d7f4392c49a72a82d35b4f3abc70172c969f3bdee620475064a7eb23defc0e7080c0ef3f51bd20504e95f8d9ca4da6059757a0d01258c4e
7
- data.tar.gz: 0f8c58cef66df787221045e8e9387a20ab91993773565a3151b5ea00a0143557b3d4bbc63bbd934a7ef53654cd265e8a29a53e76e379e980429c8fa057f88745
6
+ metadata.gz: e072c21c875c0a160c3d4534d34a661a672eca713ec6220cfbb320d6a80b75cd25d6359d5392f14a3ee811c200dd312ab6ba0fe60d0ca8823268666b33c61136
7
+ data.tar.gz: 1c5acc99a5484c34cb2cd15f1e7dd8ef5b3bb7873d0192258313b2822f4802e84b1066abb4578516665ca6a52ba6c7cffc68cd1926cb7d7a5438000975e2763c
@@ -1,6 +1,7 @@
1
+ # Orphic's Ruby CLI
1
2
  # Contributor Covenant Code of Conduct
2
3
 
3
- ## Our Pledge
4
+ ## Orphic's Pledge
4
5
 
5
6
  In the interest of fostering an open and welcoming environment, we as
6
7
  contributors and maintainers pledge to making participation in our project and
@@ -31,7 +32,7 @@ advances
31
32
  * Other conduct which could reasonably be considered inappropriate in a
32
33
  professional setting
33
34
 
34
- ## Our Responsibilities
35
+ ## Orphic Responsibilities
35
36
 
36
37
  Project maintainers are responsible for clarifying the standards of acceptable
37
38
  behavior and are expected to take appropriate and fair corrective action in
@@ -55,7 +56,7 @@ further defined and clarified by project maintainers.
55
56
  ## Enforcement
56
57
 
57
58
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at obrienk@webbhost.net. All
59
+ reported by contacting the project team at cli@orphic.enterprises. All
59
60
  complaints will be reviewed and investigated and will result in a response that
60
61
  is deemed necessary and appropriate to the circumstances. The project team is
61
62
  obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -72,3 +73,7 @@ available at [https://contributor-covenant.org/version/1/4][version]
72
73
 
73
74
  [homepage]: https://contributor-covenant.org
74
75
  [version]: https://contributor-covenant.org/version/1/4/
76
+
77
+ ## License
78
+
79
+ Orphic Ruby CLI License info can be found [here](https://github.com/orphic-inc/ruby-orphic-cli/LICENSE).
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Kyle OBrien
3
+ Copyright (c) 2020 Orphic Enterprises
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/bin/setup CHANGED
@@ -6,3 +6,32 @@ set -vx
6
6
  bundle install
7
7
 
8
8
  # Do any other automated setup that you need to do here
9
+ # Install nvm, brew, and checkout-js from bash
10
+ # Checks git status first to test for git
11
+ /bin/bash -c "$(git status)"
12
+
13
+ # If you don't see a git status reflected as a test
14
+ # You're doing it wrong, need git installed.
15
+
16
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh |)"
17
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
18
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/install/master/install.sh)"
19
+ /bin/bash -c "$(nvm install @stable)"
20
+ /bin/bash -c "$(nvm install 12)"
21
+
22
+
23
+ /bin/bash -c "($brew doctor)"
24
+ /bin/bash -c "($brew --version)"
25
+ /bin/bash -c "($rbenv --versions)"
26
+
27
+ # rb isn't installed yet but red test
28
+
29
+ ## try nvm stable or one we know should work
30
+
31
+ # Is npm running, this is the ticket
32
+ /bin/bash -c "$(npm i -g @obrienk/orphic-cli)"
33
+
34
+ # Related things cloned via git during setup.
35
+ git clone https://github.com/bigcommerce/checkout-js
36
+ git clone https://github.com/streamwall/streamwall
37
+ git clone https://github.com/obrien-k/multi-sf-cart
@@ -1,6 +1,7 @@
1
1
  require 'thor'
2
2
  require 'orphic/cli/node'
3
3
  require 'orphic/cli/district'
4
+ require 'orphic/cli/type'
4
5
  require 'cli/ui'
5
6
 
6
7
  module Orphic
@@ -23,5 +24,7 @@ module Orphic
23
24
  subcommand "node", Orphic::OrphicCli::Node
24
25
  desc "map DISTRICT ...ARGS", "View map for a district"
25
26
  subcommand "map", Orphic::OrphicCli::District
27
+ desc "media TYPE", "Interface with various media types"
28
+ subcommand "media", Orphic::OrphicCli::Type
26
29
  end
27
30
  end
@@ -0,0 +1,56 @@
1
+ module Orphic
2
+ module OrphicCli
3
+ class Type < Thor
4
+ desc "type", "Interface with specific media TYPEs like mp4, mp3, flac, exe, and app."
5
+ long_desc <<-TYPE
6
+ Commands for a specific TYPE.
7
+
8
+ Learn more about a type with <type> help. Supported types include: mp3, mp4, flac, exe, app, wav, mkv, bin, jar, rb, js, ts, html, css.
9
+ TYPE
10
+ def type( viewType )
11
+ # implement viewType
12
+ CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
13
+ puts "#{viewType}"
14
+ end
15
+ end
16
+ desc "createMedia", "Create a new file with a specific TYPE"
17
+ long_desc <<-CREATE_MEDIA
18
+ Create a new file with createMedia.
19
+ CREATE_MEDIA
20
+ option :mp3
21
+ option :mp4
22
+ option :flac
23
+ option :exe
24
+ option :app
25
+ option :wav
26
+ option :mkv
27
+ option :bin
28
+ option :jar
29
+ option :rb
30
+ option :js
31
+ option :ts
32
+ option :html
33
+ option :css
34
+ def createMedia ( createMedia )
35
+ puts "MP3 file created" if options[:mp3]
36
+ puts "MP4 file created" if options[:mp4]
37
+ puts "FLAC file created" if options[:flac]
38
+ puts "EXE file created" if options[:exe]
39
+ puts "APP file created" if options[:app]
40
+ puts "WAV file created" if options[:wav]
41
+ puts "MKV file created" if options[:mkv]
42
+ puts "BIN file created" if options[:bin]
43
+ puts "JAR file created" if options[:jar]
44
+ puts "RB file created" if options[:rb]
45
+ puts "JS file created" if options[:js]
46
+ puts "TS file created" if options[:ts]
47
+ puts "HTML file created" if options[:html]
48
+ puts "CSS file created" if options[:css]
49
+ # implement createDistrict
50
+ CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
51
+ puts "#{createMedia}"
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -1,3 +1,3 @@
1
1
  module Orphic
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle OBrien
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-07 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -175,6 +175,7 @@ files:
175
175
  - lib/orphic/cli.rb
176
176
  - lib/orphic/cli/district.rb
177
177
  - lib/orphic/cli/node.rb
178
+ - lib/orphic/cli/type.rb
178
179
  - lib/orphic/version.rb
179
180
  - orphic.gemspec
180
181
  homepage: https://orphic.enterprises/orphic-cli
@@ -184,9 +185,9 @@ metadata:
184
185
  bug_tracker_uri: https://github.com/orphic-inc/ruby-orphic-cli/issues
185
186
  changlog_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/CHANGELOG.md
186
187
  documentation_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/README.md
187
- source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.5
188
+ source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.6
188
189
  wiki_uri: https://github.com/orphic-inc/ruby-orphic-cli/wiki
189
- post_install_message:
190
+ post_install_message:
190
191
  rdoc_options: []
191
192
  require_paths:
192
193
  - lib
@@ -202,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
203
  version: '0'
203
204
  requirements: []
204
205
  rubygems_version: 3.1.4
205
- signing_key:
206
+ signing_key:
206
207
  specification_version: 4
207
208
  summary: Orphic is a toolkit for building boilerplate interfaces invoking interaction
208
209
  test_files: []