junction 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/junction.iml +41 -5
- data/Gemfile.lock +2 -1
- data/lib/junction/screen_manager.rb +1 -3
- data/lib/junction/screens/main.rb +7 -5
- data/lib/junction/screens/screen.rb +19 -0
- data/lib/junction/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a19c0f6c7e343e6f694f8d996d308f7b43b61a56085ac082c7f9bf5db32fdcd
|
4
|
+
data.tar.gz: d3bba49a9b7ad4c1967152601dfe8d3a433e5ff18fa72de915991c7e870ce9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec3362a0a493ffa552e0315519a7e9ebb7baa38175faf1dc8af1b4e173ac37d39ca899cd20073c641c69825f52c464b7b294e99a5e15c7312a4bd7bf0aa4ea6
|
7
|
+
data.tar.gz: 186ccf83d30faf8eb0d78a0786edb73a91069781cd02b098d4103a95a00cf2059b9e6eb8a6c0823ab9a403c92f1ee293e46743e16b95458720a8481f8b049189
|
data/.idea/junction.iml
CHANGED
@@ -11,30 +11,66 @@
|
|
11
11
|
</content>
|
12
12
|
<orderEntry type="jdk" jdkName="rbenv: 3.2.2" jdkType="RUBY_SDK" />
|
13
13
|
<orderEntry type="sourceFolder" forTests="false" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, rbenv: 3.2.2) [gem]" level="application" />
|
14
15
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.5.23, rbenv: 3.2.2) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.1, rbenv: 3.2.2) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="equatable (v0.5.0, rbenv: 3.2.2) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v2.7.2, rbenv: 3.2.2) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="language_server-protocol (v3.17.0.3, rbenv: 3.2.2) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="necromancer (v0.3.0, rbenv: 3.2.2) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.26.3, rbenv: 3.2.2) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v3.3.4.2, rbenv: 3.2.2) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="pastel (v0.6.1, rbenv: 3.2.2) [gem]" level="application" />
|
15
24
|
<orderEntry type="library" scope="PROVIDED" name="racc (v1.8.1, rbenv: 3.2.2) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, rbenv: 3.2.2) [gem]" level="application" />
|
16
26
|
<orderEntry type="library" scope="PROVIDED" name="rake (v13.2.1, rbenv: 3.2.2) [gem]" level="application" />
|
17
27
|
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.9.2, rbenv: 3.2.2) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.3.6, rbenv: 3.2.2) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.13.0, rbenv: 3.2.2) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.13.0, rbenv: 3.2.2) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.13.2, rbenv: 3.2.2) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.13.1, rbenv: 3.2.2) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.13.1, rbenv: 3.2.2) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v1.65.1, rbenv: 3.2.2) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.32.1, rbenv: 3.2.2) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.13.0, rbenv: 3.2.2) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="strscan (v3.1.0, rbenv: 3.2.2) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="tty (v0.5.0, rbenv: 3.2.2) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-color (v0.3.0, rbenv: 3.2.2) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-command (v0.1.0, rbenv: 3.2.2) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-cursor (v0.3.0, rbenv: 3.2.2) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-pager (v0.4.0, rbenv: 3.2.2) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-platform (v0.1.0, rbenv: 3.2.2) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-progressbar (v0.9.0, rbenv: 3.2.2) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-prompt (v0.6.0, rbenv: 3.2.2) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-screen (v0.5.1, rbenv: 3.2.2) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-spinner (v0.2.0, rbenv: 3.2.2) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-table (v0.5.0, rbenv: 3.2.2) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="tty-which (v0.1.0, rbenv: 3.2.2) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.5.0, rbenv: 3.2.2) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode_utils (v1.4.0, rbenv: 3.2.2) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="verse (v0.4.0, rbenv: 3.2.2) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="wisper (v1.6.1, rbenv: 3.2.2) [gem]" level="application" />
|
18
54
|
</component>
|
19
55
|
<component name="RakeTasksCache-v2">
|
20
56
|
<option name="myRootTask">
|
21
57
|
<RakeTaskImpl id="rake">
|
22
58
|
<subtasks>
|
23
|
-
<RakeTaskImpl description="Build junction-0.1.
|
59
|
+
<RakeTaskImpl description="Build junction-0.1.7.gem into the pkg directory" fullCommand="build" id="build" />
|
24
60
|
<RakeTaskImpl id="build">
|
25
61
|
<subtasks>
|
26
|
-
<RakeTaskImpl description="Generate SHA512 checksum of junction-0.1.
|
62
|
+
<RakeTaskImpl description="Generate SHA512 checksum of junction-0.1.7.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
|
27
63
|
</subtasks>
|
28
64
|
</RakeTaskImpl>
|
29
65
|
<RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
|
30
66
|
<RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
|
31
|
-
<RakeTaskImpl description="Build and install junction-0.1.
|
67
|
+
<RakeTaskImpl description="Build and install junction-0.1.7.gem into system gems" fullCommand="install" id="install" />
|
32
68
|
<RakeTaskImpl id="install">
|
33
69
|
<subtasks>
|
34
|
-
<RakeTaskImpl description="Build and install junction-0.1.
|
70
|
+
<RakeTaskImpl description="Build and install junction-0.1.7.gem into system gems without network access" fullCommand="install:local" id="local" />
|
35
71
|
</subtasks>
|
36
72
|
</RakeTaskImpl>
|
37
|
-
<RakeTaskImpl description="Create tag v0.1.
|
73
|
+
<RakeTaskImpl description="Create tag v0.1.7 and build and push junction-0.1.7.gem to https://rubygems.org" fullCommand="release[remote]" id="release[remote]" />
|
38
74
|
<RakeTaskImpl description="Run RuboCop" fullCommand="rubocop" id="rubocop" />
|
39
75
|
<RakeTaskImpl id="rubocop">
|
40
76
|
<subtasks>
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'tty-screen'
|
4
|
-
|
5
3
|
module Junction
|
6
4
|
module Screens
|
7
|
-
class Main
|
5
|
+
class Main < Screen
|
8
6
|
def render
|
9
|
-
|
10
|
-
|
7
|
+
prompt.say('Welcome to the Junction CLI!')
|
8
|
+
prompt.say('Please select an option:')
|
9
|
+
prompt.select('Options:') do |menu|
|
10
|
+
menu.choice 'Create a new project', -> { create_project }
|
11
|
+
menu.choice 'Exit', -> { exit }
|
12
|
+
end
|
11
13
|
end
|
12
14
|
end
|
13
15
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'tty-prompt'
|
4
|
+
|
5
|
+
module Junction
|
6
|
+
module Screens
|
7
|
+
class Screen
|
8
|
+
attr_reader :prompt
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
@prompt = TTY::Prompt.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def render
|
15
|
+
raise NotImplementedError
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/junction/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: junction
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- keegankb93
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/junction/components/cursor.rb
|
52
52
|
- lib/junction/screen_manager.rb
|
53
53
|
- lib/junction/screens/main.rb
|
54
|
+
- lib/junction/screens/screen.rb
|
54
55
|
- lib/junction/version.rb
|
55
56
|
- lib/tasks/junction.rake
|
56
57
|
- sig/junction.rbs
|