opal-haml 0.4.5 → 0.4.6

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: f594f01d2d7f69d721a93d23a8fe88466f83505dd99ea2e60706e1106fa41be8
4
- data.tar.gz: 92ad9e7fcfa526b3003cc63c7309d4c40875f1dfa884481881d02cd97de2f50c
3
+ metadata.gz: 1cc6eff881eee7f0547abedbe1ced796b247ebfe766ff1fb8a12e2534d05f7cc
4
+ data.tar.gz: 60937e8f9424a9b7b2bb0dbb1ff463a58ec82802611028ed6c94302831f385a3
5
5
  SHA512:
6
- metadata.gz: 29c63fb9eec91c9b2c7746ab383a5d9e3a27e1fa2d51667e26335df739f07c2bca1d80abbb6af638d6e94a8ad85816a9fb2e537ab5f5a26052a8adf25427b29d
7
- data.tar.gz: e83e0aec5b8e30a403fe52de84b9dd0105a3233bfb5544d36edb05c3f4bec41e62eaa9f1625716200c0cb8ed10cb55849eb4435fbdab48a5a0c54cc58c96b9f5
6
+ metadata.gz: 4c87b4b2c50b813ef922a0a8ebc432efad3a4e9f6f016efd96e748f09824a6dc6b13d39c167692b3235d006f461cf7e1754963e7bb1cd4113ce4a0ec6907d21c
7
+ data.tar.gz: 1132bf23069a58109c1a6a4525fe92f642f1637e488bcfcb1113f0b64838c408d86257457f87526084332295a9c17e100b7dfbcc861d3397424784dbec6c4f37
@@ -1,13 +1,16 @@
1
1
  language: ruby
2
2
  sudo: false
3
- rvm: 2.3.4
4
-
3
+ rvm: 2.6.2
5
4
 
6
5
  env:
7
- - HAML_VERSION="~> 4.0" OPAL_VERSION='~> 0.10.0'
8
- - HAML_VERSION="~> 5.0" OPAL_VERSION='~> 0.10.0'
9
- - HAML_VERSION="~> 5.0" OPAL_VERSION='~> 0.11.0'
10
- - HAML_VERSION="~> 5.0" OPAL_VERSION=master
6
+ - HAML_VERSION="4.0" OPAL_VERSION="0.10"
7
+ - HAML_VERSION="5.0" OPAL_VERSION="0.10"
8
+ - HAML_VERSION="4.0" OPAL_VERSION="0.11"
9
+ - HAML_VERSION="5.0" OPAL_VERSION="0.11"
10
+ - HAML_VERSION="4.0" OPAL_VERSION="1.0"
11
+ - HAML_VERSION="5.0" OPAL_VERSION="1.0"
12
+ - HAML_VERSION="4.0" OPAL_VERSION=master
13
+ - HAML_VERSION="5.0" OPAL_VERSION=master
11
14
 
12
15
  cache:
13
16
  bundler: true
@@ -1,3 +1,7 @@
1
+ ## 0.4.6 unreleased
2
+
3
+ - Add support for Opal v1.0
4
+
1
5
  ## 0.4.5 2018-03-19
2
6
 
3
7
  - Avoid warning from Opal v0.11
data/Gemfile CHANGED
@@ -1,13 +1,23 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
- gem 'haml', ENV['HAML_VERSION'] || '> 0'
4
-
5
- if ENV['OPAL_VERSION'] == 'master'
6
- gem 'opal', github: 'opal', branch: :master
7
- gem 'opal-sprockets', github: 'opal/opal-sprockets'
8
- gem 'opal-rspec', github: 'opal/opal-rspec', branch: 'elia/opal-master', submodules: true
9
- elsif ENV['OPAL_VERSION'].to_f >= 0.11
10
- gem 'opal-rspec', github: 'opal/opal-rspec', branch: 'elia/opal-master', submodules: true
11
- else
3
+
4
+ github = -> repo { "https://github.com/#{repo}" }
5
+ version = -> rs { -> vs { Gem::Requirement.new(rs) === Gem::Version.new(vs) } }
6
+ haml_version = ENV['HAML_VERSION'] || 0
7
+
8
+ gem 'haml', "~> #{haml_version}"
9
+
10
+ case ENV['OPAL_VERSION']
11
+
12
+ when 'master'
13
+ gem 'opal', git: github['opal/opal'], branch: :master
14
+ gem 'opal-sprockets', git: github['opal/opal-sprockets']
15
+ gem 'opal-rspec', git: github['opal/opal-rspec'], branch: 'master', submodules: true
16
+
17
+ when version['~> 1.0.0']
18
+ gem 'opal-rspec', '~> 0.8.0.alpha1'
19
+
20
+ when version['~> 0.10.0']
12
21
  gem 'opal', '~> 0.10.5'
22
+
13
23
  end
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # opal-haml: Haml templates for opal
1
+ # Opal Haml
2
+
3
+ *Haml templates for Opal*
2
4
 
3
5
  [![Build Status](https://travis-ci.org/opal/opal-haml.svg?branch=master)](https://travis-ci.org/opal/opal-haml)
4
6
 
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module Haml
3
- VERSION = '0.4.5'
3
+ VERSION = '0.4.6'
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Opal::Haml::VERSION
8
8
  s.author = 'Adam Beynon'
9
9
  s.email = 'adam@adambeynon.com'
10
- s.homepage = 'http://opalrb.org'
10
+ s.homepage = 'https://github.com/opal/opal-haml#readme'
11
11
  s.summary = 'Run Haml templates client-side with Opal'
12
12
  s.description = 'Run Haml templates client-side with Opal.'
13
13
  s.license = 'MIT'
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.require_paths = ['lib']
19
19
 
20
- s.add_dependency 'opal', ['~> 0.10', '< 0.12']
20
+ s.add_dependency 'opal', ['>= 0.10', '< 2']
21
21
  s.add_dependency 'opal-sprockets', '~> 0.4.1'
22
22
  s.add_dependency 'haml'
23
23
 
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Beynon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-19 00:00:00.000000000 Z
11
+ date: 2019-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.12'
22
+ version: '2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.12'
32
+ version: '2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: opal-sprockets
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -115,7 +115,7 @@ files:
115
115
  - spec-opal/haml_spec.rb
116
116
  - spec-opal/output_buffer_spec.rb
117
117
  - spec-opal/spec_helper.rb
118
- homepage: http://opalrb.org
118
+ homepage: https://github.com/opal/opal-haml#readme
119
119
  licenses:
120
120
  - MIT
121
121
  metadata: {}
@@ -134,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubyforge_project:
138
- rubygems_version: 2.7.4
137
+ rubygems_version: 3.0.3
139
138
  signing_key:
140
139
  specification_version: 4
141
140
  summary: Run Haml templates client-side with Opal