markdown-ui 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +8 -1
- data/Gemfile +28 -10
- data/TODO.md +1 -1
- data/components/collections/markdown-ui-grid/Gemfile +1 -1
- data/components/collections/markdown-ui-grid/markdown-ui-grid.gemspec +15 -15
- data/components/collections/markdown-ui-menu/Gemfile +1 -1
- data/components/collections/markdown-ui-menu/lib/menu/custom.rb +0 -1
- data/components/collections/markdown-ui-menu/markdown-ui-menu.gemspec +15 -15
- data/components/collections/markdown-ui-message/Gemfile +1 -1
- data/components/collections/markdown-ui-message/lib/message/custom_message.rb +0 -1
- data/components/collections/markdown-ui-message/markdown-ui-message.gemspec +15 -15
- data/components/elements/markdown-ui-button/Gemfile +1 -1
- data/components/elements/markdown-ui-button/lib/button/animated.rb +2 -2
- data/components/elements/markdown-ui-button/lib/button/custom.rb +0 -1
- data/components/elements/markdown-ui-button/lib/button/element.rb +19 -15
- data/components/elements/markdown-ui-button/lib/button/group/buttons/element.rb +1 -1
- data/components/elements/markdown-ui-button/markdown-ui-button.gemspec +15 -15
- data/components/elements/markdown-ui-container/Gemfile +1 -1
- data/components/elements/markdown-ui-container/lib/container/element.rb +1 -1
- data/components/elements/markdown-ui-container/markdown-ui-container.gemspec +15 -15
- data/components/elements/markdown-ui-content/Gemfile +1 -1
- data/components/elements/markdown-ui-content/lib/content/divider_block.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/field_block.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/form_block.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/header.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/icon.rb +2 -2
- data/components/elements/markdown-ui-content/lib/content/input_block.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/item.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/item_block.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/list.rb +1 -1
- data/components/elements/markdown-ui-content/lib/content/parser.rb +31 -23
- data/components/elements/markdown-ui-content/markdown-ui-content.gemspec +15 -15
- data/components/elements/markdown-ui-header/Gemfile +1 -1
- data/components/elements/markdown-ui-header/lib/header/header.rb +5 -5
- data/components/elements/markdown-ui-header/markdown-ui-header.gemspec +15 -15
- data/components/elements/markdown-ui-input/Gemfile +1 -1
- data/components/elements/markdown-ui-input/lib/input/custom.rb +0 -1
- data/components/elements/markdown-ui-input/markdown-ui-input.gemspec +15 -15
- data/components/elements/markdown-ui-label/Gemfile +1 -1
- data/components/elements/markdown-ui-label/lib/label/custom.rb +0 -1
- data/components/elements/markdown-ui-label/markdown-ui-label.gemspec +15 -15
- data/components/elements/markdown-ui-segment/Gemfile +1 -1
- data/components/elements/markdown-ui-segment/lib/segment/segment.rb +17 -13
- data/components/elements/markdown-ui-segment/markdown-ui-segment.gemspec +15 -15
- data/exe/markdown-ui +11 -11
- data/exe/markdown-ui-shell +31 -0
- data/lib/markdown-ui.rb +47 -43
- data/lib/markdown-ui/tag/button_tag.rb +2 -2
- data/lib/markdown-ui/tag/focusable_button_tag.rb +3 -3
- data/lib/markdown-ui/tag/input_tag.rb +3 -3
- data/lib/markdown-ui/tag/item_tag.rb +2 -2
- data/lib/markdown-ui/tag/label_tag.rb +2 -2
- data/lib/markdown-ui/tag/list_tag.rb +2 -2
- data/lib/markdown-ui/tag/span_tag.rb +1 -1
- data/lib/markdown-ui/tag/standard_tag.rb +2 -2
- data/lib/markdown-ui/utils/klass_util.rb +1 -1
- data/lib/markdown-ui/version.rb +1 -1
- data/markdown-ui.gemspec +2 -1
- data/website/about.html +8 -8
- data/website/docs/button.html +8 -8
- data/website/docs/container.html +26 -23
- data/website/docs/divider.html +8 -8
- data/website/docs/toc.html +8 -8
- data/website/index.html +42 -27
- data/website/index.md +38 -20
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2b8d70e2a97b8b87cf9d5f1d7a8297d92e29eff
|
4
|
+
data.tar.gz: aef142d60313c8d24ba027b5d7c6990e858ed404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2443d6ec896ff8fb610a3abd8127fce415992731af9fddf7c70f858f64f8dd4718ba37b6cfd25712e4c4dfd4a1dabb321f8ec1458dbdf239c64227909fa6e095
|
7
|
+
data.tar.gz: fd824860dfdaf5db4d11d744d59dc5355376575498adfde07a3b3dace2dfc4049585fb75396c411d21d089c96c7941c22d7303a1936b3cad1bfa2a3b48ad2f62
|
data/Changelog
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
0.1.15 - 11-6-15
|
2
|
+
* Updated Semantic-UI to 2.1.5
|
3
|
+
* Added inverted segment variation test
|
4
|
+
* Added initial 'markdown-ui-shell' CLI for Markdown-UI REPL
|
5
|
+
* Add byebug as a development dependency
|
6
|
+
* Elements will not be parsed when empty params
|
7
|
+
|
1
8
|
0.1.14 - 09-21-15
|
2
9
|
* Updated Semantic-UI to 2.1.4
|
3
10
|
* Fixed Button group sizes example
|
@@ -190,4 +197,4 @@
|
|
190
197
|
- loading state
|
191
198
|
- inverted variation
|
192
199
|
- attached variation
|
193
|
-
- padded
|
200
|
+
- padded
|
data/Gemfile
CHANGED
@@ -2,17 +2,35 @@ source 'https://rubygems.org'
|
|
2
2
|
gemspec
|
3
3
|
|
4
4
|
group :elements do
|
5
|
-
gem 'markdown-ui-button',
|
6
|
-
|
7
|
-
|
8
|
-
gem 'markdown-ui-
|
9
|
-
|
10
|
-
|
11
|
-
gem 'markdown-ui-
|
5
|
+
gem 'markdown-ui-button', \
|
6
|
+
path: 'components/elements/markdown-ui-button/'
|
7
|
+
|
8
|
+
gem 'markdown-ui-container', \
|
9
|
+
path: 'components/elements/markdown-ui-container/'
|
10
|
+
|
11
|
+
gem 'markdown-ui-content', \
|
12
|
+
path: 'components/elements/markdown-ui-content/'
|
13
|
+
|
14
|
+
gem 'markdown-ui-header', \
|
15
|
+
path: 'components/elements/markdown-ui-header/'
|
16
|
+
|
17
|
+
gem 'markdown-ui-label', \
|
18
|
+
path: 'components/elements/markdown-ui-label/'
|
19
|
+
|
20
|
+
gem 'markdown-ui-segment', \
|
21
|
+
path: 'components/elements/markdown-ui-segment/'
|
22
|
+
|
23
|
+
gem 'markdown-ui-input', \
|
24
|
+
path: 'components/elements/markdown-ui-input/'
|
12
25
|
end
|
13
26
|
|
14
27
|
group :collections do
|
15
|
-
gem 'markdown-ui-grid',
|
16
|
-
|
17
|
-
|
28
|
+
gem 'markdown-ui-grid', \
|
29
|
+
path: 'components/collections/markdown-ui-grid/'
|
30
|
+
|
31
|
+
gem 'markdown-ui-menu', \
|
32
|
+
path: 'components/collections/markdown-ui-menu/'
|
33
|
+
|
34
|
+
gem 'markdown-ui-message', \
|
35
|
+
path: 'components/collections/markdown-ui-message/'
|
18
36
|
end
|
data/TODO.md
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
gemspec
|
@@ -4,34 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'grid/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'markdown-ui-grid'
|
8
8
|
spec.version = MarkdownUI::GridElement::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Joel Bryan Juliano']
|
10
|
+
spec.email = ['joelbryan.juliano@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Responsive User Interfaces in Markdown}
|
13
13
|
spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
14
|
+
spec.homepage = 'https://github.com/jjuliano/markdown-ui'
|
15
|
+
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] =
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
else
|
22
|
-
raise
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
23
|
end
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir =
|
26
|
+
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = [
|
28
|
+
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
31
|
+
spec.add_dependency 'redcarpet', '~> 3.2'
|
32
|
+
spec.add_dependency 'nokogiri', '~> 1.6'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'test-unit', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
37
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
gemspec
|
@@ -4,34 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'menu/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'markdown-ui-menu'
|
8
8
|
spec.version = MarkdownUI::Menu::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Joel Bryan Juliano']
|
10
|
+
spec.email = ['joelbryan.juliano@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Responsive User Interfaces in Markdown}
|
13
13
|
spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
14
|
+
spec.homepage = 'https://github.com/jjuliano/markdown-ui'
|
15
|
+
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] =
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
else
|
22
|
-
raise
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
23
|
end
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir =
|
26
|
+
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = [
|
28
|
+
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
31
|
+
spec.add_dependency 'redcarpet', '~> 3.2'
|
32
|
+
spec.add_dependency 'nokogiri', '~> 1.6'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'test-unit', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
37
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
gemspec
|
@@ -4,34 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'message/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'markdown-ui-message'
|
8
8
|
spec.version = MarkdownUI::MessageElement::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Joel Bryan Juliano']
|
10
|
+
spec.email = ['joelbryan.juliano@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Responsive User Interfaces in Markdown}
|
13
13
|
spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
14
|
+
spec.homepage = 'https://github.com/jjuliano/markdown-ui'
|
15
|
+
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] =
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
else
|
22
|
-
raise
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
23
|
end
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir =
|
26
|
+
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = [
|
28
|
+
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
31
|
+
spec.add_dependency 'redcarpet', '~> 3.2'
|
32
|
+
spec.add_dependency 'nokogiri', '~> 1.6'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'test-unit', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
37
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
gemspec
|
@@ -20,8 +20,8 @@ module MarkdownUI::Button
|
|
20
20
|
content << visible_content
|
21
21
|
content << hidden_content
|
22
22
|
else
|
23
|
-
content << MarkdownUI::StandardTag.new(visible_content,
|
24
|
-
content << MarkdownUI::StandardTag.new(hidden_content,
|
23
|
+
content << MarkdownUI::StandardTag.new(visible_content, 'visible content').render
|
24
|
+
content << MarkdownUI::StandardTag.new(hidden_content, 'hidden content').render
|
25
25
|
end
|
26
26
|
|
27
27
|
MarkdownUI::StandardTag.new(content.join, klass, _id).render
|
@@ -34,21 +34,25 @@ module MarkdownUI::Button
|
|
34
34
|
:basic? => element.grep(/basic/i).any?
|
35
35
|
)
|
36
36
|
|
37
|
-
if
|
38
|
-
|
39
|
-
|
40
|
-
icon
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
37
|
+
if content
|
38
|
+
if standard_button?(mode) && element.size > 1
|
39
|
+
MarkdownUI::Button::Custom.new(element, content, klass, _id).render
|
40
|
+
elsif mode.icon? && mode.labeled?
|
41
|
+
icon, label = content
|
42
|
+
MarkdownUI::Button::LabeledIcon.new(icon, label, klass, _id).render
|
43
|
+
elsif mode.icon? && !mode.labeled?
|
44
|
+
MarkdownUI::Button::Icon.new(content, klass, _id).render
|
45
|
+
elsif mode.focusable?
|
46
|
+
MarkdownUI::Button::Focusable.new(content, klass, _id).render
|
47
|
+
elsif mode.basic?
|
48
|
+
MarkdownUI::Button::Basic.new(content, klass, _id).render
|
49
|
+
elsif mode.animated?
|
50
|
+
MarkdownUI::Button::Animated.new(content, klass, _id).render
|
51
|
+
elsif standard_button?(mode)
|
52
|
+
MarkdownUI::Button::Standard.new(content, klass, _id).render
|
53
|
+
end
|
54
|
+
else
|
55
|
+
MarkdownUI::Button::Custom.new(element, '', klass, _id).render
|
52
56
|
end
|
53
57
|
end
|
54
58
|
|
@@ -14,7 +14,7 @@ module MarkdownUI::Button
|
|
14
14
|
:icon? => !(element =~ /icon/i).nil?
|
15
15
|
)
|
16
16
|
|
17
|
-
if element.length ==
|
17
|
+
if element.length == 'buttons'.length
|
18
18
|
MarkdownUI::Button::Group::Buttons::Standard.new(element, content).render
|
19
19
|
elsif mode.icon?
|
20
20
|
MarkdownUI::Button::Group::Buttons::Icon.new(element, content).render
|
@@ -4,34 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'button/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'markdown-ui-button'
|
8
8
|
spec.version = MarkdownUI::Button::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Joel Bryan Juliano']
|
10
|
+
spec.email = ['joelbryan.juliano@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Responsive User Interfaces in Markdown}
|
13
13
|
spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
14
|
+
spec.homepage = 'https://github.com/jjuliano/markdown-ui'
|
15
|
+
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] =
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
else
|
22
|
-
raise
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
23
|
end
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir =
|
26
|
+
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = [
|
28
|
+
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
31
|
+
spec.add_dependency 'redcarpet', '~> 3.2'
|
32
|
+
spec.add_dependency 'nokogiri', '~> 1.6'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'test-unit', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
37
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
gemspec
|
@@ -19,7 +19,7 @@ module MarkdownUI::Container
|
|
19
19
|
:aligned? => !(element =~ /aligned/i).nil?
|
20
20
|
)
|
21
21
|
|
22
|
-
if element.length ==
|
22
|
+
if element.length == 'container'.length
|
23
23
|
MarkdownUI::Container::Standard.new(element, content).render
|
24
24
|
elsif mode.left? && mode.aligned?
|
25
25
|
MarkdownUI::Container::Alignment::Left.new(element, content).render
|
@@ -4,34 +4,34 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'container/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'markdown-ui-container'
|
8
8
|
spec.version = MarkdownUI::Container::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Joel Bryan Juliano']
|
10
|
+
spec.email = ['joelbryan.juliano@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = %q{Responsive User Interfaces in Markdown}
|
13
13
|
spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
14
|
+
spec.homepage = 'https://github.com/jjuliano/markdown-ui'
|
15
|
+
spec.license = 'MIT'
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
19
19
|
if spec.respond_to?(:metadata)
|
20
|
-
spec.metadata['allowed_push_host'] =
|
20
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
21
21
|
else
|
22
|
-
raise
|
22
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
23
23
|
end
|
24
24
|
|
25
25
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
spec.bindir =
|
26
|
+
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = [
|
28
|
+
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
|
31
|
-
spec.add_dependency
|
32
|
-
spec.add_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
spec.add_development_dependency
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
31
|
+
spec.add_dependency 'redcarpet', '~> 3.2'
|
32
|
+
spec.add_dependency 'nokogiri', '~> 1.6'
|
33
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
+
spec.add_development_dependency 'test-unit', '~> 3.0'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.10'
|
36
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
37
|
end
|