crystalruby 0.1.0 → 0.1.1

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: 2e591c4976e8380217b87b6202767b2ffea5585ebabe16a1aba23ddf43d0c35c
4
- data.tar.gz: 16ef2b22329ba24a2aacaf7e2eb4f12d2a320be987eb0097168f738256991397
3
+ metadata.gz: db2722469a6d98fb5696b55dd0980337db19ce92fde42b4c1c023cfa6fd877d0
4
+ data.tar.gz: a2914be29451a124cca3dcdd83173e8f4713c5e1dbd1121c1c4179e6e8a55ea6
5
5
  SHA512:
6
- metadata.gz: 228cecadfa04acd614cf0b3070e8afe3cb2123b3c648b280388f575459997b7cde19cc18a439b9f108a0765f7f4b10979744ee384168394a588fc49668aaba04
7
- data.tar.gz: f9a2294670024fe994e12648479da83d6ce366412595d29312f796848ca7151da1b6b63fa9fe35f820a5f5096a31f8f7d4062f3c4e5764e41b41c2df5c1fc59c
6
+ metadata.gz: 9253f9b6b953021570fb31ee958e4ca2c798d3e586d5be8da59d5f26b895f1bce22672bbb1c0c14322732d61d9c4fe780d6833d9410d9e16732683862fd3330f
7
+ data.tar.gz: d14edd179ed85907f90038b303f409a6c3868b2cf2bbfd60695350886d67ee5bf9d98b2ee3e1d05421e3d55b9b3ce155f7d9b0d04d2c6bee0165f36e1598abc7
data/README.md CHANGED
@@ -109,7 +109,7 @@ Some Crystal syntax is not valid Ruby, for methods of this form, we need to
109
109
  define our functions using a :raw parameter.
110
110
 
111
111
  ```ruby
112
- crystalize [a: :int, b: :int] => :int
112
+ crystalize :raw, [a: :int, b: :int] => :int
113
113
  def add(a, b)
114
114
  <<~CRYSTAL
115
115
  c = 0_u64
@@ -202,6 +202,10 @@ $ gem install crystalruby
202
202
  Crystal Ruby requires some basic initialization options inside a crystalruby.yaml file in the root of your project.
203
203
  You can run `crystalruby init` to generate a configuration file with sane defaults.
204
204
 
205
+ ```bash
206
+ crystalruby init
207
+ ```
208
+
205
209
  ```yaml
206
210
  crystal_src_dir: "./crystalruby/src"
207
211
  crystal_lib_dir: "./crystalruby/lib"
@@ -209,8 +213,6 @@ crystal_main_file: "main.cr"
209
213
  crystal_lib_name: "crlib"
210
214
  ```
211
215
 
212
- ## Usage
213
-
214
216
  ## Development
215
217
 
216
218
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crystalruby
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/crystalruby.rb CHANGED
@@ -5,7 +5,6 @@ require 'method_source'
5
5
  require_relative "crystalruby/config"
6
6
  require_relative "crystalruby/version"
7
7
  require_relative "crystalruby/typemaps"
8
- require 'pry-byebug'
9
8
  # TODO
10
9
  # Shards
11
10
  # Object methods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crystalruby
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
  - Wouter Coppieters