install_gem_local 0.1.0

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
+ SHA256:
3
+ metadata.gz: f3a47dc56e14e5a184b97ee65a4a085e178ebbcb3841d8e570145dc9111fad50
4
+ data.tar.gz: c21612153a6150076615abab41bdc2e2233a2ad1e43ccac0922d848b7901b715
5
+ SHA512:
6
+ metadata.gz: c72378e58d9b7150bb8b28f80cada2ced0e5c5163a87bd5dad8dc4af0520cbab63558da54ef874d391d622726904331abb6dca6d27bda75d20b7ad4d30ad916c
7
+ data.tar.gz: 3acfcf3dffbe019c95128b03b373614c0815100bfb2ae89797bfebc3e9f1c9729c2b1c5c5e528b2a0b706dd6c373590675133a65a3fc0f0a5320e5f76eff978c
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build install_gem-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install install_gem-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install install_gem-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push install_gem-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
+ </project>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="inheritedJdk" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.0.1, RVM: ruby-2.5.0) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.5.0) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.5.0) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.5.0) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, RVM: ruby-2.5.0) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.2, RVM: ruby-2.5.0) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, RVM: ruby-2.5.0) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, RVM: ruby-2.5.0) [gem]" level="application" />
18
+ </component>
19
+ </module>
data/.idea/misc.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.5.0" project-jdk-type="RUBY_SDK" />
7
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/install_gem.iml" filepath="$PROJECT_DIR$/.idea/install_gem.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="874fc890-32ab-445d-a959-19a36d14995e" name="Default Changelist" comment="">
5
+ <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
6
+ <change afterPath="$PROJECT_DIR$/.rspec" afterDir="false" />
7
+ <change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
8
+ <change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
9
+ <change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
10
+ <change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
11
+ <change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
12
+ <change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
13
+ <change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
14
+ <change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
15
+ <change afterPath="$PROJECT_DIR$/install_gem.gemspec" afterDir="false" />
16
+ <change afterPath="$PROJECT_DIR$/lib/install_gem.rb" afterDir="false" />
17
+ <change afterPath="$PROJECT_DIR$/lib/install_gem/version.rb" afterDir="false" />
18
+ <change afterPath="$PROJECT_DIR$/spec/install_gem_spec.rb" afterDir="false" />
19
+ <change afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
20
+ </list>
21
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
22
+ <option name="SHOW_DIALOG" value="false" />
23
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
24
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
25
+ <option name="LAST_RESOLUTION" value="IGNORE" />
26
+ </component>
27
+ <component name="FileEditorManager">
28
+ <leaf>
29
+ <file pinned="false" current-in-tab="false">
30
+ <entry file="file://$PROJECT_DIR$/lib/install_gem.rb">
31
+ <provider selected="true" editor-type-id="text-editor" />
32
+ </entry>
33
+ </file>
34
+ <file pinned="false" current-in-tab="false">
35
+ <entry file="file://$PROJECT_DIR$/Rakefile">
36
+ <provider selected="true" editor-type-id="text-editor" />
37
+ </entry>
38
+ </file>
39
+ <file pinned="false" current-in-tab="true">
40
+ <entry file="file://$PROJECT_DIR$/install_gem.gemspec">
41
+ <provider selected="true" editor-type-id="text-editor">
42
+ <state relative-caret-position="228">
43
+ <caret line="12" column="66" selection-start-line="12" selection-start-column="66" selection-end-line="12" selection-end-column="66" />
44
+ </state>
45
+ </provider>
46
+ </entry>
47
+ </file>
48
+ </leaf>
49
+ </component>
50
+ <component name="Git.Settings">
51
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
52
+ </component>
53
+ <component name="IdeDocumentHistory">
54
+ <option name="CHANGED_PATHS">
55
+ <list>
56
+ <option value="$PROJECT_DIR$/install_gem.gemspec" />
57
+ </list>
58
+ </option>
59
+ </component>
60
+ <component name="ProjectFrameBounds" extendedState="6">
61
+ <option name="y" value="27" />
62
+ <option name="width" value="1366" />
63
+ <option name="height" value="741" />
64
+ </component>
65
+ <component name="ProjectView">
66
+ <navigator proportions="" version="1">
67
+ <foldersAlwaysOnTop value="true" />
68
+ </navigator>
69
+ <panes>
70
+ <pane id="ProjectPane">
71
+ <subPane>
72
+ <expand>
73
+ <path>
74
+ <item name="install_gem" type="b2602c69:ProjectViewProjectNode" />
75
+ <item name="install_gem" type="462c0819:PsiDirectoryNode" />
76
+ </path>
77
+ <path>
78
+ <item name="install_gem" type="b2602c69:ProjectViewProjectNode" />
79
+ <item name="install_gem" type="462c0819:PsiDirectoryNode" />
80
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
81
+ </path>
82
+ </expand>
83
+ <select />
84
+ </subPane>
85
+ </pane>
86
+ <pane id="Scope" />
87
+ </panes>
88
+ </component>
89
+ <component name="PropertiesComponent">
90
+ <property name="WebServerToolWindowFactoryState" value="false" />
91
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
92
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
93
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
94
+ </component>
95
+ <component name="RunDashboard">
96
+ <option name="ruleStates">
97
+ <list>
98
+ <RuleState>
99
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
100
+ </RuleState>
101
+ <RuleState>
102
+ <option name="name" value="StatusDashboardGroupingRule" />
103
+ </RuleState>
104
+ </list>
105
+ </option>
106
+ </component>
107
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
108
+ <component name="SvnConfiguration">
109
+ <configuration />
110
+ </component>
111
+ <component name="TaskManager">
112
+ <task active="true" id="Default" summary="Default task">
113
+ <changelist id="874fc890-32ab-445d-a959-19a36d14995e" name="Default Changelist" comment="" />
114
+ <created>1557837122562</created>
115
+ <option name="number" value="Default" />
116
+ <option name="presentableId" value="Default" />
117
+ <updated>1557837122562</updated>
118
+ <workItem from="1557837124078" duration="365000" />
119
+ </task>
120
+ <servers />
121
+ </component>
122
+ <component name="TimeTrackingManager">
123
+ <option name="totallyTimeSpent" value="365000" />
124
+ </component>
125
+ <component name="ToolWindowManager">
126
+ <frame x="0" y="27" width="1920" height="1053" extended-state="6" />
127
+ <editor active="true" />
128
+ <layout>
129
+ <window_info id="Favorites" side_tool="true" />
130
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
131
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
132
+ <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
133
+ <window_info anchor="bottom" id="Database Changes" />
134
+ <window_info anchor="bottom" id="Version Control" />
135
+ <window_info anchor="bottom" id="Terminal" />
136
+ <window_info anchor="bottom" id="Event Log" side_tool="true" />
137
+ <window_info anchor="bottom" id="Message" order="0" />
138
+ <window_info anchor="bottom" id="Find" order="1" />
139
+ <window_info anchor="bottom" id="Run" order="2" />
140
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
141
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
142
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
143
+ <window_info anchor="bottom" id="TODO" order="6" />
144
+ <window_info anchor="right" id="Database" />
145
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
146
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
147
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
148
+ </layout>
149
+ </component>
150
+ <component name="TypeScriptGeneratedFilesManager">
151
+ <option name="version" value="1" />
152
+ </component>
153
+ <component name="editorHistoryManager">
154
+ <entry file="file://$PROJECT_DIR$/lib/install_gem.rb">
155
+ <provider selected="true" editor-type-id="text-editor" />
156
+ </entry>
157
+ <entry file="file://$PROJECT_DIR$/Rakefile">
158
+ <provider selected="true" editor-type-id="text-editor" />
159
+ </entry>
160
+ <entry file="file://$PROJECT_DIR$/install_gem.gemspec">
161
+ <provider selected="true" editor-type-id="text-editor">
162
+ <state relative-caret-position="228">
163
+ <caret line="12" column="66" selection-start-line="12" selection-start-column="66" selection-end-line="12" selection-end-column="66" />
164
+ </state>
165
+ </provider>
166
+ </entry>
167
+ </component>
168
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 2.0.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 dthangavel@smartzip.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 install_gem.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ install_gem (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.3)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 2.0)
30
+ install_gem!
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 2.0.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Dhanabal T
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,43 @@
1
+ # InstallGem
2
+
3
+ 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/install_gem`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'install_gem_local'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install install_gem
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/install_gem. 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.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the InstallGem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/install_gem/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -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
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "install_gem_local"
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/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
@@ -0,0 +1,43 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "install_gem_local/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "install_gem_local"
8
+ spec.name = "install_gem_local"
9
+ spec.version = InstallGemLocal::VERSION
10
+ spec.authors = ["Dhanabal T"]
11
+ spec.email = ["vel.dhanabal@gmail.com"]
12
+
13
+ spec.summary = %q{to build and install the gem in my local}
14
+ spec.description = %q{to build and install the gem in my local}
15
+ spec.homepage = "https://github.com/dhanabalt/install_gem_local"
16
+ spec.license = "MIT"
17
+
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ if spec.respond_to?(:metadata)
21
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
22
+
23
+ spec.metadata["homepage_uri"] = spec.homepage
24
+ spec.metadata["source_code_uri"] = "https://github.com/dhanabalt/install_gem_local"
25
+ spec.metadata["changelog_uri"] = "https://github.com/dhanabalt/install_gem_local"
26
+ else
27
+ raise "RubyGems 2.0 or newer is required to protect against " \
28
+ "public gem pushes."
29
+ end
30
+
31
+ # Specify which files should be added to the gem when it is released.
32
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
33
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
34
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
35
+ end
36
+ spec.bindir = "exe"
37
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
+ spec.require_paths = ["lib"]
39
+
40
+ spec.add_development_dependency "bundler", "~> 2.0"
41
+ spec.add_development_dependency "rake", "~> 10.0"
42
+ spec.add_development_dependency "rspec", "~> 3.0"
43
+ end
@@ -0,0 +1,6 @@
1
+ require "install_gem_local/version"
2
+
3
+ module InstallGemLocal
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,3 @@
1
+ module InstallGemLocal
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: install_gem_local
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dhanabal T
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-05-15 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
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: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: to build and install the gem in my local
56
+ email:
57
+ - vel.dhanabal@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/.rakeTasks"
64
+ - ".idea/encodings.xml"
65
+ - ".idea/install_gem.iml"
66
+ - ".idea/misc.xml"
67
+ - ".idea/modules.xml"
68
+ - ".idea/vcs.xml"
69
+ - ".idea/workspace.xml"
70
+ - ".rspec"
71
+ - ".travis.yml"
72
+ - CODE_OF_CONDUCT.md
73
+ - Gemfile
74
+ - Gemfile.lock
75
+ - LICENSE.txt
76
+ - README.md
77
+ - Rakefile
78
+ - bin/console
79
+ - bin/setup
80
+ - install_gem_local.gemspec
81
+ - lib/install_gem_local.rb
82
+ - lib/install_gem_local/version.rb
83
+ homepage: https://github.com/dhanabalt/install_gem_local
84
+ licenses:
85
+ - MIT
86
+ metadata:
87
+ allowed_push_host: https://rubygems.org
88
+ homepage_uri: https://github.com/dhanabalt/install_gem_local
89
+ source_code_uri: https://github.com/dhanabalt/install_gem_local
90
+ changelog_uri: https://github.com/dhanabalt/install_gem_local
91
+ post_install_message:
92
+ rdoc_options: []
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubygems_version: 3.0.3
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: to build and install the gem in my local
110
+ test_files: []