gorails 0.1.3 → 0.1.4

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: e70b979a5284596091b39be5e2372914fc9712839b6e1d5a666bc7ac142e61a2
4
- data.tar.gz: 838162e13a911e26c5654778513229b1411441d968f593bf467168b57d24b985
3
+ metadata.gz: fb6ed89fea9fbe57b0f3e0ad9e43b86bcc01d554018610c20ec88ca62a7e3eb4
4
+ data.tar.gz: 289342d7b991ffd71da958d904163e6aed5bdb38e673fa3a0aa7da4627c8591f
5
5
  SHA512:
6
- metadata.gz: 7b108dc53a37aa0bed0faae758d157c742de83e9f6b30258c42dc36e0a1b1440f9112bde7d5db71bc1ddeb23b7995151b82309eb5e921e05004e8c0cde1e180f
7
- data.tar.gz: 585422f5c6221e3d3fb23c0aa7a460dc2725e702cfe58ded81566b21b94432087312cd4a29f20b8d58a02f7c5c94984eb79e0ee247c1a70b490c2776499b6bbd
6
+ metadata.gz: cb384482e0a5992b671d681839e7a335c32c9290ad2d5f93016e5f3d5d283d8de754501346a390278c478d9c783c9dd94773a192fd7ea189192160e5025bf13f
7
+ data.tar.gz: ba828e4f25ccb1d01d30caf3f58ec08deeff4669b785effe8aefcd296508b6c6b4cc28777359d6849c5ccda3c037ee5f5de89a85024f4708a52c612b4e27c58e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.4] - 2022-03-13
4
+
5
+ - Add `version` command
6
+
3
7
  ## [0.1.3] - 2022-03-13
4
8
 
5
9
  - Vendor cli-kit and cli-ui for speed
data/Gemfile.lock CHANGED
@@ -1,9 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gorails (0.1.3)
5
- cli-kit (~> 4.0.0)
6
- cli-ui (~> 1.5.1)
4
+ gorails (0.1.4)
7
5
 
8
6
  GEM
9
7
  remote: https://rubygems.org/
@@ -11,9 +9,6 @@ GEM
11
9
  ansi (1.5.0)
12
10
  ast (2.4.2)
13
11
  builder (3.2.4)
14
- cli-kit (4.0.0)
15
- cli-ui (>= 1.1.4)
16
- cli-ui (1.5.1)
17
12
  metaclass (0.0.4)
18
13
  minitest (5.15.0)
19
14
  minitest-reporters (1.5.0)
data/exe/gorails CHANGED
@@ -7,9 +7,9 @@ unshift_path = ->(path) {
7
7
  p = File.expand_path("../../#{path}", __FILE__)
8
8
  $LOAD_PATH.unshift(p) unless $LOAD_PATH.include?(p)
9
9
  }
10
- unshift_path.call('vendor/deps/cli-ui/lib')
11
- unshift_path.call('vendor/deps/cli-kit/lib')
12
- unshift_path.call('lib')
10
+ unshift_path.call("vendor/deps/cli-ui/lib")
11
+ unshift_path.call("vendor/deps/cli-kit/lib")
12
+ unshift_path.call("lib")
13
13
 
14
14
  require "gorails"
15
15
 
data/gorails.gemspec CHANGED
@@ -29,8 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ["lib"]
31
31
 
32
- spec.add_dependency "cli-kit", "~> 4.0.0"
33
- spec.add_dependency "cli-ui", "~> 1.5.1"
34
32
  spec.add_development_dependency "standard"
35
33
 
36
34
  # For more information and examples about making a new gem, checkout our
@@ -0,0 +1,15 @@
1
+ require "gorails"
2
+
3
+ module Gorails
4
+ module Commands
5
+ class Example < Gorails::Command
6
+ def call(_args, _name)
7
+ puts VERSION
8
+ end
9
+
10
+ def self.help
11
+ "Prints the version.\nUsage: {{command:#{Gorails::TOOL_NAME} version}}"
12
+ end
13
+ end
14
+ end
15
+ end
@@ -13,7 +13,7 @@ module Gorails
13
13
  register :Jobs, "jobs", "gorails/commands/jobs"
14
14
  register :Jumpstart, "jumpstart", "gorails/commands/jumpstart"
15
15
  register :Railsbytes, "railsbytes", "gorails/commands/railsbytes"
16
- # register :Example, 'example', 'gorails/commands/example'
16
+ register :Version, "version", "gorails/commands/version"
17
17
  register :Help, "help", "gorails/commands/help"
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gorails
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
@@ -10,34 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: cli-kit
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 4.0.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 4.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: cli-ui
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 1.5.1
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.5.1
41
13
  - !ruby/object:Gem::Dependency
42
14
  name: standard
43
15
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +52,7 @@ files:
80
52
  - lib/gorails/commands/jobs.rb
81
53
  - lib/gorails/commands/jumpstart.rb
82
54
  - lib/gorails/commands/railsbytes.rb
55
+ - lib/gorails/commands/version.rb
83
56
  - lib/gorails/entry_point.rb
84
57
  - lib/gorails/version.rb
85
58
  - sig/gorails.rbs