sengiri_yaml 0.0.1.beta1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2eb45aa8976068ece4e8286cf44d596da7e436d
4
+ data.tar.gz: 33c9680ede3025853a0361e963545de2dceddd2f
5
+ SHA512:
6
+ metadata.gz: 97189d98ded574ed38b191916ac5b583222571af9ea00b67b52317a128cb57ced4fcda5e59eae28799df1948c5fbfa0db645c3623bbd885cfb947253ccc350c9
7
+ data.tar.gz: c26cadd1906deed5d525d2329d1566dc907abcf58aad254e9b028f117233ec75d3a42177577a2affaf0f4aeab126b4c1f3a2b653c3065b0b89a756ff9352337e
data/.coveralls.yml ADDED
@@ -0,0 +1,2 @@
1
+ repo_token: kM2mAcDNYperVf7AlejyN7Gp8drcMaHco
2
+
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.hound.yml ADDED
@@ -0,0 +1,25 @@
1
+ Style/LineLength:
2
+ Description: 'Limit lines to 130 characters.'
3
+ Max: 130
4
+ Style/SpaceInsideParens:
5
+ Enabled: false
6
+ Style/SpaceBeforeBlockBraces:
7
+ Enabled: false
8
+ StringLiterals:
9
+ Enabled: false
10
+ Style/TrailingComma:
11
+ Enabled: false
12
+ Style/BlockComments:
13
+ Enabled: false
14
+ Style/NilComparison:
15
+ Enabled: false
16
+ Style/Documentation:
17
+ Enabled: false
18
+ Style/RegexpLiteral:
19
+ Enabled: false
20
+ Style/SignalException:
21
+ Enabled: false
22
+ Style/CaseEquality:
23
+ Enabled: false
24
+ Style/SpaceBeforeComma:
25
+ Enabled: false
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,20 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1
4
+ - 2.2
5
+ - ruby-head
6
+ bundler_args: "--jobs=2"
7
+ before_script:
8
+ - export COVERAGE=true
9
+ script:
10
+ - bundle exec rspec
11
+ branches:
12
+ only:
13
+ - master
14
+ notifications:
15
+ email: false
16
+ slack:
17
+ secure: Wz6kbQXUl1J+XVLR/yt0XeI+FEiwcSNsGTsRdKBYSN1CEWnws0BwbWSN1tyRGmMXODiCAHchdGKEqgkm2Nk1/wEhBpCoF/clEeUq8fKyAIdKkEg3laBFI5dSdBm+eYcqQAdUnWeDHnQgdGT1lQBAe6tIAaN6Oqaw1v9bexvQgv8=
18
+ matrix:
19
+ allow_failures:
20
+ - rvm: ruby-head
data/.yardopts ADDED
@@ -0,0 +1,2 @@
1
+ --markup markdown
2
+ --no-private
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sengiri_yaml.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 sue445
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.
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # SengiriYaml
2
+
3
+ [![Build Status](https://travis-ci.org/sue445/sengiri_yaml.svg?branch=master)](https://travis-ci.org/sue445/sengiri_yaml)
4
+ [![Code Climate](https://codeclimate.com/github/sue445/sengiri_yaml/badges/gpa.svg)](https://codeclimate.com/github/sue445/sengiri_yaml)
5
+ [![Coverage Status](https://img.shields.io/coveralls/sue445/sengiri_yaml.svg)](https://coveralls.io/r/sue445/sengiri_yaml)
6
+ [![Dependency Status](https://gemnasium.com/sue445/sengiri_yaml.svg)](https://gemnasium.com/sue445/sengiri_yaml)
7
+
8
+ divide yaml file
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'sengiri_yaml'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install sengiri_yaml
25
+
26
+ ## Usage
27
+
28
+ TODO: Write usage instructions here
29
+
30
+ ## Contributing
31
+
32
+ 1. Fork it ( https://github.com/sue445/sengiri_yaml/fork )
33
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
34
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
35
+ 4. Push to the branch (`git push origin my-new-feature`)
36
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/bin/sengiri_yaml ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'sengiri_yaml'
4
+
5
+ unless ARGV.length == 2
6
+ puts <<-EOS
7
+ sengiri_yaml <source_yaml> <destination_dir>
8
+ EOS
9
+
10
+ exit
11
+ end
12
+
13
+ SengiriYaml::Writer.new.divide(ARGV[0], ARGV[1])
@@ -0,0 +1,19 @@
1
+ module SengiriYaml
2
+ require "yaml"
3
+
4
+ class Loader
5
+ # load divided yaml files
6
+ # @param src_dir [String] divided yaml dir
7
+ # @return [Hash] merged yaml hash
8
+ def load_dir(src_dir)
9
+ merged_content = ""
10
+
11
+ Pathname.glob("#{src_dir}/*.yml") do |yaml_path|
12
+ content = yaml_path.read.gsub(/^---$/, "")
13
+ merged_content << content
14
+ end
15
+
16
+ YAML.load(merged_content)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module SengiriYaml
2
+ VERSION = "0.0.1.beta1"
3
+ end
@@ -0,0 +1,41 @@
1
+ module SengiriYaml
2
+ require "yaml"
3
+
4
+ class Writer
5
+ # divide yaml file
6
+ # @param src_file [String]
7
+ # @param dst_dir [String]
8
+ # @return [Array<String>] divided yaml filenames
9
+ def divide(src_file, dst_dir)
10
+ FileUtils.mkdir_p(dst_dir) unless File.exist?(dst_dir)
11
+
12
+ src_content = YAML.load_file(src_file)
13
+ filenames = []
14
+
15
+ case src_content
16
+ when Hash
17
+ src_content.each do |key, value|
18
+ filename = "#{dst_dir}/#{key}.yml"
19
+ File.open(filename, "wb") do |f|
20
+ f.write({key => value}.to_yaml)
21
+ end
22
+ filenames << filename
23
+ end
24
+
25
+ when Array
26
+ src_content.each_with_index do |element, index|
27
+ filename = "#{dst_dir}/#{index}.yml"
28
+ File.open(filename, "wb") do |f|
29
+ f.write([element].to_yaml)
30
+ end
31
+ filenames << filename
32
+ end
33
+
34
+ else
35
+ raise "Unknown type"
36
+ end
37
+
38
+ filenames
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,14 @@
1
+ require "sengiri_yaml/version"
2
+ require "sengiri_yaml/writer"
3
+ require "sengiri_yaml/loader"
4
+
5
+ module SengiriYaml
6
+ module_function
7
+
8
+ # load divided yaml files
9
+ # @param src_dir [String] divided yaml dir
10
+ # @return [Hash] merged yaml hash
11
+ def load_dir(src_dir)
12
+ SengiriYaml::Loader.new.load_dir(src_dir)
13
+ end
14
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sengiri_yaml/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sengiri_yaml"
8
+ spec.version = SengiriYaml::VERSION
9
+ spec.authors = ["sue445"]
10
+ spec.email = ["sue445@sue445.net"]
11
+ spec.summary = %q{divide yaml file}
12
+ spec.description = %q{divide yaml file}
13
+ spec.homepage = "https://github.com/sue445/sengiri_yaml"
14
+ spec.license = "MIT"
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_development_dependency "bundler"
22
+ spec.add_development_dependency "coveralls"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec"
25
+ spec.add_development_dependency "rspec-power_assert"
26
+ spec.add_development_dependency "rspec-temp_dir"
27
+ end
@@ -0,0 +1,30 @@
1
+ describe SengiriYaml do
2
+ describe "sengiri_yaml" do
3
+ subject { `bundle exec ./bin/sengiri_yaml #{option}` }
4
+
5
+ context "without 2 args" do
6
+ let(:option){ "--help" }
7
+
8
+ let(:help) do
9
+ <<-EOS
10
+ sengiri_yaml <source_yaml> <destination_dir>
11
+ EOS
12
+ end
13
+
14
+ it{ should eq help }
15
+ end
16
+
17
+ context "with 2 args" do
18
+ let(:option) { [source_yaml, destination_dir].join(" ") }
19
+ let(:source_yaml) { "#{spec_dir}/fixtures/writer/hash.yml" }
20
+ let(:destination_dir){ temp_dir }
21
+
22
+ include_context "uses temp dir"
23
+
24
+ it "should create divided yaml" do
25
+ subject
26
+ is_asserted_by{ Dir.glob("#{temp_dir}/*.yml").count == 2 }
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,3 @@
1
+ ---
2
+ data1:
3
+ value: 1
@@ -0,0 +1,3 @@
1
+ ---
2
+ data2:
3
+ value: 2
@@ -0,0 +1,4 @@
1
+ - data1: data1
2
+ value: 1
3
+ - data2: data2
4
+ value: 2
@@ -0,0 +1,4 @@
1
+ data1:
2
+ value: 1
3
+ data2:
4
+ value: 2
@@ -0,0 +1,17 @@
1
+ describe SengiriYaml::Loader do
2
+ let(:loader){ SengiriYaml::Loader.new }
3
+
4
+ describe "#load_dir" do
5
+ subject{ loader.load_dir(fixture_dir) }
6
+
7
+ let(:fixture_dir){ "#{spec_dir}/fixtures/loader" }
8
+ let(:merged_hash) do
9
+ {
10
+ 'data1' => { 'value' => 1 },
11
+ 'data2' => { 'value' => 2 },
12
+ }
13
+ end
14
+
15
+ it{ should eq merged_hash }
16
+ end
17
+ end
@@ -0,0 +1,79 @@
1
+ describe SengiriYaml::Writer do
2
+ let(:writer){ SengiriYaml::Writer.new }
3
+
4
+ describe "#divide" do
5
+ subject{ writer.divide(src_file, dst_dir) }
6
+
7
+ include_context "uses temp dir"
8
+
9
+ let(:fixture_dir){ "#{spec_dir}/fixtures/writer" }
10
+ let(:dst_dir) { "#{temp_dir}/dst" }
11
+
12
+ describe "with hash yaml" do
13
+ let(:src_file){ "#{fixture_dir}/hash.yml" }
14
+
15
+ let(:data1_file){ "#{dst_dir}/data1.yml" }
16
+ let(:data1_yml) do
17
+ <<-YAML
18
+ ---
19
+ data1:
20
+ value: 1
21
+ YAML
22
+ end
23
+
24
+ let(:data2_file){ "#{dst_dir}/data2.yml" }
25
+ let(:data2_yml) do
26
+ <<-YAML
27
+ ---
28
+ data2:
29
+ value: 2
30
+ YAML
31
+ end
32
+
33
+ before do
34
+ # exercise
35
+ subject
36
+ end
37
+
38
+ it{ should eq [data1_file, data2_file] }
39
+ it_is_asserted_by{ File.read(data1_file) == data1_yml }
40
+ it_is_asserted_by{ File.read(data2_file) == data2_yml }
41
+ end
42
+
43
+ describe "with array yaml" do
44
+ let(:src_file){ "#{fixture_dir}/array.yml" }
45
+
46
+ before do
47
+ # exercise
48
+ subject
49
+ end
50
+
51
+ let(:data1_file){ "#{dst_dir}/0.yml" }
52
+ let(:data1_yml) do
53
+ <<-YAML
54
+ ---
55
+ - data1: data1
56
+ value: 1
57
+ YAML
58
+ end
59
+
60
+ let(:data2_file){ "#{dst_dir}/1.yml" }
61
+ let(:data2_yml) do
62
+ <<-YAML
63
+ ---
64
+ - data2: data2
65
+ value: 2
66
+ YAML
67
+ end
68
+
69
+ before do
70
+ # exercise
71
+ subject
72
+ end
73
+
74
+ it{ should eq [data1_file, data2_file] }
75
+ it_is_asserted_by{ File.read(data1_file) == data1_yml }
76
+ it_is_asserted_by{ File.read(data2_file) == data2_yml }
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,102 @@
1
+ if ENV["COVERAGE"]
2
+ require 'coveralls'
3
+ Coveralls.wear!
4
+ end
5
+
6
+ require "sengiri_yaml"
7
+ require "rspec/temp_dir"
8
+ require "rspec/power_assert"
9
+
10
+ def spec_dir
11
+ Pathname(__dir__)
12
+ end
13
+
14
+ # This file was generated by the `rspec --init` command. Conventionally, all
15
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
16
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
17
+ # file to always be loaded, without a need to explicitly require it in any files.
18
+ #
19
+ # Given that it is always loaded, you are encouraged to keep this file as
20
+ # light-weight as possible. Requiring heavyweight dependencies from this file
21
+ # will add to the boot time of your test suite on EVERY test run, even for an
22
+ # individual file that may not need all of that loaded. Instead, consider making
23
+ # a separate helper file that requires the additional dependencies and performs
24
+ # the additional setup, and require it from the spec files that actually need it.
25
+ #
26
+ # The `.rspec` file also contains a few flags that are not defaults but that
27
+ # users commonly want.
28
+ #
29
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
30
+ RSpec.configure do |config|
31
+ # rspec-expectations config goes here. You can use an alternate
32
+ # assertion/expectation library such as wrong or the stdlib/minitest
33
+ # assertions if you prefer.
34
+ config.expect_with :rspec do |expectations|
35
+ # This option will default to `true` in RSpec 4. It makes the `description`
36
+ # and `failure_message` of custom matchers include text for helper methods
37
+ # defined using `chain`, e.g.:
38
+ # be_bigger_than(2).and_smaller_than(4).description
39
+ # # => "be bigger than 2 and smaller than 4"
40
+ # ...rather than:
41
+ # # => "be bigger than 2"
42
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
43
+ end
44
+
45
+ # rspec-mocks config goes here. You can use an alternate test double
46
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
47
+ config.mock_with :rspec do |mocks|
48
+ # Prevents you from mocking or stubbing a method that does not exist on
49
+ # a real object. This is generally recommended, and will default to
50
+ # `true` in RSpec 4.
51
+ mocks.verify_partial_doubles = true
52
+ end
53
+
54
+ # The settings below are suggested to provide a good initial experience
55
+ # with RSpec, but feel free to customize to your heart's content.
56
+ =begin
57
+ # These two settings work together to allow you to limit a spec run
58
+ # to individual examples or groups you care about by tagging them with
59
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
60
+ # get run.
61
+ config.filter_run :focus
62
+ config.run_all_when_everything_filtered = true
63
+
64
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
65
+ # For more details, see:
66
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
67
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
69
+ config.disable_monkey_patching!
70
+
71
+ # This setting enables warnings. It's recommended, but in some cases may
72
+ # be too noisy due to issues in dependencies.
73
+ config.warnings = true
74
+
75
+ # Many RSpec users commonly either run the entire suite or an individual
76
+ # file, and it's useful to allow more verbose output when running an
77
+ # individual spec file.
78
+ if config.files_to_run.one?
79
+ # Use the documentation formatter for detailed output,
80
+ # unless a formatter has already been configured
81
+ # (e.g. via a command-line flag).
82
+ config.default_formatter = 'doc'
83
+ end
84
+
85
+ # Print the 10 slowest examples and example groups at the
86
+ # end of the spec run, to help surface which specs are running
87
+ # particularly slow.
88
+ config.profile_examples = 10
89
+
90
+ # Run specs in random order to surface order dependencies. If you find an
91
+ # order dependency and want to debug it, you can fix the order by providing
92
+ # the seed, which is printed after each run.
93
+ # --seed 1234
94
+ config.order = :random
95
+
96
+ # Seed global randomization in this process using the `--seed` CLI option.
97
+ # Setting this allows you to use `--seed` to deterministically reproduce
98
+ # test failures related to randomization by passing the same `--seed` value
99
+ # as the one that triggered the failure.
100
+ Kernel.srand config.seed
101
+ =end
102
+ end
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sengiri_yaml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.beta1
5
+ platform: ruby
6
+ authors:
7
+ - sue445
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: coveralls
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-power_assert
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-temp_dir
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
+ description: divide yaml file
98
+ email:
99
+ - sue445@sue445.net
100
+ executables:
101
+ - sengiri_yaml
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".coveralls.yml"
106
+ - ".gitignore"
107
+ - ".hound.yml"
108
+ - ".rspec"
109
+ - ".travis.yml"
110
+ - ".yardopts"
111
+ - Gemfile
112
+ - LICENSE.txt
113
+ - README.md
114
+ - Rakefile
115
+ - bin/sengiri_yaml
116
+ - lib/sengiri_yaml.rb
117
+ - lib/sengiri_yaml/loader.rb
118
+ - lib/sengiri_yaml/version.rb
119
+ - lib/sengiri_yaml/writer.rb
120
+ - sengiri_yaml.gemspec
121
+ - spec/bin/sengitri_spec.rb
122
+ - spec/fixtures/loader/data1.yml
123
+ - spec/fixtures/loader/data2.yml
124
+ - spec/fixtures/writer/array.yml
125
+ - spec/fixtures/writer/hash.yml
126
+ - spec/sengiri_yaml/loader_spec.rb
127
+ - spec/sengiri_yaml/writer_spec.rb
128
+ - spec/spec_helper.rb
129
+ homepage: https://github.com/sue445/sengiri_yaml
130
+ licenses:
131
+ - MIT
132
+ metadata: {}
133
+ post_install_message:
134
+ rdoc_options: []
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">"
145
+ - !ruby/object:Gem::Version
146
+ version: 1.3.1
147
+ requirements: []
148
+ rubyforge_project:
149
+ rubygems_version: 2.4.5
150
+ signing_key:
151
+ specification_version: 4
152
+ summary: divide yaml file
153
+ test_files:
154
+ - spec/bin/sengitri_spec.rb
155
+ - spec/fixtures/loader/data1.yml
156
+ - spec/fixtures/loader/data2.yml
157
+ - spec/fixtures/writer/array.yml
158
+ - spec/fixtures/writer/hash.yml
159
+ - spec/sengiri_yaml/loader_spec.rb
160
+ - spec/sengiri_yaml/writer_spec.rb
161
+ - spec/spec_helper.rb