nippocf 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nippocf/cli.rb +2 -3
- data/lib/nippocf/version.rb +1 -1
- data/nippocf.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e8b923c941851dfc87130d1509707d2bb4f95fe
|
4
|
+
data.tar.gz: f18dd35a9111c74e654542cf2daf7efada84d237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25e851602496813d845042fc50b2e87e1d53b09a1ddecdf9f023a3249aea7ac42b148df27744309fa73bd96cd8c001ae4188c6619f79ab2d02967f96bf12a582
|
7
|
+
data.tar.gz: 914bf67e9c659bedc4bd2d58fc883c434de6fe33e98f68b1e4fe24fe8faa1c4d8c6f33f252bb82594d9def0120c87c0745eba26edaffa376543efcba6bad624d
|
data/lib/nippocf/cli.rb
CHANGED
@@ -2,7 +2,7 @@ require 'nippocf'
|
|
2
2
|
require 'keychain'
|
3
3
|
require 'io/console'
|
4
4
|
require 'confluence/confluence_connector'
|
5
|
-
require '
|
5
|
+
require 'github/markdown'
|
6
6
|
require 'tmpdir'
|
7
7
|
require 'nokogiri'
|
8
8
|
require 'optparse'
|
@@ -59,8 +59,7 @@ module Nippocf
|
|
59
59
|
markdown_text = File.read(filename)
|
60
60
|
end
|
61
61
|
|
62
|
-
|
63
|
-
entry['content'] = markdown.render(markdown_text)
|
62
|
+
entry['content'] = GitHub::Markdown.render(markdown_text)
|
64
63
|
entry['content'] << "<div class=\"markdown_source\" style=\"display:none\">#{markdown_text}</div>"
|
65
64
|
rpc.storeBlogEntry(entry)
|
66
65
|
end
|
data/lib/nippocf/version.rb
CHANGED
data/nippocf.gemspec
CHANGED
@@ -17,7 +17,7 @@ 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_dependency "
|
20
|
+
spec.add_dependency "github-markdown"
|
21
21
|
spec.add_dependency "nokogiri"
|
22
22
|
spec.add_dependency "ruby-keychain"
|
23
23
|
spec.add_dependency "socksify"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nippocf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2014-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: github-markdown
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|