Skip to content

Commit

Permalink
Merge pull request #52 from jessedoyle/crystal-0.31.0
Browse files Browse the repository at this point in the history
0.18.1 - Crystal 0.31.X
  • Loading branch information
jessedoyle committed Sep 25, 2019
2 parents d4819c5 + eb0dceb commit 603d75d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
# v0.18.1 - Sept 24, 2019

- Update for Crystal v0.31.0 support.
- Fix test cases that were failing because Crystal's Spec library now executes `it` blocks at the end of the program (https://github.com/crystal-lang/crystal/pull/8125). Instead of manually destroying the Duktape head in specs, let the GC take care of it.
- Update `ameba` to 0.10.1.

# v0.18.0 - Sept 6, 2019

- Update Duktape version to `2.4.0`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ version: 1.0.0 # your project's version
dependencies:
duktape:
github: jessedoyle/duktape.cr
version: ~> 0.18.0
version: ~> 0.18.1
```

then execute:
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
@@ -1,5 +1,5 @@
name: duktape
version: 0.18.0
version: 0.18.1

authors:
- Jesse Doyle <jdoyle@ualberta.ca>
Expand All @@ -10,6 +10,6 @@ scripts:
development_dependencies:
ameba:
github: veelenga/ameba
version: '~> 0.8'
version: '~> 0.10'

license: MIT
2 changes: 0 additions & 2 deletions spec/duktape/api/get_spec.cr
Expand Up @@ -263,6 +263,4 @@ describe Duktape::API::Get do
val.should eq(0_u32)
end
end

ctx.destroy_heap!
end
2 changes: 0 additions & 2 deletions spec/duktape/api/push_spec.cr
Expand Up @@ -504,6 +504,4 @@ describe Duktape::API::Push do
last_stack_type(ctx).should be_js_type(:undefined)
end
end

ctx.destroy_heap!
end
2 changes: 0 additions & 2 deletions spec/duktape/api/require_spec.cr
Expand Up @@ -417,6 +417,4 @@ describe Duktape::API::Require do
end
end
end

ctx.destroy_heap!
end
2 changes: 1 addition & 1 deletion src/duktape/version.cr
Expand Up @@ -16,7 +16,7 @@ module Duktape
module VERSION
MAJOR = 0
MINOR = 18
TINY = 0
TINY = 1
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join "."
Expand Down

0 comments on commit 603d75d

Please sign in to comment.