dogen 0.0.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 11df703ef3711beab273d70f377f45a5f298b453
4
+ data.tar.gz: 5dff849c76ada21102e96c76474f4190a7138dcc
5
+ SHA512:
6
+ metadata.gz: 011770a3ed52b24b3e9dd4377918de111ab8c4f5241523e6b83622f0c01b6ceb41ca60f9f9e8d3b76f4699798831b253c2c8d860402fe8c1c77e6c5f6f32e087
7
+ data.tar.gz: c04f881f519b04fe0eb6d3c78e073c8b122ac3fda2c1c13ff3b89aeb7b81d258ad60a81f30ce730d590584d82fcc5f76af3ed11511733ea463c731d46d0e978a
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --color
2
+ --require spec_helper
3
+ --format progress
4
+ --no-profile
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ script: bundle exec rake
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.1.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in dogen.gemspec
4
+ gemspec
@@ -0,0 +1,6 @@
1
+ guard :rspec, cmd: 'rspec' do
2
+ watch(%r{^lib/(.+).rb$}) { |m| "spec/unit/lib/#{m[1]}_spec.rb" }
3
+ watch(%r{^spec/(.+).rb$}) { |m| "spec/#{m[1]}.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ watch('Gemfile')
6
+ end
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Pawel Niemczyk
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,68 @@
1
+ # Dogen
2
+
3
+ Documents generator for bash
4
+
5
+ ## Installation
6
+
7
+ $ gem install dogen
8
+
9
+ ## Usage
10
+
11
+ $ dogen --help
12
+
13
+ ### Setup repository directory
14
+
15
+ $ mkdir /home/user/Dropbox/dogen
16
+ $ dogen c --repository path::/home/user/Dropbox/dogen
17
+
18
+ ### Generate documet
19
+
20
+ create document like (vcard.erb) in yours repository directory:
21
+
22
+ ```
23
+ BEGIN:VCARD
24
+ VERSION:2.1
25
+ N:<%= data['first_name'] %>;<%= data['last_name'] %>
26
+ FN:<%= data['first_name'] %> <%= data['last_name'] %>
27
+ ORG:<%= data['org'] %>
28
+ TITLE:<%= data['title'] %>
29
+ PHOTO;GIF:<%= data['photo'] %>
30
+ TEL;WORK;VOICE:<%= data['home_tel'] %>
31
+ TEL;HOME;VOICE:<%= data['work_tel'] %>
32
+ ADR;WORK:;;<%= data['streat'] %>;<%= data['province'] %>;<%= data['state'] %>;<%= data['postcode'] %>;<%= data['country']
33
+ LABEL;WORK;ENCODING=QUOTED-PRINTABLE:<%= data['streat'] %>=0D=0A<%= data['province'] %>, <%= data['state'] %> <%= data['postcode'] %>=0D=0A<%= data['country']
34
+ ADR;HOME:;;42 Plantation St.;<%= data['province'] %>;<%= data['state'] %>;<%= data['postcode'] %>;<%= data['country']
35
+ LABEL;HOME;ENCODING=QUOTED-PRINTABLE:
36
+ EMAIL;PREF;INTERNET:<%= data['email'] %>
37
+ REV:20080424T195243Z
38
+ END:VCARD
39
+
40
+ ```
41
+
42
+ and use command
43
+
44
+ $ dogen g vcard first_name:Pawel last_name:Niemczyk org:MyCompany title:Mr
45
+
46
+ or prepare json with the data and use command:
47
+
48
+ $ dogen g vcard -j /home/user/tmp/my_vcard.json
49
+
50
+
51
+ you can use patials inside any erb templates like:
52
+
53
+ ```
54
+
55
+ Your vcard source for <%= data['first_name'] %> <%= data['last_name'] %> :
56
+ <%= render('vcard') %>
57
+
58
+ ```
59
+
60
+ ### You can use it to any type of file
61
+
62
+ ## Contributing
63
+
64
+ 1. Fork it ( https://github.com/[my-github-username]/dogen/fork )
65
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
66
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
67
+ 4. Push to the branch (`git push origin my-new-feature`)
68
+ 5. Create a new Pull Request
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'commander/import'
4
+ require 'awesome_print'
5
+ require 'dogen'
6
+
7
+ base = Dogen::Base.new
8
+
9
+ program :version, Dogen::VERSION
10
+ program :description, Dogen::DESCRIPTION
11
+
12
+ command :c do |c|
13
+ c.syntax = 'dogen c [options]'
14
+ c.summary = 'configuration'
15
+ c.description = 'setup repository'
16
+ c.example 'set repository', '--repository path::/home/user/Dropbox/Templates'
17
+ c.option '--repository', 'setup repository source'
18
+ c.action do |args, options|
19
+ base.set_repository(args) if options.repository
20
+ end
21
+ end
22
+
23
+ command :g do |c|
24
+ c.syntax = 'dogen g [options]'
25
+ c.summary = 'documents generator'
26
+ c.description = 'All options needed to generate document'
27
+ c.example 'generate file', 'base/gem/README.md title:"Test title"'
28
+ c.example 'generate files', 'base/gem'
29
+ c.option '-j', 'load variables from json file'
30
+ c.action do |args, options|
31
+ path = args.shift
32
+ if options.j
33
+ opts = base.read_opts_from_json(args.first.to_s)
34
+ base.generate(path, opts)
35
+ else
36
+ opts = base.parse_opts(args)
37
+ base.generate(path, opts)
38
+ end
39
+ end
40
+ end
@@ -0,0 +1 @@
1
+ My name is pawel
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'dogen/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'dogen'
8
+ spec.version = Dogen::VERSION
9
+ spec.authors = ['Pawel Niemczyk']
10
+ spec.email = ['pniemczyk@o2.pl']
11
+ spec.summary = %q{Documents generator for bash}
12
+ spec.description = %q{Documents generator for bash}
13
+ spec.homepage = 'https://github.com/pniemczyk/dogen'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files`.split($/)
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 'awesome_print', '~> 1.2'
22
+ spec.add_dependency 'hashie', '~> 2.1'
23
+ spec.add_dependency 'commander', '~> 4.2'
24
+ spec.add_dependency 'rendering_engine', '~> 0.2'
25
+
26
+ spec.add_development_dependency 'bundler', '~> 1.6'
27
+ spec.add_development_dependency 'rake', '~> 0'
28
+ spec.add_development_dependency 'rspec', '~> 3.1'
29
+ spec.add_development_dependency 'guard-rspec', '~> 0'
30
+ spec.add_development_dependency 'coveralls', '~> 0'
31
+ end
@@ -0,0 +1,7 @@
1
+ require 'dogen/version'
2
+ require 'dogen/description'
3
+ require 'dogen/configuration'
4
+ require 'dogen/base'
5
+
6
+ module Dogen
7
+ end
@@ -0,0 +1,55 @@
1
+ require 'rendering_engine'
2
+ require 'awesome_print'
3
+
4
+ module Dogen
5
+ class Base
6
+ def set_repository(args)
7
+ source, place = args.first.to_s.split('::')
8
+
9
+ if source.downcase == 'path'
10
+ raise "Missing path: #{place}" unless File.directory?(place)
11
+ configuration.set(repository: { source: 'path', place: place })
12
+ else
13
+ raise "Unknown source #{source}"
14
+ end
15
+ end
16
+
17
+ def parse_opts(args)
18
+ Hash[(args.map { |item| item.split(':') })]
19
+ end
20
+
21
+ def read_opts_from_json(path)
22
+ raise 'File not found' unless File.exist?(path)
23
+ JSON.parse(IO.read(path))
24
+ end
25
+
26
+ def generate(path, opts = {})
27
+ new_file_path = File.join(current_dir, File.basename(path))
28
+ File.write(new_file_path, provider.get(path, data: opts).source)
29
+ end
30
+
31
+ def configuration
32
+ @configuration ||= Configuration.new
33
+ end
34
+
35
+ private
36
+
37
+ def current_dir
38
+ Dir.pwd
39
+ end
40
+
41
+ def provider
42
+ @provider ||= RenderingEngine::Provider.new(file_repo)
43
+ end
44
+
45
+ def file_repo
46
+ @file_repo ||= RenderingEngine::FileRepo.new(base_path)
47
+ end
48
+
49
+ def base_path
50
+ @base_path ||= configuration.get.fetch(:repository).fetch(:place)
51
+ rescue
52
+ raise 'Repository configuration error. Check your configuration.'
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,41 @@
1
+ require 'yaml'
2
+ require 'hashie'
3
+
4
+ module Dogen
5
+ class Configuration
6
+ class SetConfigError < StandardError; end
7
+
8
+ CONFIG_FILE_NAME = '.dogenrc'
9
+
10
+ def get
11
+ File.exist?(config_file) ? load_configuration : {}
12
+ end
13
+
14
+ def set(hash)
15
+ raise SetConfigError, 'argument is not kind of hash' unless hash.kind_of?(Hash)
16
+ updated_config = get.merge(hash)
17
+
18
+ save_configuration(updated_config)
19
+ end
20
+
21
+ def clear
22
+ File.write(config_file, {}.to_yaml)
23
+ end
24
+
25
+ private
26
+
27
+ def save_configuration(config)
28
+ File.write(config_file, config.to_yaml)
29
+ end
30
+
31
+ def load_configuration
32
+ Hashie::Mash.new(YAML.load_file(config_file))
33
+ rescue
34
+ {}
35
+ end
36
+
37
+ def config_file
38
+ File.expand_path(CONFIG_FILE_NAME, Dir.home)
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,3 @@
1
+ module Dogen
2
+ DESCRIPTION = 'Documents generator for bash'
3
+ end
@@ -0,0 +1,3 @@
1
+ module Dogen
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,29 @@
1
+ require 'bundler/setup'
2
+ require 'awesome_print'
3
+ Bundler.setup
4
+
5
+ require 'coveralls'
6
+ Coveralls.wear!
7
+
8
+ require 'dogen'
9
+
10
+ RSpec.configure do |config|
11
+ config.filter_run :focus
12
+ config.run_all_when_everything_filtered = true
13
+
14
+ config.default_formatter = 'doc' if config.files_to_run.one?
15
+
16
+ config.profile_examples = 10
17
+ config.order = :random
18
+
19
+ Kernel.srand config.seed
20
+
21
+ config.expect_with :rspec do |expectations|
22
+ expectations.syntax = :expect
23
+ end
24
+
25
+ config.mock_with :rspec do |mocks|
26
+ mocks.syntax = :expect
27
+ mocks.verify_partial_doubles = true
28
+ end
29
+ end
@@ -0,0 +1,83 @@
1
+ require 'spec_helper'
2
+
3
+ describe Dogen::Base do
4
+ subject { described_class.new }
5
+ context '#set_repository' do
6
+ let(:source) { 'path' }
7
+ let(:place) { '/home/user/repository' }
8
+ let(:repo_hash) { { repository: { source: source, place: place} } }
9
+ let(:repo_args) { ["#{source}::#{place}"] }
10
+
11
+ it 'save repository configuration' do
12
+ expect(File).to receive(:directory?).and_return(true)
13
+ expect(subject.configuration).to receive(:set).with(repo_hash)
14
+ subject.set_repository(repo_args)
15
+ end
16
+
17
+ it 'raise error when repositor directory is missing' do
18
+ expect(File).to receive(:directory?).and_return(false)
19
+ expect { subject.set_repository(repo_args) }.to raise_error
20
+ end
21
+
22
+ context 'when source is unknown' do
23
+ let(:source) { 'db' }
24
+ it 'raise error' do
25
+ expect { subject.set_repository(repo_args) }.to raise_error
26
+ end
27
+ end
28
+ end
29
+
30
+ it '#configuration' do
31
+ expect(subject.configuration).to be_a Dogen::Configuration
32
+ end
33
+
34
+ context '#parse_opts' do
35
+ let(:name) { 'pawel niemczyk' }
36
+ let(:email) { 'pniemczyk@o2.pl' }
37
+ let(:args) { ["name:#{name}", "email:#{email}"] }
38
+ let(:opts) { { 'name' => name, 'email' => email } }
39
+
40
+ it 'return hash with options' do
41
+ expect(subject.parse_opts(args)).to eq opts
42
+ end
43
+ end
44
+
45
+ context '#read_opts_from_json' do
46
+ it 'raise error when file missing' do
47
+ expect(File).to receive(:exist?).and_return(false)
48
+ expect{ subject.read_opts_from_json('test_file') }.to raise_error
49
+ end
50
+
51
+ let(:source_file) { '{"name":"pawel niemczyk", "email":"pniemczyk@o2.pl"}' }
52
+ let(:hash) { {'name' => 'pawel niemczyk', 'email' => 'pniemczyk@o2.pl'} }
53
+
54
+ it 'return json' do
55
+ expect(File).to receive(:exist?).and_return(true)
56
+ expect(IO).to receive(:read).and_return(source_file)
57
+ expect(subject.read_opts_from_json('test_file')).to eq hash
58
+ end
59
+ end
60
+
61
+ context '#generate' do
62
+ let(:pwd) { '/home' }
63
+ let(:path) { 'txt/file.txt' }
64
+ let(:new_path) { File.join(pwd, File.basename(path)) }
65
+ let(:opts) { { 'name' => 'pawel'} }
66
+ let(:document) { double('document') }
67
+ let(:source) { 'User name is pawel %>' }
68
+ let(:config) { { repository: { place: 'some_path' } } }
69
+
70
+ it 'generate file in current directory' do
71
+ expect(Dir).to receive(:pwd).and_return(pwd)
72
+ expect(subject.configuration).to receive(:get).and_return(config)
73
+ expect(subject.send(:provider)).to receive(:get)
74
+ .with(path, data: opts)
75
+ .and_return(document)
76
+ expect(document).to receive(:source).and_return(source)
77
+ expect(File).to receive(:write).with(new_path, source)
78
+ subject.generate(path, opts)
79
+ end
80
+
81
+ end
82
+ end
83
+
@@ -0,0 +1,57 @@
1
+ require 'spec_helper'
2
+
3
+ describe Dogen::Configuration do
4
+ let(:file_name) { '.dogenrc' }
5
+ let(:home_path) { '/home/user' }
6
+ let(:config_file_path) { "#{home_path}/#{file_name}" }
7
+ subject { described_class.new }
8
+
9
+ it 'CONFIG_FILE_NAME' do
10
+ expect(described_class::CONFIG_FILE_NAME).to eq file_name
11
+ end
12
+
13
+ context '#get' do
14
+ let(:config_hash) { { test: 1 } }
15
+ before do
16
+ expect(Dir).to receive(:home)
17
+ .at_least(1).times
18
+ .and_return(home_path)
19
+ end
20
+
21
+ it 'returns empty Hash when config file missing' do
22
+ expect(File).to receive(:exist?).with(config_file_path).and_return(false)
23
+ expect(subject.get).to eq Hash.new
24
+ end
25
+
26
+ it ' returns configuration as Hash when config file is present' do
27
+ expect(File).to receive(:exist?).with(config_file_path).and_return(true)
28
+ expect(YAML).to receive(:load_file)
29
+ .with(config_file_path)
30
+ .and_return(config_hash)
31
+ expect(subject.get).to eq Hashie::Mash.new(config_hash)
32
+ end
33
+ end
34
+
35
+ context '#set' do
36
+ it 'raise SetConfigError when argument is not kind of Hash' do
37
+ expect { subject.set('try') }.to raise_error
38
+ end
39
+
40
+ let(:config) { Hashie::Mash.new(test: 1) }
41
+ let(:config_to_update) { { test: 2, new_one: 1 } }
42
+ let(:congig_yml) { Hashie::Mash.new(config_to_update).to_yaml }
43
+
44
+ it 'update configuration by merge hashies' do
45
+ expect(Dir).to receive(:home).and_return(home_path)
46
+ expect(subject).to receive(:get).and_return(config)
47
+ expect(File).to receive(:write).with(config_file_path, congig_yml)
48
+ subject.set(config_to_update)
49
+ end
50
+ end
51
+
52
+ it '#clear' do
53
+ expect(Dir).to receive(:home).and_return(home_path)
54
+ expect(File).to receive(:write).with(config_file_path, {}.to_yaml)
55
+ subject.clear
56
+ end
57
+ end
metadata ADDED
@@ -0,0 +1,195 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dogen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Pawel Niemczyk
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: awesome_print
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: hashie
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: commander
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rendering_engine
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: coveralls
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Documents generator for bash
140
+ email:
141
+ - pniemczyk@o2.pl
142
+ executables:
143
+ - dogen
144
+ - test.txt
145
+ extensions: []
146
+ extra_rdoc_files: []
147
+ files:
148
+ - ".gitignore"
149
+ - ".rspec"
150
+ - ".travis.yml"
151
+ - Gemfile
152
+ - Guardfile
153
+ - LICENSE.txt
154
+ - README.md
155
+ - Rakefile
156
+ - bin/dogen
157
+ - bin/test.txt
158
+ - dogen.gemspec
159
+ - lib/dogen.rb
160
+ - lib/dogen/base.rb
161
+ - lib/dogen/configuration.rb
162
+ - lib/dogen/description.rb
163
+ - lib/dogen/version.rb
164
+ - spec/spec_helper.rb
165
+ - spec/unit/lib/base_spec.rb
166
+ - spec/unit/lib/configuration_spec.rb
167
+ homepage: https://github.com/pniemczyk/dogen
168
+ licenses:
169
+ - MIT
170
+ metadata: {}
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubyforge_project:
187
+ rubygems_version: 2.2.2
188
+ signing_key:
189
+ specification_version: 4
190
+ summary: Documents generator for bash
191
+ test_files:
192
+ - spec/spec_helper.rb
193
+ - spec/unit/lib/base_spec.rb
194
+ - spec/unit/lib/configuration_spec.rb
195
+ has_rdoc: