markdown-ui 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +61 -6
  3. data/Changelog +27 -2
  4. data/Gemfile +15 -2
  5. data/components/collections/markdown-ui-grid/Gemfile +2 -0
  6. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/column/column.rb +0 -0
  7. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/grid.rb +0 -0
  8. data/{lib/markdown-ui → components/collections/markdown-ui-grid/lib}/grid/row/row.rb +0 -0
  9. data/components/collections/markdown-ui-grid/lib/grid/version.rb +5 -0
  10. data/components/collections/markdown-ui-grid/lib/markdown-ui-grid.rb +3 -0
  11. data/components/collections/markdown-ui-grid/markdown-ui-grid.gemspec +37 -0
  12. data/components/collections/markdown-ui-menu/Gemfile +2 -0
  13. data/components/collections/markdown-ui-menu/lib/markdown-ui-menu.rb +3 -0
  14. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/custom.rb +0 -0
  15. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/element.rb +0 -0
  16. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/pagination.rb +0 -0
  17. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/pointing.rb +0 -0
  18. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/secondary.rb +0 -0
  19. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/standard.rb +0 -0
  20. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/tabular.rb +0 -0
  21. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/text.rb +0 -0
  22. data/components/collections/markdown-ui-menu/lib/menu/version.rb +5 -0
  23. data/{lib/markdown-ui → components/collections/markdown-ui-menu/lib}/menu/vertical.rb +0 -0
  24. data/components/collections/markdown-ui-menu/markdown-ui-menu.gemspec +37 -0
  25. data/components/collections/markdown-ui-message/Gemfile +2 -0
  26. data/components/collections/markdown-ui-message/lib/markdown-ui-message.rb +3 -0
  27. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/custom_message.rb +0 -0
  28. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/list_message.rb +0 -0
  29. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/message.rb +0 -0
  30. data/{lib/markdown-ui → components/collections/markdown-ui-message/lib}/message/standard_message.rb +0 -0
  31. data/components/collections/markdown-ui-message/lib/message/version.rb +5 -0
  32. data/components/collections/markdown-ui-message/markdown-ui-message.gemspec +37 -0
  33. data/components/elements/markdown-ui-button/Gemfile +2 -0
  34. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/animated.rb +0 -0
  35. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/basic.rb +0 -0
  36. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/custom.rb +0 -0
  37. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/element.rb +0 -0
  38. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/focusable.rb +0 -0
  39. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/custom.rb +0 -0
  40. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/element.rb +0 -0
  41. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/icon.rb +0 -0
  42. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/group/buttons/standard.rb +0 -0
  43. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/icon.rb +0 -0
  44. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/labeled_icon.rb +0 -0
  45. data/{lib/markdown-ui → components/elements/markdown-ui-button/lib}/button/standard.rb +0 -0
  46. data/components/elements/markdown-ui-button/lib/button/version.rb +5 -0
  47. data/components/elements/markdown-ui-button/lib/markdown-ui-button.rb +3 -0
  48. data/components/elements/markdown-ui-button/markdown-ui-button.gemspec +37 -0
  49. data/components/elements/markdown-ui-container/Gemfile +2 -0
  50. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/center.rb +0 -0
  51. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/left.rb +0 -0
  52. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/alignment/right.rb +0 -0
  53. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/custom.rb +0 -0
  54. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/element.rb +0 -0
  55. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/standard.rb +0 -0
  56. data/{lib/markdown-ui → components/elements/markdown-ui-container/lib}/container/text.rb +0 -0
  57. data/components/elements/markdown-ui-container/lib/container/version.rb +5 -0
  58. data/components/elements/markdown-ui-container/lib/markdown-ui-container.rb +3 -0
  59. data/components/elements/markdown-ui-container/markdown-ui-container.gemspec +37 -0
  60. data/components/elements/markdown-ui-content/Gemfile +2 -0
  61. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/custom.rb +0 -0
  62. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/header.rb +0 -0
  63. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/icon.rb +0 -0
  64. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/item.rb +0 -0
  65. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/list.rb +0 -0
  66. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/parser.rb +0 -0
  67. data/{lib/markdown-ui → components/elements/markdown-ui-content/lib}/content/text.rb +0 -0
  68. data/components/elements/markdown-ui-content/lib/content/version.rb +5 -0
  69. data/components/elements/markdown-ui-content/lib/markdown-ui-content.rb +3 -0
  70. data/components/elements/markdown-ui-content/markdown-ui-content.gemspec +37 -0
  71. data/components/elements/markdown-ui-header/Gemfile +2 -0
  72. data/{lib/markdown-ui → components/elements/markdown-ui-header/lib}/header/header.rb +0 -0
  73. data/components/elements/markdown-ui-header/lib/header/version.rb +5 -0
  74. data/components/elements/markdown-ui-header/lib/markdown-ui-header.rb +3 -0
  75. data/components/elements/markdown-ui-header/markdown-ui-header.gemspec +37 -0
  76. data/components/elements/markdown-ui-label/Gemfile +2 -0
  77. data/{lib/markdown-ui → components/elements/markdown-ui-label/lib}/label/custom.rb +0 -0
  78. data/{lib/markdown-ui → components/elements/markdown-ui-label/lib}/label/element.rb +0 -0
  79. data/components/elements/markdown-ui-label/lib/label/version.rb +5 -0
  80. data/components/elements/markdown-ui-label/lib/markdown-ui-label.rb +3 -0
  81. data/components/elements/markdown-ui-label/markdown-ui-label.gemspec +37 -0
  82. data/components/elements/markdown-ui-segment/Gemfile +2 -0
  83. data/components/elements/markdown-ui-segment/lib/markdown-ui-segment.rb +3 -0
  84. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/custom_segment.rb +0 -0
  85. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/horizontal_segment.rb +0 -0
  86. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/padded_segment.rb +0 -0
  87. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/piled_segment.rb +0 -0
  88. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/segment.rb +0 -0
  89. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/stacked_segment.rb +0 -0
  90. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/standard_segment.rb +0 -0
  91. data/components/elements/markdown-ui-segment/lib/segment/version.rb +5 -0
  92. data/{lib/markdown-ui → components/elements/markdown-ui-segment/lib}/segment/vertical_segment.rb +0 -0
  93. data/components/elements/markdown-ui-segment/markdown-ui-segment.gemspec +37 -0
  94. data/lib/markdown-ui.rb +5 -0
  95. data/lib/markdown-ui/collection.rb +7 -0
  96. data/lib/markdown-ui/element.rb +7 -0
  97. data/lib/markdown-ui/tag/item_tag.rb +2 -2
  98. data/lib/markdown-ui/version.rb +1 -1
  99. data/website/index.html +24 -8
  100. data/website/index.md +23 -8
  101. metadata +93 -55
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dcba2629af4d329f6aa5f684597759b4ad854f3
4
- data.tar.gz: 70e1b8f199c0ff6246d93197fc0be1088598865c
3
+ metadata.gz: b70222e42eaa13906efa24482be04882ef04c393
4
+ data.tar.gz: ba58a736a5c579f5115e30006a6af601b7683d8a
5
5
  SHA512:
