schema2type 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: 2fcde311f61daf06a1d64a12f7e70ee27b548621bd3993fd719f187a9b503390
4
- data.tar.gz: 2b8074204ba5df39032669c71fe8f2b63b06d95ecb9976f38b823f229af79c00
3
+ metadata.gz: f89d159c6ffdc49d6ab0fb15fe0f5e34e74d6527770853e0852f88a5cf9f1697
4
+ data.tar.gz: 14c2a5af612306c026a081af504692344499a26a56bcd7d1e2171c92623521c5
5
5
  SHA512:
6
- metadata.gz: b42f752d2d9b2f288dd2e3a37a7180a8b2ada496180dc27cee30007ea311026ae7a9371b6831963acb0461fb0ab9e1307a42ca163207e27e65c87cb6eb15fd1c
7
- data.tar.gz: 3c15d5cbea0721acb31e45fb01a4d751b24d6e857fd7eb5c70f13032a3d360187f816502a02e7a777e5897d125d7e841aa638e1e6dd59d7e9015135b3ca12b51
6
+ metadata.gz: 6356f061d49d775f88b23dd3f660833e921090b0767200045681a5699f0863c87f422990340bce96e48da3661de301390d5937d8ffda0e82669d218e823ecae1
7
+ data.tar.gz: bf76557809763aa70f012fc9e71595c5c993f2f70f098b068a74f34351828a1518641c895451e6e3f50210dc52e81c460a25bd3a98fe51454ed25cc10a31da45
data/README.md CHANGED
@@ -53,9 +53,17 @@ Or install it yourself as:
53
53
  ## Usage
54
54
 
55
55
  ```
56
- bundle exec schema2type -s schema.rb -o schema.d.ts -n production_name
56
+ bundle exec schema2type -s db/schema.rb -o schema.d.ts -n schema
57
57
  ```
58
58
 
59
+ #### options
60
+
61
+ |command | require | default | detail |
62
+ |---|---|---|---|
63
+ | -s | true | - | Path of your schema.rb |
64
+ | -o | true | - | Output file name of TypeScript |
65
+ | -n | false | "schema" | Name of declare namespace |
66
+
59
67
  ## License
60
68
 
61
69
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module Schema2type
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: schema2type
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
  - ryo