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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 773fbc3db01dad731110a71caa5532f24164c3c5
4
- data.tar.gz: f5121debd9b2cf3a8a2480a60b9c9d3360423b9c
3
+ data.tar.gz: fed4f0993e18fc60bd6b8b378d562c2e51346c8e
4
+ metadata.gz: d5c6d02910599c1c2ba3c0b99c010eaf55916b42
5
5
  SHA512:
6
- metadata.gz: b6b9725332775aed465d1b6d9f05775103d3409e1aa8273806f157f882b5bbd3f1a4c441ed4a3446f1c9a454f6c04357cd801ba1821e80006c0bc051919eff36
7
- data.tar.gz: 8b9b881b27f55f0e5dc948da86fdbe9fe14adaca1a8e0b9b11bf604a800ca728d08c995de4c4e4b057edfd16e0c16f5b3f374a24042b9d1e680b104c01314f2c
6
+ data.tar.gz: bf84470e5e086cb7056a4442881c5439eecb8a98fd51018337d110c8b843777d422a3098e3efddaea826e12403898fbaaeb29d0978e4d13c6d35fcc86d044fee
7
+ metadata.gz: 613a4548f6d638ff969d777f48e46484663922aad2cf72073c1125205cfc49e9690dbe8eb78c0ce0745a2d1c210c2fd8f820bc9f4b354ade428bf61a07db34a0
@@ -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.15.1"])
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
22
 
23
- gem.add_dependency("deas", ["~> 0.40.0"])
23
+ gem.add_dependency("deas", ["~> 0.41.0"])
24
24
  gem.add_dependency("kramdown", ["~> 1.10"])
25
25
 
26
26
  end
@@ -1,4 +1,4 @@
1
1
  module Deas; end
2
2
  module Deas::Kramdown
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
data/test/helper.rb CHANGED
@@ -16,4 +16,11 @@ require 'pry'
16
16
 
17
17
  require 'test/support/factory'
18
18
 
19
- # TODO: put test helpers here...
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
@@ -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'].choice
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.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-04-11 00:00:00 Z
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.15.1
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.40.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.5.1
96
+ rubygems_version: 2.6.4
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Deas template engine for Kramdown templates