deas-kramdown 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/deas-kramdown.gemspec +2 -2
- data/lib/deas-kramdown/version.rb +1 -1
- data/test/helper.rb +8 -1
- data/test/unit/source_tests.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
|
4
|
-
|
3
|
+
data.tar.gz: fed4f0993e18fc60bd6b8b378d562c2e51346c8e
|
4
|
+
metadata.gz: d5c6d02910599c1c2ba3c0b99c010eaf55916b42
|
5
5
|
SHA512:
|
6
|
-
|
7
|
-
|
6
|
+
data.tar.gz: bf84470e5e086cb7056a4442881c5439eecb8a98fd51018337d110c8b843777d422a3098e3efddaea826e12403898fbaaeb29d0978e4d13c6d35fcc86d044fee
|
7
|
+
metadata.gz: 613a4548f6d638ff969d777f48e46484663922aad2cf72073c1125205cfc49e9690dbe8eb78c0ce0745a2d1c210c2fd8f820bc9f4b354ade428bf61a07db34a0
|
data/deas-kramdown.gemspec
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency("assert", ["~> 2.
|
21
|
+
gem.add_development_dependency("assert", ["~> 2.16.1"])
|
22
22
|
|
23
|
-
gem.add_dependency("deas", ["~> 0.
|
23
|
+
gem.add_dependency("deas", ["~> 0.41.0"])
|
24
24
|
gem.add_dependency("kramdown", ["~> 1.10"])
|
25
25
|
|
26
26
|
end
|
data/test/helper.rb
CHANGED
@@ -16,4 +16,11 @@ require 'pry'
|
|
16
16
|
|
17
17
|
require 'test/support/factory'
|
18
18
|
|
19
|
-
#
|
19
|
+
# 1.8.7 backfills
|
20
|
+
|
21
|
+
# Array#sample
|
22
|
+
if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
|
23
|
+
class Array
|
24
|
+
alias_method :sample, :choice
|
25
|
+
end
|
26
|
+
end
|
data/test/unit/source_tests.rb
CHANGED
@@ -65,7 +65,7 @@ class Deas::Kramdown::Source
|
|
65
65
|
class RenderTests < InitTests
|
66
66
|
desc "`render` method"
|
67
67
|
setup do
|
68
|
-
@template_name = ['basic', 'basic_alt'].
|
68
|
+
@template_name = ['basic', 'basic_alt'].sample
|
69
69
|
end
|
70
70
|
|
71
71
|
should "render a template for the given template name and return its data" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deas-kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-06-15 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: assert
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.16.1
|
23
23
|
type: :development
|
24
24
|
version_requirements: *id001
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
32
|
+
version: 0.41.0
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id002
|
35
35
|
- !ruby/object:Gem::Dependency
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements: []
|
94
94
|
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.6.4
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Deas template engine for Kramdown templates
|