6
- metadata.gz: 83de2e442063fdb4b03fcebcfc4b072fa4a88263e96bd372ba97baf6b42ac158910feb20aa3d80d91bf65195db734fe9ca4481c681412408810cf7ac1471d78e
7
- data.tar.gz: 2d6d3fb86ee84f7e5b0e6c94580d5cc1fa481bd18037e5a1e5ece07b0e180a61d7d587b08e26db400df6b75d4ae13c6842a93c7be4ccd97672b6baf25ae44b3d
6
+ metadata.gz: 75954e9e390ec81f40f57e64c8df4324a2c575fa6aff589e65d2f243bd53ca1a02c0bdc216731114c01acfaee00a081708c2ad940b1a0fa761d700e5a84acd4b
7
+ data.tar.gz: 31c41e066e67ca95ceec9419a620afb500dfb4930aaa9903b238d23d0622149988cb94175209f0631e1a14bca3b9bb1b660dc34f35f555e8bc33af5da391284c
data/.gitignore CHANGED
@@ -1,10 +1,65 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
1
+ # Created by https://www.gitignore.io
2
+
3
+ ### Ruby ###
4
+ *.gem
5
+ *.rbc
6
+ /.config
5
7
  /coverage/
6
- /doc/
8
+ /InstalledFiles
7
9
  /pkg/
8
10
  /spec/reports/
11
+ /test/tmp/
12
+ /test/version_tmp/
9
13
  /tmp/
10
- /vendor/
14
+
15
+ ## Specific to RubyMotion:
16
+ .dat*
17
+ .repl_history
18
+ build/
19
+
20
+ ## Documentation cache and generated files:
21
+ /.yardoc/
22
+ /_yardoc/
23
+ /doc/
24
+ /rdoc/
25
+
26
+ ## Environment normalisation:
27
+ /.bundle/
28
+ /vendor/bundle
29
+ /lib/bundler/man/
30
+
31
+ # for a library or gem, you might want to ignore these files since the code is
32
+ # intended to run in multiple environments; otherwise, check them in:
33
+ Gemfile.lock
34
+ .ruby-version
35
+ .ruby-gemset
36
+
37
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
38
+ .rvmrc
39
+
40
+ ### OSX ###
41
+ .DS_Store
42
+ .AppleDouble
43
+ .LSOverride
44
+
45
+ # Icon must end with two \r
46
+ Icon
47
+
48
+
49
+ # Thumbnails
50
+ ._*
51
+
52
+ # Files that might appear in the root of a volume
53
+ .DocumentRevisions-V100
54
+ .fseventsd
55
+ .Spotlight-V100
56
+ .TemporaryItems
57
+ .Trashes
58
+ .VolumeIcon.icns
59
+
60
+ # Directories potentially created on remote AFP share
61
+ .AppleDB
62
+ .AppleDesktop
63
+ Network Trash Folder
64
+ Temporary Items
65
+ .apdisk
data/Changelog CHANGED
@@ -1,7 +1,32 @@
1
- 0.1.4
1
+ 0.1.6 - 08-05-15
2
+ * Fix component not resolving components in CLI tool
3
+ * Componentize
4
+ * Elements
5
+ - button
6
+ - container
7
+ - content
8
+ - header
9
+ - label
10
+ - segment
11
+ * Collections
12
+ - grid
13
+ - menu
14
+ - message
15
+
16
+ 0.1.5 - 08-04-15
17
+ * Componentize
18
+ * Elements
19
+ - button
20
+ - container
21
+ - content
22
+ * Collections
23
+ - grid
24
+
25
+ 0.1.4 - 08-04-15
2
26
  * Documentation updates
3
27
  * Added Badges
4
- * Make viewport to be mobile ready
28
+ * Optimize Viewport for Mobile
29
+ * Componentize Elements
5
30
 
6
31
  0.1.3 - 07-21-15
7
32
  * Add Bundler as a dependency
data/Gemfile CHANGED
@@ -1,4 +1,17 @@
1
1
  source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in markdown-ui.gemspec
4
2
  gemspec
3
+
4
+ group :elements do
5
+ gem 'markdown-ui-button', :path => 'components/elements/markdown-ui-button/'
6
+ gem 'markdown-ui-container', :path => 'components/elements/markdown-ui-container/'
7
+ gem 'markdown-ui-content', :path => 'components/elements/markdown-ui-content/'
8
+ gem 'markdown-ui-header', :path => 'components/elements/markdown-ui-header/'
9
+ gem 'markdown-ui-label', :path => 'components/elements/markdown-ui-label/'
10
+ gem 'markdown-ui-segment', :path => 'components/elements/markdown-ui-segment/'
11
+ end
12
+
13
+ group :collections do
14
+ gem 'markdown-ui-grid', :path => 'components/collections/markdown-ui-grid/'
15
+ gem 'markdown-ui-menu', :path => 'components/collections/markdown-ui-menu/'
16
+ gem 'markdown-ui-message', :path => 'components/collections/markdown-ui-message/'
17
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module GridElement
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['grid/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'grid/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-grid"
8
+ spec.version = MarkdownUI::GridElement::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
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
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,3 @@
1
+ ['menu/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module Menu
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'menu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-menu"
8
+ spec.version = MarkdownUI::Menu::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
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
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,3 @@
1
+ ['message/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module MessageElement
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'message/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-message"
8
+ spec.version = MarkdownUI::MessageElement::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
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
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -0,0 +1,5 @@
1
+ module MarkdownUI
2
+ module Button
3
+ VERSION = '0.1'
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ ['button/**/*.rb'].each do |dir|
2
+ Dir[File.join(File.dirname(__FILE__), dir)].sort.each { |f| require_relative f }
3
+ end
@@ -0,0 +1,37 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'button/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "markdown-ui-button"
8
+ spec.version = MarkdownUI::Button::VERSION
9
+ spec.authors = ["Joel Bryan Juliano"]
10
+ spec.email = ["joelbryan.juliano@gmail.com"]
11
+
12
+ spec.summary = %q{Responsive User Interfaces in Markdown}
13
+ spec.description = %q{Create responsive UI/UX for mobile and web using Markdown Syntax}
14
+ spec.homepage = "https://github.com/jjuliano/markdown-ui"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_dependency 'bundler', '~> 1.10', '~> 1.9'
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
+ end
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec