orphic 0.1.6 → 0.1.7
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/spools.rb +56 -0
- data/lib/orphic/sprites/cursor.rb +56 -0
- data/lib/orphic/sprites/paji.rb +56 -0
- data/lib/orphic/version.rb +1 -1
- data/orphic.gemspec +2 -0
- data/package.json +17 -0
- data/src/main.js +1 -0
- data/tsconfig.json +60 -0
- metadata +37 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec72788fa013f78511661f925b0f1e2b0d77a84bc0c4e39cbee6eae1b88ff4b6
|
4
|
+
data.tar.gz: 6f6d5015587305df31ecdbd5d93a40e83518ed7aac5a45110d59be7bd3f2c59c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48ef4ce4277e26c8ae981311dd5f90f2e3ac10dd93a387780cc406101cc85a7c00b8f2e4a858cfa8935f12d91858223a864c69d904585c72636fe2a81a9e0130
|
7
|
+
data.tar.gz: 1033f2f832ff1222bdb7d4840333d242130dd5459c2169cb4c7a33088c89ddbf2732dd345c466139bbe7a04b8be16e498fd1e016adf0356b1d530b35c50eaa47
|
@@ -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
|
@@ -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
|
@@ -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
|
data/lib/orphic/version.rb
CHANGED
data/orphic.gemspec
CHANGED
@@ -30,6 +30,8 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
spec.add_dependency "thor", "~> 0.20"
|
32
32
|
spec.add_dependency "cli-ui", "~> 1.4"
|
33
|
+
spec.add_dependency "stripe", "~> 5.28"
|
34
|
+
spec.add_dependency "rails", "~> 6.0.3"
|
33
35
|
spec.add_development_dependency "rspec"
|
34
36
|
spec.add_development_dependency "rspec-nc"
|
35
37
|
spec.add_development_dependency "guard"
|
data/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "typescript-template",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "tsc",
|
8
|
+
"dev": "tsc --watch",
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
10
|
+
},
|
11
|
+
"keywords": [],
|
12
|
+
"author": "Kyle <kyle@kyleo.io> (https://kyleo.io)",
|
13
|
+
"license": "MIT",
|
14
|
+
"devDependencies": {
|
15
|
+
"typescript": "^3.3.3333"
|
16
|
+
}
|
17
|
+
}
|
data/src/main.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log('Welcome to the Internet, from TypeScript!');
|
data/tsconfig.json
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
/* Basic Options */
|
4
|
+
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
|
5
|
+
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
6
|
+
// "lib": [WitchSuiteLib], /* Specify library files to be included in the compilation. */
|
7
|
+
// "allowJs": true, /* Allow javascript files to be compiled. */
|
8
|
+
// "checkJs": true, /* Report errors in .js files. */
|
9
|
+
// "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
10
|
+
"declaration": true /* Generates corresponding '.d.ts' file. */,
|
11
|
+
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
12
|
+
"sourceMap": true /* Generates corresponding '.map' file. */,
|
13
|
+
// "outFile": "./", /* Concatenate and emit output to single file. */
|
14
|
+
"outDir": "./dist" /* Redirect output structure to the directory. */,
|
15
|
+
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
16
|
+
// "composite": true, /* Enable project compilation */
|
17
|
+
// "removeComments": true, /* Do not emit comments to output. */
|
18
|
+
// "noEmit": true, /* Do not emit outputs. */
|
19
|
+
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
20
|
+
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
21
|
+
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
22
|
+
|
23
|
+
/* Strict Type-Checking Options */
|
24
|
+
"strict": true /* Enable all strict type-checking options. */,
|
25
|
+
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
26
|
+
// "strictNullChecks": true, /* Enable strict null checks. */
|
27
|
+
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
28
|
+
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
29
|
+
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
30
|
+
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
31
|
+
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
32
|
+
|
33
|
+
/* Additional Checks */
|
34
|
+
// "noUnusedLocals": true, /* Report errors on unused locals. */
|
35
|
+
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
36
|
+
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
37
|
+
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
38
|
+
|
39
|
+
/* Module Resolution Options */
|
40
|
+
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
41
|
+
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
42
|
+
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
43
|
+
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
44
|
+
// "typeRoots": [], /* List of folders to include type definitions from. */
|
45
|
+
// "types": [], /* Type declaration files to be included in compilation. */
|
46
|
+
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
47
|
+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
48
|
+
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
49
|
+
|
50
|
+
/* Source Map Options */
|
51
|
+
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
52
|
+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
53
|
+
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
54
|
+
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
55
|
+
|
56
|
+
/* Experimental Options */
|
57
|
+
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
58
|
+
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
59
|
+
}
|
60
|
+
}
|
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.7
|
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-
|
11
|
+
date: 2020-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: stripe
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.28'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.28'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 6.0.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 6.0.3
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rspec
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,9 +203,15 @@ files:
|
|
175
203
|
- lib/orphic/cli.rb
|
176
204
|
- lib/orphic/cli/district.rb
|
177
205
|
- lib/orphic/cli/node.rb
|
206
|
+
- lib/orphic/cli/spools.rb
|
178
207
|
- lib/orphic/cli/type.rb
|
208
|
+
- lib/orphic/sprites/cursor.rb
|
209
|
+
- lib/orphic/sprites/paji.rb
|
179
210
|
- lib/orphic/version.rb
|
180
211
|
- orphic.gemspec
|
212
|
+
- package.json
|
213
|
+
- src/main.js
|
214
|
+
- tsconfig.json
|
181
215
|
homepage: https://orphic.enterprises/orphic-cli
|
182
216
|
licenses:
|
183
217
|
- MIT
|
@@ -185,7 +219,7 @@ metadata:
|
|
185
219
|
bug_tracker_uri: https://github.com/orphic-inc/ruby-orphic-cli/issues
|
186
220
|
changlog_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/CHANGELOG.md
|
187
221
|
documentation_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/README.md
|
188
|
-
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.
|
222
|
+
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.7
|
189
223
|
wiki_uri: https://github.com/orphic-inc/ruby-orphic-cli/wiki
|
190
224
|
post_install_message:
|
191
225
|
rdoc_options: []
|