hadron 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: 4b8d50d6479e85399ce95947760401ec71eebfc3efcf25d808734647b77d5df2
4
- data.tar.gz: 5954d5b4a27e926c4ba73e76c8ec9228bce61084a39b4abad0b38d2175560fef
3
+ metadata.gz: 3635b4c290e0c0541d93b3417b3e670e41a399d06e7ebfd58c646aacb0aa0017
4
+ data.tar.gz: 6ee4dbe5fa63f9811af0acd69a1858a54aeb28f57f2c2320e806426d55a2f447
5
5
  SHA512:
6
- metadata.gz: 0dcf1a7f36d374f69a049dc2a10e7c48f5fc05159acc173863d1a91f3d384691b9f269f53c27decb0c25ae946fbec1299e847d3d762dfa387904cfa947904dfa
7
- data.tar.gz: 947a053bea728063b19a3e0a752aa7cef009fac6adcdb6a64f64afc55a8739a5476a46e87c2e58d115a7ba1fa2ed0cc34ea23a52fa69ae3e61a3eff1a25e4967
6
+ metadata.gz: 77f68999a1921eb7ed0e0c6916ecdcb184ba4084b3abdd2e1cb92f6971d528ace8daed32d9c0c8d4edda5c0e07ff8c5db4cf40f96744f114a5ff5ae4a6cba722
7
+ data.tar.gz: fc18af214068259c36c9e0f121acd97986c0fd63a1e4ac2406b9f33f762a650ac1126b0928090b3adbcfd2510a069a994b764928abb340d02a7ba25825c1f6b1
data/Gemfile CHANGED
@@ -5,8 +5,8 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in hadron.gemspec
6
6
  gemspec
7
7
 
8
+ gem "proto_dsl", "~> 0.1.1"
8
9
  gem "rake", "~> 13.0"
9
-
10
10
  gem "rspec", "~> 3.0"
11
-
12
11
  gem "rubocop", "~> 1.21"
12
+ gem "thor", "~> 1.2"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hadron (0.1.1)
4
+ hadron (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -12,6 +12,7 @@ GEM
12
12
  parallel (1.22.1)
13
13
  parser (3.1.3.0)
14
14
  ast (~> 2.4.1)
15
+ proto_dsl (0.1.1)
15
16
  rainbow (3.1.1)
16
17
  rake (13.0.6)
17
18
  regexp_parser (2.6.1)
@@ -42,6 +43,7 @@ GEM
42
43
  rubocop-ast (1.24.0)
43
44
  parser (>= 3.1.1.0)
44
45
  ruby-progressbar (1.11.0)
46
+ thor (1.2.1)
45
47
  unicode-display_width (2.3.0)
46
48
 
47
49
  PLATFORMS
@@ -50,9 +52,11 @@ PLATFORMS
50
52
 
51
53
  DEPENDENCIES
52
54
  hadron!
55
+ proto_dsl (~> 0.1.1)
53
56
  rake (~> 13.0)
54
57
  rspec (~> 3.0)
55
58
  rubocop (~> 1.21)
59
+ thor (~> 1.2)
56
60
 
57
61
  BUNDLED WITH
58
62
  2.3.15
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hadron
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/lib/hadron.rb CHANGED
@@ -1,8 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "hadron/version"
3
+ Dir[File.join(__dir__, "hadron", "*.rb")].sort.each { |file| require file }
4
4
 
5
5
  module Hadron
6
6
  class Error < StandardError; end
7
- # Your code goes here...
7
+
8
+ def self.create_project(name)
9
+ puts "Creates project #{name}"
10
+ end
11
+
12
+ def self.create_database
13
+ puts "Creates database"
14
+ end
15
+
16
+ def self.migrates_database
17
+ puts "Migrates database"
18
+ end
19
+
20
+ def self.generate_scaffold(name)
21
+ puts "Generates scaffold #{name}"
22
+ end
8
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hadron
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
  - Sylvance
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby framework called Hadron that allows you to work with gRPC Ruby output
14
14
  easily.