runways 0.1.0 → 0.1.1

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: 832981f00d77dd4f4dfcfa34c55283ac350e137b902fd14ff710824e63c31be3
4
- data.tar.gz: 50022860e022ddee007cc6da9c524bb7876300d531d6c25a2489d6bbd08995ca
3
+ metadata.gz: 014736e4cadc92a73b487d4be26069172b76fce7186c1792572cc007c3d2b62f
4
+ data.tar.gz: fbe629b06c33d3ba417cb3cf016a52e62fff966ef15d7ad57c2261db6bfae0d4
5
5
  SHA512:
6
- metadata.gz: 47aaf287091b3c1b42bd61286d643479d6178c39de20825d763e69fb86652d2428b8692e484eae6f24989e53713adcb790fb85a1ac8c277ddd81674ce936e875
7
- data.tar.gz: 110fc65a6850ddeba7c741cfbe0d0834f74dd791c04782f6e023ff7018322c60e0774ceea828a1f594a65d90c48759c75ae415224d16ee041e01752f6e6fc2ed
6
+ metadata.gz: 50efeeab5455c27fdd0328d7f8bc43fd3a25c2546899059274118c1e2066f6fb54c48de382c9803b93843d476419bb90f936710b73a7295b16a2f235c885aec1
7
+ data.tar.gz: d579eabbf5c1ae7478127bcbf35966de593fb0cb7fbcfdea6af82512743a7dc94c2305ada06dd02bb3be4a4ef21bf1130b6de1d10ae595995f2ebc842574c0b4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runways (0.1.0)
4
+ runways (0.1.1)
5
5
  activerecord (~> 5.2)
6
6
  grpc (~> 1.16)
7
7
  grpc-tools (~> 1.16)
@@ -28,6 +28,10 @@ class AppStructure < Thor::Group
28
28
  template("templates/proto.tt", "#{name}/proto/#{name}.proto")
29
29
  end
30
30
 
31
+ def generate_gemfile
32
+ template("templates/gemfile.tt", "#{name}/Gemfile")
33
+ end
34
+
31
35
  def generate_application_record
32
36
  template(
33
37
  "templates/application_record.tt",
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'runways', '<%= Runways::VERSION %>'
@@ -1,3 +1,3 @@
1
1
  module Runways
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runways
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - NG
@@ -116,8 +116,8 @@ files:
116
116
  - exe/runways
117
117
  - lib/runways.rb
118
118
  - lib/runways/generators/app_structure_generator.rb
119
- - lib/runways/generators/proto_generator.rb
120
119
  - lib/runways/generators/templates/application_record.tt
120
+ - lib/runways/generators/templates/gemfile.tt
121
121
  - lib/runways/generators/templates/models.tt
122
122
  - lib/runways/generators/templates/proto.tt
123
123
  - lib/runways/generators/templates/server.tt
@@ -1,11 +0,0 @@
1
- require 'thor'
2
-
3
- class ProtoGenerator < Thor::Group
4
- include Thor::Actions
5
-
6
- argument :name
7
-
8
- def generate_proto_file
9
- template("templates/template.proto.tt", "#{name}/proto/#{name}.proto")
10
- end
11
- end