mmarkdown 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Rakefile +21 -22
  4. data/lib/mmarkdown/version.rb +1 -1
  5. metadata +21 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e3d640ed08ad29dbf7ffe395012327a233da1d2
4
- data.tar.gz: 743aee40c2c44bd804092bcd9dde67f57ef64a88
3
+ metadata.gz: ec38c79c99787ff3535b6df4255f60da596e829c
4
+ data.tar.gz: aeb3b778961b24b0163a5f44a60864da93d9431a
5
5
  SHA512:
6
- metadata.gz: 1d53fbd0f6c755240b48e7cff10e34e9c2aeccfa83083f89a534f5384ac8ba932fb29ffe182b627c13b4fb19b21b975a163f93e08f3f0fff1997e3503c23590b
7
- data.tar.gz: 8d9ce3a8ea26843db34586f611c23630ce99e7a88d35ecaf04eaf85d6371f7e2e5c1e056c61621a00793609c7a86fa71512796795cb078072dd009d096406810
6
+ metadata.gz: 64ee2ab3f0a738b18bfea3c2e0fb77ecd4192d1d77ffed67f9a7b5437b4cb827ae8606348bd7e26d7c7e40354f707898c476c1a242e2ffed0d9c07ee38e3075f
7
+ data.tar.gz: 0dffc638ed9e2d93db6398b732bb6cc1cbbe2f23e0225770c1b49b03af9df88cb6f0c8005cda048d5aa043e1c1c59d83a00cb986c5befddf2b941f89f76bce7c
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/Rakefile CHANGED
@@ -1,7 +1,5 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/packagetask'
4
- require 'rubygems/package_task'
5
3
 
6
4
  require "#{__dir__}/lib/mmarkdown"
7
5
 
@@ -13,26 +11,27 @@ Rake::TestTask.new('test') do |t|
13
11
  t.warning = false
14
12
  end
15
13
 
16
- spec = Gem::Specification.new do |s|
17
- s.summary = "Markdown with MathML"
18
- s.name = "mmarkdown"
19
- s.author = "Hiroyuki Tanaka"
20
- s.email = "hryktnk@gmail.com"
21
- s.version = MMarkdown::VERSION
22
- s.files = `git ls-files`.split("\n")
23
- s.test_files = `git ls-files -- test/*`.split("\n")
24
- s.licenses = ["Ruby License"]
25
- s.require_paths = "lib"
26
- s.add_dependency("redcarpet", "~> 3.0")
27
- s.add_dependency("math_ml", "~> 0.14")
28
- s.add_development_dependency("nokogiri", "~> 1.0")
29
- s.description = <<-EOF
14
+ begin
15
+ require 'jeweler'
16
+ Jeweler::Tasks.new do |gem|
17
+ gem.name = "mmarkdown"
18
+ gem.summary = "Markdown with MathML"
19
+ gem.author = "Hiroyuki Tanaka"
20
+ gem.email = "hryktnk@gmail.com"
21
+ gem.version = MMarkdown::VERSION
22
+ gem.files = `git ls-files`.split("\n")
23
+ gem.test_files = `git ls-files -- test/*`.split("\n")
24
+ gem.licenses = ["Ruby License"]
25
+ gem.homepage = "http://github.com/tanahiro/mmarkdown"
26
+ gem.add_dependency("redcarpet", "~> 3.0")
27
+ gem.add_dependency("math_ml", "~> 0.14")
28
+ gem.add_development_dependency("nokogiri", "~> 1.0")
29
+ gem.add_development_dependency("jeweler", "~> 2.0")
30
+ gem.description = <<-EOF
30
31
  Convert Markdown to HTML with MathML
31
- EOF
32
- end
33
-
34
- Gem::PackageTask.new(spec) do |pkg|
35
- pkg.need_zip = false
36
- pkg.need_tar = false
32
+ EOF
33
+ end
34
+ rescue LoadError
35
+ puts "Jewelr not installed"
37
36
  end
38
37
 
@@ -2,7 +2,7 @@
2
2
  class MMarkdown
3
3
  VERSION_MAJOR = 0
4
4
  VERSION_MINOR = 0
5
- VERSION_REVISION = 1
5
+ VERSION_REVISION = 2
6
6
 
7
7
  VERSION = "#{VERSION_MAJOR}.#{VERSION_MINOR}.#{VERSION_REVISION}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Tanaka
@@ -52,13 +52,29 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jeweler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
55
69
  description: |
56
70
  Convert Markdown to HTML with MathML
57
71
  email: hryktnk@gmail.com
58
- executables: []
72
+ executables:
73
+ - mmarkdown
59
74
  extensions: []
60
75
  extra_rdoc_files: []
61
76
  files:
77
+ - ".gitignore"
62
78
  - Rakefile
63
79
  - bin/mmarkdown
64
80
  - lib/mmarkdown.rb
@@ -66,13 +82,14 @@ files:
66
82
  - test/test.html
67
83
  - test/test.md
68
84
  - test/test_mmarkdown.rb
69
- homepage:
85
+ homepage: http://github.com/tanahiro/mmarkdown
70
86
  licenses:
71
87
  - Ruby License
72
88
  metadata: {}
73
89
  post_install_message:
74
90
  rdoc_options: []
75
- require_paths: lib
91
+ require_paths:
92
+ - lib
76
93
  required_ruby_version: !ruby/object:Gem::Requirement
77
94
  requirements:
78
95
  - - ">="