gitegnore 0.1.0

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8a0f09c286a0885946039b0ea6712b151e0947dc
4
+ data.tar.gz: 0b49341d914b47214708975f8ce8a0cc266b33cd
5
+ SHA512:
6
+ metadata.gz: b3067e2b918e27375dd3cd6123ac12b54a2bf79b8d42745f4df7588590c4d5af79d143f5e103e1c6c24a3da45718c220579ec5f29ed20993c3d7f5c15c28ae54
7
+ data.tar.gz: ee3d75d279d55503bfeac6feecd45a600bc3d8105aec00289bc30e4d19a991535f01bbadc8ddcef6997e6332b248911599b533bf843f62d8f822d689d41c182a
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ gitegnore
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.3.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at neoman.v@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in gitignore.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,39 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gitegnore (0.1.0)
5
+ json (~> 1.8, >= 1.8.3)
6
+ thor (~> 0.19.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ diff-lcs (1.3)
12
+ json (1.8.3)
13
+ rake (10.5.0)
14
+ rspec (3.7.0)
15
+ rspec-core (~> 3.7.0)
16
+ rspec-expectations (~> 3.7.0)
17
+ rspec-mocks (~> 3.7.0)
18
+ rspec-core (3.7.0)
19
+ rspec-support (~> 3.7.0)
20
+ rspec-expectations (3.7.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.7.0)
23
+ rspec-mocks (3.7.0)
24
+ diff-lcs (>= 1.2.0, < 2.0)
25
+ rspec-support (~> 3.7.0)
26
+ rspec-support (3.7.0)
27
+ thor (0.19.4)
28
+
29
+ PLATFORMS
30
+ ruby
31
+
32
+ DEPENDENCIES
33
+ bundler (~> 1.14)
34
+ gitegnore!
35
+ rake (~> 10.0)
36
+ rspec
37
+
38
+ BUNDLED WITH
39
+ 1.14.5
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 0oneo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # Gitegnore
2
+
3
+ This gem is used to copy the corresponding gitignore file from the **github/gitignore** repo to your current working directory.
4
+
5
+ ## Installation
6
+
7
+ install it yourself as:
8
+
9
+ $ gem install gitegnore
10
+
11
+ ## Usage
12
+
13
+ #### list all sorts of gitignore files from `github/gitignore` repo
14
+
15
+ **NOTE**: currently gitignore files in Global sub-directory are not supported
16
+ ```
17
+ gitegnore list
18
+ ```
19
+
20
+ #### copy corresponding gitignore file to your current working directory
21
+ ```
22
+ gitegnore fetch Ojective-C # copy Objective-C.gitignore to $(pwd)
23
+ ```
24
+
25
+ #### more
26
+ ```
27
+ gitegnore help
28
+ ```
29
+
30
+ ## TODO
31
+ - [ ] gitignore file alias
32
+ - [ ] test case
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/0oneo/gitignore. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new
5
+
6
+ task :default => :spec
7
+ task :test => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "gitegnore"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/gitegnore ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "gitegnore/cli"
4
+
5
+ Gitegnore::CLI.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/gitegnore.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'gitegnore/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "gitegnore"
8
+ spec.version = Gitegnore::VERSION
9
+ spec.authors = ["0oneo"]
10
+ spec.email = ["neoman.v@gmail.com"]
11
+
12
+ spec.summary = %q{fetch gitgnore file from the github/gitignore repo}
13
+ spec.description = <<-EOM
14
+ first it will pull lastest update from github/gitignore repo, then copy.
15
+ then copy corresponding .gitignore file to current diretory
16
+ EOM
17
+ spec.homepage = "https://github.com/0oneo/gitegnore"
18
+ spec.license = "MIT"
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ f.match(%r{^(test|spec|features)/})
22
+ end
23
+ spec.bindir = "bin"
24
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.14"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rspec"
30
+
31
+ spec.add_runtime_dependency "thor", "~> 0.19.4"
32
+ spec.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.3'
33
+ end
@@ -0,0 +1,28 @@
1
+ require "thor"
2
+ require "gitegnore"
3
+
4
+ module Gitegnore
5
+ class CLI < Thor
6
+
7
+ desc "list", "list all supported gitignores"
8
+ def list
9
+ ignorefile_list = Gitegnore.list
10
+ ignorefile_list.each_with_index do |name, index|
11
+ if index == 0
12
+ print "all supported gitignore files:\n\n"
13
+ end
14
+ print name.gsub(".gitignore", "").ljust(30)
15
+
16
+ if((index + 1) % 5) == 0
17
+ puts
18
+ end
19
+ end
20
+ end
21
+
22
+ desc "fetch NAME", "fetch the corresponding $NAME.gitignore file to .gitignore in current working directory"
23
+ def fetch(name)
24
+ puts Dir.pwd
25
+ Gitegnore.fetch(name)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,3 @@
1
+ module Gitegnore
2
+ VERSION = "0.1.0"
3
+ end
data/lib/gitegnore.rb ADDED
@@ -0,0 +1,156 @@
1
+ require "gitegnore/version"
2
+ require 'fileutils'
3
+ require 'json'
4
+ require 'date'
5
+
6
+ module Gitegnore
7
+ def self.list
8
+ self.check
9
+
10
+ return all_gitignores_in_repo
11
+ end
12
+
13
+ def self.fetch(name)
14
+ self.check
15
+
16
+ all_ig_names = self.all_gitignores_in_repo
17
+ base_path = self.repo_dir
18
+
19
+ name = "#{name}.gitignore" unless name.end_with? ".gitignore"
20
+
21
+ all_ig_names.each do |ig_name|
22
+ if ig_name.casecmp(name) == 0
23
+ puts "found #{name}! copy to current directory..."
24
+ FileUtils.cp "#{base_path}/#{ig_name}", "#{Dir.pwd}/.gitignore"
25
+ return
26
+ end
27
+ end
28
+
29
+ raise RuntimeError, "#{name}.gitignore not found"
30
+ end
31
+
32
+ private
33
+
34
+ GITHUB_BASE_DIR = ".github"
35
+
36
+ REPO_UPDATE_RECORD = "repo_update_date.json"
37
+
38
+ # repo github/gitignore related
39
+ GITIGNORE_REPO_USERNAME = "github"
40
+ GITIGNORE_REPO_NAME = "gitignore"
41
+ GITIGNORE_REPO_URL = "git@github.com:#{GITIGNORE_REPO_USERNAME}/#{GITIGNORE_REPO_NAME}.git"
42
+
43
+ def self.check
44
+ # create the repo if not exists
45
+ if repo_exists? == false
46
+ create_repo_env
47
+ end
48
+
49
+ # update repo to latest
50
+ if self.need_to_update_repo?
51
+ self.repo_fetch
52
+ end
53
+ end
54
+
55
+ def self.repo_dir
56
+ File.expand_path("~/" + GITHUB_BASE_DIR + "/" + GITIGNORE_REPO_USERNAME + "/" + GITIGNORE_REPO_NAME)
57
+ end
58
+
59
+ def self.update_record_path
60
+ File.expand_path("~/" + GITHUB_BASE_DIR + "/" + REPO_UPDATE_RECORD)
61
+ end
62
+
63
+ def self.repo_update_date
64
+ repo_update_record_path = self.update_record_path
65
+ repo_update_record = {}
66
+ if File.exists? repo_update_record_path
67
+ file = File.read(repo_update_record_path)
68
+ repo_update_record = JSON.parse(file)
69
+ end
70
+ return repo_update_record
71
+ end
72
+
73
+ def self.need_to_update_repo?
74
+ update_record = repo_update_date
75
+ repo_name = "#{GITIGNORE_REPO_USERNAME}/#{GITIGNORE_REPO_NAME}"
76
+ last_update_date_str = update_record[repo_name]
77
+ if last_update_date_str == nil
78
+ return true
79
+ end
80
+
81
+ date_format = "%Y-%m-%d"
82
+ last_update_date = Date::strptime(last_update_date_str, date_format)
83
+ return last_update_date < (Date.today - 7)
84
+ end
85
+
86
+ def self.repo_exists?
87
+ if Dir.exist?(repo_dir)
88
+ origin_remote_url = self.change_pwd_do_sth(repo_dir, "git remote get-url origin").strip
89
+ if origin_remote_url == GITIGNORE_REPO_URL
90
+ return true
91
+ end
92
+ end
93
+
94
+ return false;
95
+ end
96
+
97
+ def self.create_repo_env
98
+ raise RuntimeError, "repo does exists" if repo_exists? == true
99
+
100
+ # create the directory
101
+ repo_parent_dir = File.expand_path("~/#{GITHUB_BASE_DIR}/#{GITIGNORE_REPO_USERNAME}")
102
+ FileUtils::mkdir_p repo_parent_dir # TODO have not check whether create success or fail
103
+
104
+ raise RuntimeError, "dir: #{repo_parent_dir} create failed" unless File.directory?(repo_parent_dir)
105
+
106
+ # git clone the repo
107
+ self.change_pwd_do_sth(repo_parent_dir, "git clone #{GITIGNORE_REPO_URL} 2> /dev/null")
108
+
109
+ raise RuntimeError, "repo does not exists" if repo_exists? == false
110
+ end
111
+
112
+ def self.repo_fetch
113
+ raise RuntimeError, "repo does exists" if repo_exists? == false
114
+
115
+ puts "fetching upstream updates..."
116
+ result = self.change_pwd_do_sth(repo_dir, "git pull origin master 2> /dev/null").strip
117
+ if result == "Already up-to-date."
118
+ update_record = repo_update_date
119
+ repo_name = "#{GITIGNORE_REPO_USERNAME}/#{GITIGNORE_REPO_NAME}"
120
+ today_date = DateTime.now.strftime('%Y-%m-%d')
121
+ update_record[repo_name] = today_date
122
+
123
+ File.open(self.update_record_path, "w") do |f|
124
+ f.write(update_record.to_json)
125
+ end
126
+ puts "done...."
127
+ else
128
+ puts "some error happened: #{result}"
129
+ end
130
+
131
+ end
132
+
133
+ def self.all_gitignores_in_repo
134
+ raise RuntimeError, "repo does exists" if repo_exists? == false
135
+
136
+ all_files = self.change_pwd_do_sth(repo_dir, "git ls-files -z")
137
+ all_gitignore_files = all_files.split("\x0").reject do |f|
138
+ f.match(%r{^(.github|Global)/})
139
+ end
140
+ return all_gitignore_files
141
+ end
142
+
143
+ def self.change_pwd_do_sth(new_pwd, action)
144
+ previous_pwd = Dir.pwd
145
+ FileUtils.cd new_pwd
146
+ result = `#{action}`
147
+ FileUtils.cd previous_pwd
148
+ return result
149
+ end
150
+
151
+ # add a custom name to exsited language, then you can use `gitegnore install $custome_name` to install
152
+ #
153
+ def add_custom_name(custom_name, language_name)
154
+
155
+ end
156
+ end
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitegnore
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - 0oneo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-10-27 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: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: thor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.19.4
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.19.4
69
+ - !ruby/object:Gem::Dependency
70
+ name: json
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.8'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 1.8.3
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '1.8'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 1.8.3
89
+ description: |2
90
+ first it will pull lastest update from github/gitignore repo, then copy.
91
+ then copy corresponding .gitignore file to current diretory
92
+ email:
93
+ - neoman.v@gmail.com
94
+ executables:
95
+ - console
96
+ - gitegnore
97
+ - setup
98
+ extensions: []
99
+ extra_rdoc_files: []
100
+ files:
101
+ - ".gitignore"
102
+ - ".ruby-gemset"
103
+ - ".ruby-version"
104
+ - CODE_OF_CONDUCT.md
105
+ - Gemfile
106
+ - Gemfile.lock
107
+ - LICENSE.txt
108
+ - README.md
109
+ - Rakefile
110
+ - bin/console
111
+ - bin/gitegnore
112
+ - bin/setup
113
+ - gitegnore.gemspec
114
+ - lib/gitegnore.rb
115
+ - lib/gitegnore/cli.rb
116
+ - lib/gitegnore/version.rb
117
+ homepage: https://github.com/0oneo/gitegnore
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.5.1
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: fetch gitgnore file from the github/gitignore repo
141
+ test_files: []