restore_from_repository 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 656669b9b462756cb3f21960b9e65a3edabdfbb3
4
+ data.tar.gz: 3c01977ebaf9171b3621a6f64860753cdfb073bb
5
+ SHA512:
6
+ metadata.gz: 27b6b18b00c593dc688c9a10fc972c2fd4ca1891ead22c0ccad31f7133d0ef8979867f403991e296e397bdbde90d1c949bb08f17f32b63d42e19d3675b9e3470
7
+ data.tar.gz: 3ba4d68e1b5fe2733f5af4005f6dab6f07d2affbd08eb19c106850414ac954539c77e2fd312c402680f7050f61d8adf08ba2de9068232158dbfd435f45695d34
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+ var execSync = require('child_process').execSync;
3
+ var URI = require('urijs');
4
+
5
+ var gemspec = JSON.parse(execSync('bundle exec parse-gemspec-cli restore_from_repository.gemspec'));
6
+ var homepageUrl = gemspec.homepage;
7
+ var url = new URI(homepageUrl);
8
+ var host = url.protocol() + '://' + url.authority();
9
+ var owner = url.pathname().split('/')[1];
10
+ var repository = url.pathname().split('/')[2];
11
+
12
+ module.exports = {
13
+ version: gemspec.version,
14
+ host: host,
15
+ owner: owner,
16
+ repository: repository
17
+ };
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /node_modules/
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ sudo: false
3
+ rvm:
4
+ - 1.9
5
+ - 2.0.0
6
+ - 2.1.10
7
+ - 2.2.5
8
+ - 2.3.1
9
+ - 2.4.0-preview1
10
+ before_install:
11
+ - gem update bundler
12
+ after_script:
13
+ - './bin/run-rubocop.sh'
14
+ notifications:
15
+ email:
16
+ - ogataken@gmail.com
17
+ #env:
18
+ # global:
19
+ # secure: "HhY47FjvNswMrv+rYXkEoX3aHoYJM1v4vN/v3WBRJaBaV5QejOJMICwMnekWItKKd0z46mKdjMC+t471NFf99jj7nOfE8pQ+Zx3DHymKVcuYzfwe5sUKP/4kTBwSQhYp1FS2idJ3Hbt4qzZGnHiteycJfdVtWbJuU6Z95/+sDCqRpO7SZn5Y5pmRwQzey0+xoJhxRlxQikhJix7Ne6XB6DMT53jDC+xNSW0KqMXo5O/i4gfVlQ3qpp/xuNFiUj5Nn930OjkjMNqnvKrhwEg2UZgDuztOwgDAWjZAQhBtd/yKb8MgK//Z09MwmEg5+yfgmpqhHPvmiOMLHX7xEuuZgPRDt40tkC4K90v0u8D8lW6zHAjQ5xtaLRBksgC0j9sXzw4wvXaMvkjZ1V6Br4XFxnXnXiaF2asL8L+W9PAQ6XSlNOYNLK4eEK9XUwQG2Vw7v9KG+e1AcvWfoAjJSuFLtV09+eHylkGtpnP34zo8Ci0UkpeIVIG1BMHJjzsM/Bb2PoKvRkn6BQEpVx9AV8BcWhLj/WyqSb8Sk506GFTJUm7ERUsOgrJoNFI74JEECvoMM8WPxNd9fE55U4j3OtRNxtVmuBg96Ax2t5neTilBl4LB7EuDivsyhbbt5o2SNdXCFToqN8+EJR/REUvBtGUf7d1KqjakZyB3u9epjQYYTPE="
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at o.gata.ken@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in restore_from_repository.gemspec
4
+ gemspec
5
+
6
+ gem 'rubocop'
7
+ gem 'byebug' if RUBY_VERSION >= '2.0.0'
8
+ gem 'parse_gemspec-cli'
9
+ gem 'yard'
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Sanemat
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.
@@ -0,0 +1,50 @@
1
+ # RestoreFromRepository
2
+
3
+ [![Gem version][gem-image]][gem-url] [![Travis-CI Status][travis-image]][travis-url] [![yard docs][docs-image]][docs-url]
4
+
5
+
6
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/restore_from_repository`. To experiment with that code, run `bin/console` for an interactive prompt.
7
+
8
+ TODO: Delete this and the text above, and describe your gem
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'restore_from_repository'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install restore_from_repository
25
+
26
+ ## Usage
27
+
28
+ TODO: Write usage instructions here
29
+
30
+ ## Development
31
+
32
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
33
+
34
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/packsaddle/ruby-restore_from_repository. 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.
39
+
40
+
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
44
+
45
+ [travis-url]: https://travis-ci.org/packsaddle/ruby-restore_from_repository
46
+ [travis-image]: https://img.shields.io/travis/packsaddle/ruby-restore_from_repository/master.svg?style=flat-square&label=build%20%28linux%29
47
+ [gem-url]: https://rubygems.org/gems/restore_from_repository
48
+ [gem-image]: http://img.shields.io/gem/v/restore_from_repository.svg?style=flat-square
49
+ [docs-url]: http://www.rubydoc.info/gems/restore_from_repository
50
+ [docs-image]: https://img.shields.io/badge/yard-docs-blue.svg?style=flat-square
@@ -0,0 +1,18 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'test'
6
+ t.test_files = FileList['test/**/test*.rb']
7
+ end
8
+
9
+ task default: :test
10
+
11
+ require 'yard'
12
+ require 'yard/rake/yardoc_task'
13
+ DOC_FILES = ['lib/**/*.rb'].freeze
14
+ DOC_OPTIONS = ['--debug', '--verbose'].freeze
15
+ YARD::Rake::YardocTask.new(:doc) do |t|
16
+ t.files = DOC_FILES
17
+ t.options = DOC_OPTIONS if Rake.application.options.trace
18
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'restore_from_repository'
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
@@ -0,0 +1,42 @@
1
+ #!/bin/bash
2
+ set -v
3
+ if [ -n "${TRAVIS_PULL_REQUEST}" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ] && [ "${TRAVIS_JOB_NUMBER: -1}" == "1" ]; then
4
+ # Travis-CI
5
+ #
6
+ # git clone --depth=50 \
7
+ # git://github.com/packsaddle/example-ruby-travis-ci.git \
8
+ # packsaddle/example-ruby-travis-ci
9
+ # cd packsaddle/example-ruby-travis-ci
10
+ # git fetch origin +refs/pull/1/merge:
11
+ # git checkout -qf FETCH_HEAD
12
+
13
+ echo gem install
14
+ gem install --no-document rubocop-select rubocop rubocop-checkstyle_formatter \
15
+ checkstyle_filter-git saddler saddler-reporter-github \
16
+ github_status_notifier
17
+
18
+ github-status-notifier notify --state pending --context saddler/rubocop
19
+
20
+ TARGET_FILES=$(git diff -z --name-only origin/master \
21
+ | xargs -0 rubocop-select)
22
+
23
+ if [ "${TARGET_FILES}" == "" ]; then
24
+ echo "no rubocop target found"
25
+ github-status-notifier notify --state success --context saddler/rubocop
26
+ exit 0
27
+ fi
28
+
29
+ git diff -z --name-only origin/master \
30
+ | xargs -0 rubocop-select \
31
+ | xargs rubocop \
32
+ --require rubocop/formatter/checkstyle_formatter \
33
+ --format RuboCop::Formatter::CheckstyleFormatter \
34
+ | checkstyle_filter-git diff origin/master \
35
+ | saddler report \
36
+ --require saddler/reporter/github \
37
+ --reporter Saddler::Reporter::Github::PullRequestReviewComment
38
+
39
+ github-status-notifier notify --exit-status $? --context saddler/rubocop
40
+ fi
41
+
42
+ exit 0
@@ -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
@@ -0,0 +1,10 @@
1
+ <a name="0.1.0"></a>
2
+ # 0.1.0 (2016-07-24)
3
+
4
+
5
+ ### Features
6
+
7
+ * **lib:** import from restore_bundled_with ([90be036](https://github.com/packsaddle/ruby-restore_from_repository/commit/90be036))
8
+
9
+
10
+
@@ -0,0 +1,9 @@
1
+ require 'restore_from_repository/version'
2
+ require 'restore_from_repository/error'
3
+ require 'restore_from_repository/target_file'
4
+ require 'restore_from_repository/repository'
5
+
6
+ # Restore file from repository
7
+ module RestoreFromRepository
8
+ # Your code goes here...
9
+ end
@@ -0,0 +1,3 @@
1
+ module RestoreFromRepository
2
+ class NoInputError < StandardError; end
3
+ end
@@ -0,0 +1,36 @@
1
+ module RestoreFromRepository
2
+ # The git repository
3
+ class Repository
4
+ REF = 'HEAD'.freeze
5
+ GIT_PATH = '.'.freeze
6
+ GIT_OPTIONS = {}.freeze
7
+ NEW_LINE = "\n".freeze
8
+
9
+ # @param git_path [String] git repository path
10
+ # @param git_options [Hash] ruby-git options
11
+ #
12
+ # @return [Repository] Repository instance
13
+ def initialize(git_path = GIT_PATH, git_options = GIT_OPTIONS)
14
+ @git_path = git_path
15
+ @git_options = git_options
16
+ end
17
+
18
+ # @return [Git::Base] ruby-git object
19
+ def git
20
+ @git ||= Git.open(@git_path, @git_options)
21
+ end
22
+
23
+ # @param file [String] target file
24
+ # @param ref [String] git ref
25
+ # @param new_line [String] file's ending new line
26
+ #
27
+ # @return [String] target file contents
28
+ def fetch_file(file, ref = REF, new_line = NEW_LINE)
29
+ raise TypeError if file.nil?
30
+
31
+ # NOTE: git.cat_file trims last \n?
32
+ text = git.cat_file("#{ref}:#{file}")
33
+ text + new_line
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,90 @@
1
+ module RestoreFromRepository
2
+ # The target file
3
+ class TargetFile
4
+ attr_reader :body
5
+ # @!attribute [r] body
6
+ # @return [String] file body
7
+
8
+ REGEX_BUNDLED_WITH = /^(?<pick>(?:\r\n|\r|\n)^BUNDLED WITH.*(?:\r\n|\r|\n).+(?:\r\n|\r|\n))/
9
+ FILE_NAME = 'Gemfile.lock'.freeze
10
+
11
+ # @param text [String] base target file
12
+ # @param section [String] appending section
13
+ #
14
+ # @return [TargetFile] the target file instance
15
+ def self.insert(text, section)
16
+ if section && !section.empty?
17
+ new(text + section)
18
+ else
19
+ new(text)
20
+ end
21
+ end
22
+
23
+ # @param data [String] before restore
24
+ # @param target_file [String] file name
25
+ # @param pattern [Regexp] match pattern
26
+ # @param ref [String] git ref
27
+ # @param git_path [String] git repository path
28
+ # @param git_options [Hash] ruby-git options
29
+ # @param new_line [String] new line
30
+ #
31
+ # @return [TargetFile] the target file instance
32
+ def self.restore(
33
+ data,
34
+ target_file = FILE_NAME,
35
+ pattern = REGEX_BUNDLED_WITH,
36
+ ref = Repository::REF,
37
+ git_path = Repository::GIT_PATH,
38
+ git_options = Repository::GIT_OPTIONS,
39
+ new_line = Repository::NEW_LINE
40
+ )
41
+ raise TypeError if target_file.nil?
42
+
43
+ trimmed = new(data).delete_by_pattern(pattern)
44
+ target_file_data = Repository
45
+ .new(git_path, git_options)
46
+ .fetch_file(target_file, ref, new_line)
47
+ section = new(target_file_data)
48
+ .pick_by_pattern(pattern)
49
+ insert(trimmed.body, section)
50
+ end
51
+
52
+ # @param text [String] the target file contents
53
+ #
54
+ # @return [TargetFile] the target file instance
55
+ def initialize(text)
56
+ @body = text
57
+ end
58
+
59
+ # @param pattern [Regexp, String] match pattern
60
+ #
61
+ # @return [TargetFile] new target file instance
62
+ def delete_by_pattern(pattern)
63
+ self.class.new(body.sub(pattern) { '' })
64
+ end
65
+
66
+ # @param pattern [Regexp] match pattern
67
+ #
68
+ # @return [String] picked section
69
+ def pick_by_pattern(pattern)
70
+ match = pattern.match(body)
71
+ if match
72
+ match[:pick]
73
+ else
74
+ ''
75
+ end
76
+ end
77
+
78
+ # @return [String] the target file contents
79
+ def to_s
80
+ body
81
+ end
82
+
83
+ # @param [#body] other compare body
84
+ #
85
+ # @return [Boolean] true if file body is same
86
+ def ==(other)
87
+ body == other.body
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,3 @@
1
+ module RestoreFromRepository
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,11 @@
1
+ {
2
+ "devDependencies": {
3
+ "conventional-changelog-cli": "^1.2.0",
4
+ "npm-check-updates": "^2.2.3",
5
+ "urijs": "^1.16.1"
6
+ },
7
+ "scripts": {
8
+ "changelog": "conventional-changelog -i changelog.md --same-file --preset angular --context .conventional-changelog.context.js",
9
+ "ncu": "ncu -u"
10
+ }
11
+ }
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'restore_from_repository/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'restore_from_repository'
8
+ spec.version = RestoreFromRepository::VERSION
9
+ spec.authors = ['Sanemat']
10
+ spec.email = ['o.gata.ken@gmail.com']
11
+
12
+ spec.summary = 'Write a short summary, because Rubygems requires one.'
13
+ spec.description = 'Write a longer description or delete this line.'
14
+ spec.homepage = 'https://github.com/packsaddle/ruby-restore_from_repository'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_runtime_dependency 'git'
23
+
24
+ spec.add_development_dependency 'bundler'
25
+ spec.add_development_dependency 'rake'
26
+ spec.add_development_dependency 'test-unit'
27
+ spec.add_development_dependency 'test-unit-rr'
28
+ end
metadata ADDED
@@ -0,0 +1,134 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: restore_from_repository
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sanemat
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: git
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
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: bundler
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: '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: test-unit
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: test-unit-rr
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
+ description: Write a longer description or delete this line.
84
+ email:
85
+ - o.gata.ken@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".conventional-changelog.context.js"
91
+ - ".gitignore"
92
+ - ".travis.yml"
93
+ - CODE_OF_CONDUCT.md
94
+ - Gemfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - bin/console
99
+ - bin/run-rubocop.sh
100
+ - bin/setup
101
+ - changelog.md
102
+ - lib/restore_from_repository.rb
103
+ - lib/restore_from_repository/error.rb
104
+ - lib/restore_from_repository/repository.rb
105
+ - lib/restore_from_repository/target_file.rb
106
+ - lib/restore_from_repository/version.rb
107
+ - package.json
108
+ - restore_from_repository.gemspec
109
+ homepage: https://github.com/packsaddle/ruby-restore_from_repository
110
+ licenses:
111
+ - MIT
112
+ metadata: {}
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ requirements: []
128
+ rubyforge_project:
129
+ rubygems_version: 2.5.1
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: Write a short summary, because Rubygems requires one.
133
+ test_files: []
134
+ has_rdoc: