jekyll-opal 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -1
- data/History.markdown +6 -2
- data/jekyll-opal.gemspec +2 -2
- data/lib/jekyll-opal/version.rb +1 -1
- data/spec/opal_converter_spec.rb +6 -5
- data/spec/opal_generator_spec.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 812aa0ed74fb29748cb19181a4acb5103d0075cd
|
4
|
+
data.tar.gz: d37215027908debf7b921d8c77e4f0538efacc03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8418dbd71721319950fe942bec2803bd08623809a760785827cfc519ccc7587f83c917574597f5db2032906ee790e3ef44e003f21f0a9720d090e5e070f17c99
|
7
|
+
data.tar.gz: f4da97bc8eb6f81aea6d780cc0f97fd897c7ed29eb2bb149b390264af98a2e17cf12bf1f91f7ca729da177f30a1b013c603b0c7a3f6d0d202d5ccb593b6fad3e
|
data/.travis.yml
CHANGED
@@ -1,8 +1,22 @@
|
|
1
1
|
language: ruby
|
2
2
|
script : script/cibuild
|
3
|
+
sudo: false
|
4
|
+
cache: bundler
|
3
5
|
rvm:
|
6
|
+
- 2.2
|
4
7
|
- 2.1
|
5
8
|
- 2.0
|
6
|
-
- 1.9.3
|
7
9
|
notifications:
|
8
10
|
email: false
|
11
|
+
branches:
|
12
|
+
only:
|
13
|
+
- master
|
14
|
+
|
15
|
+
matrix:
|
16
|
+
include:
|
17
|
+
-
|
18
|
+
rvm: 1.9
|
19
|
+
env: JEKYLL_VERSION=2.0
|
20
|
+
env:
|
21
|
+
- JEKYLL_VERSION=3.0
|
22
|
+
- JEKYLL_VERSION=2.0
|
data/History.markdown
CHANGED
data/jekyll-opal.gemspec
CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_runtime_dependency "opal", "~> 0.
|
20
|
+
spec.add_runtime_dependency "opal", "~> 0.8.0"
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.6"
|
23
23
|
spec.add_development_dependency "rake"
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
25
|
-
spec.add_development_dependency "jekyll", "~> 2.0"
|
25
|
+
spec.add_development_dependency "jekyll", ENV["JEKYLL_VERSION"] ? "~> #{ENV["JEKYLL_VERSION"]}" : ">= 2.0"
|
26
26
|
end
|
data/lib/jekyll-opal/version.rb
CHANGED
data/spec/opal_converter_spec.rb
CHANGED
@@ -5,11 +5,12 @@ describe(Jekyll::Converters::Opal) do
|
|
5
5
|
let(:simple_opal) { "puts 'ohai jekyll'" }
|
6
6
|
let(:simple_js_output) do
|
7
7
|
<<-JS
|
8
|
-
/* Generated by Opal 0.
|
9
|
-
(function(
|
10
|
-
|
8
|
+
/* Generated by Opal 0.8.1 */
|
9
|
+
(function(Opal) {
|
10
|
+
Opal.dynamic_require_severity = "error";
|
11
|
+
var self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice;
|
11
12
|
|
12
|
-
|
13
|
+
Opal.add_stubs(['$puts']);
|
13
14
|
return self.$puts("ohai jekyll")
|
14
15
|
})(Opal);
|
15
16
|
JS
|
@@ -28,7 +29,7 @@ JS
|
|
28
29
|
end
|
29
30
|
|
30
31
|
it "explodes on bad input" do
|
31
|
-
expect(->{ subject.convert(bogus_opal) }).to raise_error
|
32
|
+
expect(->{ subject.convert(bogus_opal) }).to raise_error(RuntimeError)
|
32
33
|
end
|
33
34
|
|
34
35
|
end
|
data/spec/opal_generator_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-opal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.8.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
name: jekyll
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.0'
|
83
83
|
description:
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.2.
|
127
|
+
rubygems_version: 2.2.5
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Let Jekyll convert your Ruby into JavaScript using Opal.
|