rbytes 0.1.1 → 0.1.2

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: 53595c57bee23eca0389d923a2b7fec3c67e570c07a4405cc705afe658081a3a
4
- data.tar.gz: d96f2d9536487f2432a0f56c9d9407c6caa7f04a2d9e98ecea72111e3e88e9b0
3
+ metadata.gz: 240c05001c82217a6c81800227e8043364abf995559420377265e921bf8b30a6
4
+ data.tar.gz: 44c8486ef55774b3fbf8bf6781dc17202e2b5e9a8f885fe7db8395ca7fa59e0c
5
5
  SHA512:
6
- metadata.gz: 9bee2dcc4ecf593b7aa7d7289955eb4518dadf74087bafa523880647e193bd2b8d16af2542c27e73f2a6d05fcbd2a73ea5de2fef02bfdd202dc013d4024c147a
7
- data.tar.gz: 8f5928ca9ba174fab8e830825f2bad113fbb295cbd84b106cd0364d0519037750c1343acc19b40f1d1152f7ec1d92760180d594730247ff4c16d4133560c6376
6
+ metadata.gz: d85b989709ffb1a3eb9a820516a5097bc87a6788b6384faa36ca00ec2608e9df7a366383826761b7938dfbcf6976b5335cfb90ce1d667af61c1c957fa88b6ec1
7
+ data.tar.gz: 149d5ec020537aaedb78c5d17d6dd9e56f75d33493b22ec6f12b1679515065f672e9bb91859a726bb90ee38766ec5ed3a61f4ffb08801e4fd315bc9be22e28c8
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.1.2 (2023-03-20)
6
+
7
+ - Add missing `rbytes` executable to the gemspec.
8
+
5
9
  ## 0.1.1 (2023-03-20)
6
10
 
7
11
  - Add Ruby Bytes project generator (see `templates/generator`).
data/README.md CHANGED
@@ -53,7 +53,15 @@ You can also install Ruby Bytes as a plugin for Thor (see [Thor integration](#th
53
53
 
54
54
  ## Writing templates
55
55
 
56
- > The quickes way to get started with using Ruby Bytes to build templates is to use [our generator](templates/generator/).
56
+ The quickest way to get started with using Ruby Bytes to build templates is to use our generator to create a project:
57
+
58
+ ```sh
59
+ $ rbytes install https://railsbytes.com/script/V2GsbB
60
+
61
+ ...
62
+ ```
63
+
64
+ ### Splitting template into partials
57
65
 
58
66
  Ruby Bytes adds partial support to Thor/Rails templates. For that, you can use `#include` and `#render` methods:
59
67
 
@@ -80,7 +88,7 @@ cable_adapter = ask? "Which AnyCable pub/sub adapter do you want to use?"
80
88
  file "config/anycable.yml", <%= code("anycable.yml") %>
81
89
  ```
82
90
 
83
- The compiled template will like like this:
91
+ The compiled template will look like this:
84
92
 
85
93
  ```erb
86
94
  cable_adapter = ask? "Which AnyCable pub/sub adapter do you want to use?"
@@ -94,7 +102,7 @@ file "config/anycable.yml", ERB.new(
94
102
  ], trim_mode: "<>").result(binding)
95
103
  ```
96
104
 
97
- **NOTE:** By default, we assume that partials are stored next to the template's entrypoint. Partials may have "_" prefix and ".rb"/".tt" suffixes.
105
+ **NOTE:** By default, we assume that partials are stored next to the template's entry-point. Partials may have the "_" prefix and ".rb" or ".tt" suffixes.
98
106
 
99
107
  ### Compiling templates
100
108
 
@@ -251,7 +259,7 @@ Bug reports and pull requests are welcome on GitHub at [https://github.com/palka
251
259
 
252
260
  ## Credits
253
261
 
254
- This gem is generated via [new-gem-generator](https://github.com/palkan/new-gem-generator).
262
+ This gem is generated via [`newgem` template](https://github.com/palkan/newgem) by [@palkan](https://github.com/palkan).
255
263
 
256
264
  ## License
257
265
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyBytes # :nodoc:
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbytes
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
  - Vladimir Dementyev
@@ -70,7 +70,8 @@ description: Ruby Bytes is a tool to build application templates for Ruby and Ra
70
70
  applications
71
71
  email:
72
72
  - dementiev.vm@gmail.com
73
- executables: []
73
+ executables:
74
+ - rbytes
74
75
  extensions: []
75
76
  extra_rdoc_files: []
76
77
  files: