usmu 0.1.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.cane +4 -0
  3. data/.gitignore +17 -0
  4. data/.rspec +5 -0
  5. data/.travis.yml +34 -0
  6. data/.yardopts +1 -0
  7. data/Gemfile +4 -0
  8. data/Gemfile-jruby +4 -0
  9. data/LICENSE.md +22 -0
  10. data/README.md +50 -0
  11. data/Rakefile +61 -0
  12. data/bin/usmu +10 -0
  13. data/cucumber.yml +2 -0
  14. data/lib/usmu/configuration.rb +83 -0
  15. data/lib/usmu/layout.rb +166 -0
  16. data/lib/usmu/page.rb +19 -0
  17. data/lib/usmu/site_generator.rb +82 -0
  18. data/lib/usmu/static_file.rb +39 -0
  19. data/lib/usmu/ui/console.rb +26 -0
  20. data/lib/usmu/ui.rb +7 -0
  21. data/lib/usmu/version.rb +5 -0
  22. data/lib/usmu.rb +12 -0
  23. data/test/expected-site/default.html +3 -0
  24. data/test/expected-site/embedded.html +15 -0
  25. data/test/expected-site/index.html +14 -0
  26. data/test/expected-site/robots.txt +1 -0
  27. data/test/features/generator.feature +10 -0
  28. data/test/features/step_definitions/step_general.rb +18 -0
  29. data/test/site/content/default.md +3 -0
  30. data/test/site/content/embedded.md +1 -0
  31. data/test/site/content/embedded.meta.yml +2 -0
  32. data/test/site/content/index.md +3 -0
  33. data/test/site/content/index.meta.yml +3 -0
  34. data/test/site/content/robots.txt +1 -0
  35. data/test/site/layouts/embedded.meta.yml +2 -0
  36. data/test/site/layouts/embedded.slim +2 -0
  37. data/test/site/layouts/html.meta.yml +2 -0
  38. data/test/site/layouts/html.slim +8 -0
  39. data/test/site/usmu.yml +15 -0
  40. data/test/spec/configuration_spec.rb +51 -0
  41. data/test/spec/layout_spec.rb +27 -0
  42. data/test/spec/page_spec.rb +15 -0
  43. data/test/spec/site_generator_spec.rb +32 -0
  44. data/test/spec/spec_helper.rb +85 -0
  45. data/test/spec/static_file_spec.rb +20 -0
  46. data/test/spec/support/shared_layout.rb +111 -0
  47. data/usmu-jruby.gemspec +34 -0
  48. data/usmu.gemspec +35 -0
  49. metadata +285 -0
data/lib/usmu.rb ADDED
@@ -0,0 +1,12 @@
1
+ %W{
2
+ usmu/version
3
+ usmu/configuration
4
+ usmu/static_file
5
+ usmu/layout
6
+ usmu/page
7
+ usmu/site_generator
8
+ }.each { |f| require f }
9
+
10
+ # This module contains all the code for the Usmu site generator
11
+ module Usmu
12
+ end
@@ -0,0 +1,3 @@
1
+ <h1>Default output</h1>
2
+
3
+ <p>No metadata for this file. Uh oh!</p>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Default Title | Testing website</title>
5
+ </head>
6
+ <body>
7
+ <div id="content">
8
+ <div class="embedded">
9
+ <h1>Embedded test</h1>
10
+
11
+ </div>
12
+
13
+ </div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Default Title | Testing website</title>
5
+ </head>
6
+ <body>
7
+ <div id="content">
8
+ <h1>Test index</h1>
9
+
10
+ <p>This is some test content</p>
11
+
12
+ </div>
13
+ </body>
14
+ </html>
@@ -0,0 +1 @@
1
+ User-agent: *
@@ -0,0 +1,10 @@
1
+
2
+ Feature:
3
+ In order to create a website
4
+ As a user
5
+ I would like to generate a static website
6
+
7
+ Scenario:
8
+ Given I have a site at "test/site"
9
+ When I generate the site
10
+ Then the destination directory should match "test/expected-site"
@@ -0,0 +1,18 @@
1
+ require 'usmu/ui/console'
2
+ require 'open3'
3
+
4
+ Given(/^I have a site at "([^"]*)"$/) do |location|
5
+ @site = Usmu::Ui::Console.new([location])
6
+ end
7
+
8
+ When(/^I generate the site$/) do
9
+ @site.execute
10
+ end
11
+
12
+ Then(/^the destination directory should match "([^"]*)"$/) do |test_folder|
13
+ run = %W{diff -qr #{@site.configuration.destination_path} #{test_folder}}
14
+ Open3.popen2e(*run) do |i, o, t|
15
+ output = run.join(' ') + "\n" + o.read
16
+ fail output if t.value != 0
17
+ end
18
+ end
@@ -0,0 +1,3 @@
1
+ # Default output
2
+
3
+ No metadata for this file. Uh oh!
@@ -0,0 +1 @@
1
+ # Embedded test
@@ -0,0 +1,2 @@
1
+ ---
2
+ layout: embedded
@@ -0,0 +1,3 @@
1
+ # Test index
2
+
3
+ This is some test content
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Index page
3
+ layout: html
@@ -0,0 +1 @@
1
+ User-agent: *
@@ -0,0 +1,2 @@
1
+ ---
2
+ layout: html
@@ -0,0 +1,2 @@
1
+ .embedded
2
+ | #{{content}}
@@ -0,0 +1,2 @@
1
+ ---
2
+ title: Default Title
@@ -0,0 +1,8 @@
1
+ doctype html
2
+ html
3
+ head
4
+ title #{title} | #{site['title']}
5
+
6
+ body
7
+ #content
8
+ | #{{content}}
@@ -0,0 +1,15 @@
1
+ ---
2
+
3
+ source: content
4
+ destination: site
5
+ title: Testing website
6
+
7
+ default meta:
8
+ title: Test website
9
+ layout: html
10
+
11
+ slim:
12
+ :pretty: true
13
+
14
+ kramdown:
15
+ :auto_ids: false
@@ -0,0 +1,51 @@
1
+ require 'rspec'
2
+ require 'usmu/configuration'
3
+
4
+ RSpec.describe Usmu::Configuration do
5
+ context 'should prepend configuration folder' do
6
+ before do
7
+ hash = {
8
+ 'source' => 'source',
9
+ 'destination' => 'destination',
10
+ 'layouts' => 'templates',
11
+ }
12
+ @configuration = Usmu::Configuration.from_hash(hash, 'test/usmu.yaml')
13
+ end
14
+
15
+ it 'to source' do
16
+ expect(@configuration.source_path).to eq('test/source')
17
+ end
18
+
19
+ it 'to destination' do
20
+ expect(@configuration.destination_path).to eq('test/destination')
21
+ end
22
+
23
+ it 'to layouts' do
24
+ expect(@configuration.layouts_path).to eq('test/templates')
25
+ end
26
+ end
27
+
28
+ context 'should have a default path' do
29
+ before do
30
+ hash = {}
31
+ @configuration = Usmu::Configuration.from_hash(hash)
32
+ end
33
+
34
+ it 'for source' do
35
+ expect(@configuration.source_path).to eq('src')
36
+ end
37
+
38
+ it 'for destination' do
39
+ expect(@configuration.destination_path).to eq('site')
40
+ end
41
+
42
+ it 'for layouts' do
43
+ expect(@configuration.layouts_path).to eq('layouts')
44
+ end
45
+ end
46
+
47
+ it 'should remember arbitrary configuration' do
48
+ configuration = Usmu::Configuration.from_hash({:test => 'foo'})
49
+ expect(configuration[:test]).to eq('foo')
50
+ end
51
+ end
@@ -0,0 +1,27 @@
1
+ require 'rspec'
2
+ require 'support/shared_layout'
3
+ require 'usmu/layout'
4
+
5
+ RSpec.describe Usmu::Layout do
6
+ it_behaves_like 'an embeddable layout'
7
+
8
+ let(:configuration) { Usmu::Configuration.from_file('test/site/usmu.yml') }
9
+
10
+ it 'uses the \'layouts\' folder' do
11
+ layout = Usmu::Layout.new(configuration, 'html.slim')
12
+ rendered = layout.render({'content' => 'test'})
13
+ expect(rendered).to eq(<<-EOF)
14
+ <!DOCTYPE html>
15
+ <html>
16
+ <head>
17
+ <title>Default Title | Testing website</title>
18
+ </head>
19
+ <body>
20
+ <div id="content">
21
+ test
22
+ </div>
23
+ </body>
24
+ </html>
25
+ EOF
26
+ end
27
+ end
@@ -0,0 +1,15 @@
1
+ require 'rspec'
2
+ require 'support/shared_layout'
3
+ require 'usmu/page'
4
+
5
+ RSpec.describe Usmu::Page do
6
+ it_behaves_like 'an embeddable layout'
7
+
8
+ let(:configuration) { Usmu::Configuration.from_file('test/site/usmu.yml') }
9
+
10
+ it 'uses the \'source\' folder' do
11
+ page = Usmu::Page.new(configuration, 'index.md')
12
+ rendered = page.render({})
13
+ expect(rendered).to eq(File.read('test/expected-site/index.html'))
14
+ end
15
+ end
@@ -0,0 +1,32 @@
1
+ require 'rspec'
2
+ require 'usmu/site_generator'
3
+
4
+ RSpec.describe Usmu::SiteGenerator do
5
+ let(:configuration) { Usmu::Configuration.from_file('test/site/usmu.yml') }
6
+ let(:generator) { Usmu::SiteGenerator.new(configuration) }
7
+
8
+ it 'should have layouts' do
9
+ expect(generator.respond_to? :layouts).to eq(true)
10
+ expect(generator.layouts.map {|l| l.name}.sort).to eq(%w{embedded.slim html.slim})
11
+ end
12
+
13
+ it 'should have a list of renderable items' do
14
+ expect(generator.respond_to? :renderables).to eq(true)
15
+ expect(generator.renderables.map {|r| r.name}.sort).to eq(%w{default.md embedded.md index.md robots.txt})
16
+ end
17
+
18
+ it 'should have pages' do
19
+ expect(generator.respond_to? :pages).to eq(true)
20
+ expect(generator.pages.map {|p| p.name}.sort).to eq(%w{default.md embedded.md index.md})
21
+ end
22
+
23
+ it 'should have files' do
24
+ expect(generator.respond_to? :files).to eq(true)
25
+ expect(generator.files.map {|f| f.name}.sort).to eq(%w{robots.txt})
26
+ end
27
+
28
+ it 'should be able to generate a site' do
29
+ expect(generator.respond_to? :generate).to eq(true)
30
+ # Further testing is exercised at the system integration level in the cukes.
31
+ end
32
+ end
@@ -0,0 +1,85 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+ # rspec-expectations config goes here. You can use an alternate
19
+ # assertion/expectation library such as wrong or the stdlib/minitest
20
+ # assertions if you prefer.
21
+ config.expect_with :rspec do |expectations|
22
+ # This option will default to `true` in RSpec 4. It makes the `description`
23
+ # and `failure_message` of custom matchers include text for helper methods
24
+ # defined using `chain`, e.g.:
25
+ # be_bigger_than(2).and_smaller_than(4).description
26
+ # # => "be bigger than 2 and smaller than 4"
27
+ # ...rather than:
28
+ # # => "be bigger than 2"
29
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
30
+ end
31
+
32
+ # rspec-mocks config goes here. You can use an alternate test double
33
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
34
+ config.mock_with :rspec do |mocks|
35
+ # Prevents you from mocking or stubbing a method that does not exist on
36
+ # a real object. This is generally recommended, and will default to
37
+ # `true` in RSpec 4.
38
+ mocks.verify_partial_doubles = true
39
+ end
40
+
41
+ # These two settings work together to allow you to limit a spec run
42
+ # to individual examples or groups you care about by tagging them with
43
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
44
+ # get run.
45
+ config.filter_run :focus
46
+ config.run_all_when_everything_filtered = true
47
+
48
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
49
+ # For more details, see:
50
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
51
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
52
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
53
+ config.disable_monkey_patching!
54
+
55
+ # This setting enables warnings. It's recommended, but in some cases may
56
+ # be too noisy due to issues in dependencies.
57
+ config.warnings = true
58
+
59
+ # Many RSpec users commonly either run the entire suite or an individual
60
+ # file, and it's useful to allow more verbose output when running an
61
+ # individual spec file.
62
+ if config.files_to_run.one?
63
+ # Use the documentation formatter for detailed output,
64
+ # unless a formatter has already been configured
65
+ # (e.g. via a command-line flag).
66
+ config.default_formatter = 'doc'
67
+ end
68
+
69
+ # Print the 10 slowest examples and example groups at the
70
+ # end of the spec run, to help surface which specs are running
71
+ # particularly slow.
72
+ config.profile_examples = 10
73
+
74
+ # Run specs in random order to surface order dependencies. If you find an
75
+ # order dependency and want to debug it, you can fix the order by providing
76
+ # the seed, which is printed after each run.
77
+ # --seed 1234
78
+ config.order = :random
79
+
80
+ # Seed global randomization in this process using the `--seed` CLI option.
81
+ # Setting this allows you to use `--seed` to deterministically reproduce
82
+ # test failures related to randomization by passing the same `--seed` value
83
+ # as the one that triggered the failure.
84
+ Kernel.srand config.seed
85
+ end
@@ -0,0 +1,20 @@
1
+ require 'rspec'
2
+ require 'support/shared_layout'
3
+ require 'usmu/static_file'
4
+
5
+ RSpec.describe Usmu::StaticFile do
6
+ it_behaves_like 'a renderable file'
7
+
8
+ let(:configuration) { Usmu::Configuration.from_file('test/site/usmu.yml') }
9
+
10
+ it 'uses the \'source\' folder' do
11
+ file = Usmu::StaticFile.new(configuration, 'robots.txt')
12
+ rendered = file.render
13
+ expect(rendered).to eq(File.read('test/expected-site/robots.txt'))
14
+ end
15
+
16
+ it 'has an output filename that matches input' do
17
+ file = Usmu::StaticFile.new(configuration, 'robots.txt')
18
+ expect(file.output_filename).to eq('robots.txt')
19
+ end
20
+ end
@@ -0,0 +1,111 @@
1
+
2
+ RSpec.shared_examples 'a renderable file' do
3
+ let(:empty_configuration) { Usmu::Configuration.from_hash({}) }
4
+
5
+ it 'and has a name' do
6
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', '', {})
7
+ expect(layout.respond_to? :name).to eq(true)
8
+ expect(layout.name).to eq('body.slim')
9
+ end
10
+
11
+ it 'and can be rendered' do
12
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', '', {})
13
+ expect(layout.respond_to? :render).to eq(true)
14
+ expect(layout.method(:render).arity).to eq(-1)
15
+ expect(layout.method(:render).parameters.length).to eq(1)
16
+ end
17
+ end
18
+
19
+ RSpec.shared_examples 'a layout' do
20
+ include_examples 'a renderable file'
21
+
22
+ let(:title_configuration) { Usmu::Configuration.from_hash({'default meta' => {'title' => 'title'}}) }
23
+ let(:meta_with_title) { {'title' => 'title'} }
24
+ let(:content) { "title \#{title}\nbody\n #container\n | \#{{content}}" }
25
+
26
+ it 'and has a type' do
27
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, meta_with_title)
28
+ expect(layout.respond_to? :type).to eq(true)
29
+ expect(layout.type).to eq('slim')
30
+ end
31
+
32
+ it 'and it renders a template' do
33
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, {})
34
+ expect(layout.render({'title' => 'title', 'content' => 'test'})).to eq(<<-EOF)
35
+ <title>title</title><body><div id="container">test</div></body>
36
+ EOF
37
+ end
38
+ end
39
+
40
+ RSpec.shared_examples 'a layout with metadata' do
41
+ include_examples 'a layout'
42
+
43
+ it 'and has metadata' do
44
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, meta_with_title)
45
+ expect(layout.respond_to? :metadata).to eq(true)
46
+ expect(layout.metadata).to eq(meta_with_title)
47
+ end
48
+
49
+ it 'and respects default meta from configuration' do
50
+ layout = described_class.new(title_configuration, 'body.slim', 'slim', content, {})
51
+ expect(layout.render({'content' => 'test'})).to eq(<<-EOF)
52
+ <title>title</title><body><div id="container">test</div></body>
53
+ EOF
54
+ end
55
+
56
+ context 'and prioritises' do
57
+ it 'variables over metadata' do
58
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, meta_with_title)
59
+ expect(layout.render({'content' => 'test', 'title' => 'overridden title'})).to eq(<<-EOF)
60
+ <title>overridden title</title><body><div id="container">test</div></body>
61
+ EOF
62
+ end
63
+
64
+ it 'variables over default metadata' do
65
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, {})
66
+ expect(layout.render({'content' => 'test', 'title' => 'overridden title'})).to eq(<<-EOF)
67
+ <title>overridden title</title><body><div id="container">test</div></body>
68
+ EOF
69
+ end
70
+ end
71
+
72
+ it 'and it has a html output filename' do
73
+ layout = described_class.new(empty_configuration, 'index.md', 'md', content, {})
74
+ expect(layout.output_filename).to eq('index.html')
75
+ end
76
+ end
77
+
78
+ RSpec.shared_examples 'an embeddable layout' do
79
+ include_examples 'a layout with metadata'
80
+
81
+ let(:wrapper) { "html\n | \#{{content}}"}
82
+
83
+ it 'and respects parent templates' do
84
+ parent = described_class.new(empty_configuration, 'html.slim', 'slim', wrapper, {})
85
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, {'layout' => parent, 'title' => 'test title'})
86
+ expect(layout.render({'content' => 'test'})).to eq(<<-EOF)
87
+ <html><title>test title</title><body><div id="container">test</div></body>
88
+ </html>
89
+ EOF
90
+ end
91
+
92
+ context 'and prioritises' do
93
+ it 'metadata over parent metadata' do
94
+ parent = described_class.new(empty_configuration, 'html.slim', 'slim', wrapper, {'title' => 'title'})
95
+ layout = described_class.new(empty_configuration, 'body.slim', 'slim', content, {'layout' => parent, 'title' => 'overridden title'})
96
+ expect(layout.render({'content' => 'test'})).to eq(<<-EOF)
97
+ <html><title>overridden title</title><body><div id="container">test</div></body>
98
+ </html>
99
+ EOF
100
+ end
101
+
102
+ it 'parent metadata over default metadata' do
103
+ parent = described_class.new(title_configuration, 'html.slim', 'slim', wrapper, {'title' => 'overridden title'})
104
+ layout = described_class.new(title_configuration, 'body.slim', 'slim', content, {'layout' => parent})
105
+ expect(layout.render({'content' => 'test'})).to eq(<<-EOF)
106
+ <html><title>overridden title</title><body><div id="container">test</div></body>
107
+ </html>
108
+ EOF
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'usmu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'usmu'
8
+ spec.version = Usmu::VERSION
9
+ spec.authors = ['Matthew Scharley']
10
+ spec.email = ['matt.scharley@gmail.com']
11
+ spec.summary = %q{A static site generator with a web-based frontend for editing.}
12
+ spec.homepage = 'https://github.com/usmu/usmu'
13
+ spec.license = 'MIT'
14
+ spec.platform = 'java'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'slim', '~> 2.1'
22
+ spec.add_dependency 'tilt', '~> 2.0'
23
+ spec.add_dependency 'kramdown', '~> 1.5'
24
+ spec.add_dependency 'deep_merge', '~> 1.0'
25
+ spec.add_dependency 'trollop', '~> 2.0'
26
+ spec.add_dependency 'highline', '~> 1.6'
27
+
28
+ spec.add_development_dependency 'bundler', '~> 1.6'
29
+ spec.add_development_dependency 'rake', '~> 10.0'
30
+ spec.add_development_dependency 'rspec', '~> 3.1'
31
+ spec.add_development_dependency 'cucumber', '~> 1.3'
32
+ spec.add_development_dependency 'yard', '~> 0.8'
33
+ spec.add_development_dependency 'cane', '~> 2.6'
34
+ end
data/usmu.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'usmu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'usmu'
8
+ spec.version = Usmu::VERSION
9
+ spec.authors = ['Matthew Scharley']
10
+ spec.email = ['matt.scharley@gmail.com']
11
+ spec.summary = %q{A static site generator with a web-based frontend for editing.}
12
+ spec.homepage = 'https://github.com/usmu/usmu'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'slim', '~> 2.1'
21
+ spec.add_dependency 'tilt', '~> 2.0'
22
+ # For now yard requires redcarpet < 3.2
23
+ # See: https://github.com/lsegal/yard/issues/812
24
+ spec.add_dependency 'redcarpet', '~> 3.1', '< 3.2'
25
+ spec.add_dependency 'deep_merge', '~> 1.0'
26
+ spec.add_dependency 'trollop', '~> 2.0'
27
+ spec.add_dependency 'highline', '~> 1.6'
28
+
29
+ spec.add_development_dependency 'bundler', '~> 1.6'
30
+ spec.add_development_dependency 'rake', '~> 10.0'
31
+ spec.add_development_dependency 'rspec', '~> 3.1'
32
+ spec.add_development_dependency 'cucumber', '~> 1.3'
33
+ spec.add_development_dependency 'yard', '~> 0.8'
34
+ spec.add_development_dependency 'cane', '~> 2.6'
35
+ end