runways 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/runways/generators/app_structure_generator.rb +4 -0
- data/lib/runways/generators/templates/protobuf_rake.tt +7 -0
- data/lib/runways/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b887d735634ca76463779c730df9fb62ce64a6618697f775c6bd1f783b0d69e
|
4
|
+
data.tar.gz: a74b0b08877f7e230180f30b06d854b05c904f133151e4b30e0cb51e6b9a23d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ac4be00b2486f7e7003cf422f8bc858dab9568352ca44af44f950b4543ba49992c4a8ce682699ceeec9880fd50fdec2596ec2fd13b6eb844af569cac8206a2a
|
7
|
+
data.tar.gz: 3f21357b3d9debd068ce06a0c432dd7f529efc729b33a0446a3ae6c2b7201315713f1778ee612a3544f2edc91d3e0965f0eb3c0c2ade669f26cc7707b3d7e966
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -12,6 +12,10 @@ Create a new runways application
|
|
12
12
|
|
13
13
|
$ runways hello
|
14
14
|
|
15
|
+
Run the following rake task to update protobuf files
|
16
|
+
```ruby
|
17
|
+
rake protobuf_files:update
|
18
|
+
```
|
15
19
|
## Development
|
16
20
|
|
17
21
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -77,6 +77,10 @@ class AppStructure < Thor::Group
|
|
77
77
|
template("templates/db_config.tt", "#{name}/config/db_config.rb")
|
78
78
|
end
|
79
79
|
|
80
|
+
def generate_protofub_file
|
81
|
+
template("templates/protobuf_rake.tt", "#{name}/lib/tasks/generate_protobuf_files.rake")
|
82
|
+
end
|
83
|
+
|
80
84
|
private
|
81
85
|
def create_following_dirs(dir_paths)
|
82
86
|
dir_paths.each do |dir_path|
|
data/lib/runways/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NG
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- lib/runways/generators/templates/gemfile.tt
|
123
123
|
- lib/runways/generators/templates/models.tt
|
124
124
|
- lib/runways/generators/templates/proto.tt
|
125
|
+
- lib/runways/generators/templates/protobuf_rake.tt
|
125
126
|
- lib/runways/generators/templates/rakefile.tt
|
126
127
|
- lib/runways/generators/templates/server.tt
|
127
128
|
- lib/runways/generators/templates/service.tt
|
@@ -148,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
149
|
version: '0'
|
149
150
|
requirements: []
|
150
151
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.7.
|
152
|
+
rubygems_version: 2.7.8
|
152
153
|
signing_key:
|
153
154
|
specification_version: 4
|
154
155
|
summary: Ruby application based on GRPC protocol
|