Skip to content

Commit

Permalink
Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Feb 19, 2021
1 parent 2b138a3 commit 48b3dd3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [1.0.0](https://github.com/opal/opal-sprockets/compare/v0.4.9.1.0.3.7...v1.0.0)

*19 February 2021*

- Bump the supported sprockets version to v4
- Add support for Opal v1.1
- Only support Ruby comments in directive preprocessor (no one should have ever used "//", ["/*", or "*/")
- Fix the namespaces and move everything under Opal::Sprockets (the legacy namespaces will be dropped in version 1.1)
- The version schema has been simplified, not expecting sprockets to have major earthquakes like it was for v4


## [v0.4.9](https://github.com/opal/opal-sprockets/compare/v0.4.8.1.0.3.7...v0.4.9.1.0.3.7)

*11 September 2020*
Expand Down
9 changes: 1 addition & 8 deletions lib/opal/sprockets/version.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
module Opal
module Sprockets
BASE_VERSION = '0.5.0'
OPAL_VERSION = '1.0.0'
SPROCKETS_VERSION = '4.0'

# Just keep the first two segments of dependencies' versions
v = -> v { v.split('.')[0..1].compact.join('.') }

VERSION = "#{BASE_VERSION}.#{v[OPAL_VERSION]}.#{v[SPROCKETS_VERSION]}"
VERSION = '1.0.0'
end
end
4 changes: 2 additions & 2 deletions opal-sprockets.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency 'sprockets', "~> #{Opal::Sprockets::SPROCKETS_VERSION}"
spec.add_dependency 'opal', [">= #{Opal::Sprockets::OPAL_VERSION}", "< 1.2"]
spec.add_dependency 'sprockets', "~> 4.0"
spec.add_dependency 'opal', [">= 1.0", "< 1.2"]
spec.add_dependency 'tilt', '>= 1.4'

spec.add_development_dependency 'rake'
Expand Down

0 comments on commit 48b3dd3

Please sign in to comment.