first_gem_CW 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 +7 -0
- data/.gitignore +9 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/first_gem.iml +21 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +259 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/README.md +34 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/first_gem.gemspec +31 -0
- data/lib/first_gem.rb +5 -0
- data/lib/first_gem/version.rb +3 -0
- metadata +87 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: cf64b09e886d60dd15052304c933c9a41238f110
|
|
4
|
+
data.tar.gz: ee4434130e1388d1a80560b06962f5a33774c4a5
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 3f13d303ace3910c05ad3765b32dc764d894801918d3783e1919a1dfea483eb8f62e2808601dd1c435c1ae0665e0e4a1c8fa86bba153ab8c903fafcb12eceea7
|
|
7
|
+
data.tar.gz: 0294bc6c9141ebea6ff212a5ff4129b56c6ade84b774f844c1f1fdd16630f3203218e44e6e452eb56095277e0d716fc9b3ba800dc2c131e750b575add3b96e40
|
data/.gitignore
ADDED
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 first_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 file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install first_gem-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install first_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 first_gem-0.1.0.gem to Rubygems" fullCmd="release[remote]" taksId="release[remote]" /><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>
|
data/.idea/first_gem.iml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="New Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager">
|
|
13
|
+
<content url="file://$MODULE_DIR$">
|
|
14
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
|
15
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
|
16
|
+
</content>
|
|
17
|
+
<orderEntry type="inheritedJdk" />
|
|
18
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.12.5, ruby-2.0.0-p481) [gem]" level="application" />
|
|
20
|
+
</component>
|
|
21
|
+
</module>
|
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.0.0-p481" project-jdk-type="RUBY_SDK" />
|
|
14
|
+
</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/first_gem.iml" filepath="$PROJECT_DIR$/.idea/first_gem.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="145bbf74-bbcb-4923-ac0f-f069edeb152e" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/first_gem.gemspec" afterPath="$PROJECT_DIR$/first_gem.gemspec" />
|
|
6
|
+
</list>
|
|
7
|
+
<ignored path="first_gem.iws" />
|
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
|
9
|
+
<ignored path="$PROJECT_DIR$/.bundle/" />
|
|
10
|
+
<ignored path="$PROJECT_DIR$/vendor/bundle/" />
|
|
11
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
12
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
13
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
14
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
15
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
16
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
17
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
18
|
+
</component>
|
|
19
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
20
|
+
<component name="CreatePatchCommitExecutor">
|
|
21
|
+
<option name="PATCH_PATH" value="" />
|
|
22
|
+
</component>
|
|
23
|
+
<component name="FavoritesManager">
|
|
24
|
+
<favorites_list name="first_gem" />
|
|
25
|
+
</component>
|
|
26
|
+
<component name="FileEditorManager">
|
|
27
|
+
<leaf>
|
|
28
|
+
<file leaf-file-name="first_gem.gemspec" pinned="false" current-in-tab="true">
|
|
29
|
+
<entry file="file://$PROJECT_DIR$/first_gem.gemspec">
|
|
30
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
31
|
+
<state relative-caret-position="319">
|
|
32
|
+
<caret line="26" column="11" selection-start-line="26" selection-start-column="11" selection-end-line="26" selection-end-column="11" />
|
|
33
|
+
<folding />
|
|
34
|
+
</state>
|
|
35
|
+
</provider>
|
|
36
|
+
</entry>
|
|
37
|
+
</file>
|
|
38
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
|
39
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
40
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
41
|
+
<state relative-caret-position="0">
|
|
42
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
43
|
+
<folding />
|
|
44
|
+
</state>
|
|
45
|
+
</provider>
|
|
46
|
+
</entry>
|
|
47
|
+
</file>
|
|
48
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
|
49
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
50
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
51
|
+
<state relative-caret-position="0">
|
|
52
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
53
|
+
<folding />
|
|
54
|
+
</state>
|
|
55
|
+
</provider>
|
|
56
|
+
</entry>
|
|
57
|
+
</file>
|
|
58
|
+
<file leaf-file-name="first_gem.rb" pinned="false" current-in-tab="false">
|
|
59
|
+
<entry file="file://$PROJECT_DIR$/lib/first_gem.rb">
|
|
60
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
61
|
+
<state relative-caret-position="0">
|
|
62
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
63
|
+
<folding />
|
|
64
|
+
</state>
|
|
65
|
+
</provider>
|
|
66
|
+
</entry>
|
|
67
|
+
</file>
|
|
68
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="false">
|
|
69
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
70
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
71
|
+
<state relative-caret-position="285">
|
|
72
|
+
<caret line="19" column="22" selection-start-line="19" selection-start-column="22" selection-end-line="19" selection-end-column="22" />
|
|
73
|
+
<folding />
|
|
74
|
+
</state>
|
|
75
|
+
</provider>
|
|
76
|
+
</entry>
|
|
77
|
+
</file>
|
|
78
|
+
</leaf>
|
|
79
|
+
</component>
|
|
80
|
+
<component name="Git.Settings">
|
|
81
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
82
|
+
</component>
|
|
83
|
+
<component name="IdeDocumentHistory">
|
|
84
|
+
<option name="CHANGED_PATHS">
|
|
85
|
+
<list>
|
|
86
|
+
<option value="$PROJECT_DIR$/README.md" />
|
|
87
|
+
<option value="$PROJECT_DIR$/first_gem.gemspec" />
|
|
88
|
+
</list>
|
|
89
|
+
</option>
|
|
90
|
+
</component>
|
|
91
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
92
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
|
93
|
+
<component name="JsGulpfileManager">
|
|
94
|
+
<detection-done>true</detection-done>
|
|
95
|
+
<sorting>DEFINITION_ORDER</sorting>
|
|
96
|
+
</component>
|
|
97
|
+
<component name="ProjectFrameBounds">
|
|
98
|
+
<option name="x" value="240" />
|
|
99
|
+
<option name="y" value="88" />
|
|
100
|
+
<option name="width" value="1196" />
|
|
101
|
+
<option name="height" value="807" />
|
|
102
|
+
</component>
|
|
103
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
104
|
+
<OptionsSetting value="true" id="Add" />
|
|
105
|
+
<OptionsSetting value="true" id="Remove" />
|
|
106
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
107
|
+
<OptionsSetting value="true" id="Update" />
|
|
108
|
+
<OptionsSetting value="true" id="Status" />
|
|
109
|
+
<OptionsSetting value="true" id="Edit" />
|
|
110
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
111
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
112
|
+
</component>
|
|
113
|
+
<component name="ProjectView">
|
|
114
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
115
|
+
<flattenPackages />
|
|
116
|
+
<showMembers />
|
|
117
|
+
<showModules />
|
|
118
|
+
<showLibraryContents />
|
|
119
|
+
<hideEmptyPackages />
|
|
120
|
+
<abbreviatePackageNames />
|
|
121
|
+
<autoscrollToSource />
|
|
122
|
+
<autoscrollFromSource />
|
|
123
|
+
<sortByType />
|
|
124
|
+
<manualOrder />
|
|
125
|
+
<foldersAlwaysOnTop value="true" />
|
|
126
|
+
</navigator>
|
|
127
|
+
<panes>
|
|
128
|
+
<pane id="Scope" />
|
|
129
|
+
<pane id="ProjectPane">
|
|
130
|
+
<subPane>
|
|
131
|
+
<PATH>
|
|
132
|
+
<PATH_ELEMENT>
|
|
133
|
+
<option name="myItemId" value="first_gem" />
|
|
134
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
135
|
+
</PATH_ELEMENT>
|
|
136
|
+
</PATH>
|
|
137
|
+
<PATH>
|
|
138
|
+
<PATH_ELEMENT>
|
|
139
|
+
<option name="myItemId" value="first_gem" />
|
|
140
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
141
|
+
</PATH_ELEMENT>
|
|
142
|
+
<PATH_ELEMENT>
|
|
143
|
+
<option name="myItemId" value="first_gem" />
|
|
144
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
145
|
+
</PATH_ELEMENT>
|
|
146
|
+
</PATH>
|
|
147
|
+
<PATH>
|
|
148
|
+
<PATH_ELEMENT>
|
|
149
|
+
<option name="myItemId" value="first_gem" />
|
|
150
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
151
|
+
</PATH_ELEMENT>
|
|
152
|
+
<PATH_ELEMENT>
|
|
153
|
+
<option name="myItemId" value="first_gem" />
|
|
154
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
155
|
+
</PATH_ELEMENT>
|
|
156
|
+
<PATH_ELEMENT>
|
|
157
|
+
<option name="myItemId" value="lib" />
|
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
159
|
+
</PATH_ELEMENT>
|
|
160
|
+
</PATH>
|
|
161
|
+
</subPane>
|
|
162
|
+
</pane>
|
|
163
|
+
<pane id="Scratches" />
|
|
164
|
+
</panes>
|
|
165
|
+
</component>
|
|
166
|
+
<component name="PropertiesComponent">
|
|
167
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
168
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
169
|
+
</component>
|
|
170
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
|
171
|
+
<option name="remove_strategy" value="false" />
|
|
172
|
+
</component>
|
|
173
|
+
<component name="TaskManager">
|
|
174
|
+
<task active="true" id="Default" summary="Default task">
|
|
175
|
+
<changelist id="145bbf74-bbcb-4923-ac0f-f069edeb152e" name="Default" comment="" />
|
|
176
|
+
<created>1468270098744</created>
|
|
177
|
+
<option name="number" value="Default" />
|
|
178
|
+
<option name="presentableId" value="Default" />
|
|
179
|
+
<updated>1468270098744</updated>
|
|
180
|
+
<workItem from="1468270100341" duration="2173000" />
|
|
181
|
+
</task>
|
|
182
|
+
<servers />
|
|
183
|
+
</component>
|
|
184
|
+
<component name="TimeTrackingManager">
|
|
185
|
+
<option name="totallyTimeSpent" value="2173000" />
|
|
186
|
+
</component>
|
|
187
|
+
<component name="ToolWindowManager">
|
|
188
|
+
<frame x="240" y="88" width="1196" height="807" extended-state="0" />
|
|
189
|
+
<editor active="true" />
|
|
190
|
+
<layout>
|
|
191
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
192
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
193
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
194
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
195
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32984293" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
196
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
197
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
198
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
199
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
|
200
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
201
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
202
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
203
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
204
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
205
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
206
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
207
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
208
|
+
</layout>
|
|
209
|
+
</component>
|
|
210
|
+
<component name="VcsContentAnnotationSettings">
|
|
211
|
+
<option name="myLimit" value="2678400000" />
|
|
212
|
+
</component>
|
|
213
|
+
<component name="XDebuggerManager">
|
|
214
|
+
<breakpoint-manager />
|
|
215
|
+
<watches-manager />
|
|
216
|
+
</component>
|
|
217
|
+
<component name="editorHistoryManager">
|
|
218
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
219
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
220
|
+
<state relative-caret-position="0">
|
|
221
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
222
|
+
<folding />
|
|
223
|
+
</state>
|
|
224
|
+
</provider>
|
|
225
|
+
</entry>
|
|
226
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
227
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
228
|
+
<state relative-caret-position="0">
|
|
229
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
230
|
+
<folding />
|
|
231
|
+
</state>
|
|
232
|
+
</provider>
|
|
233
|
+
</entry>
|
|
234
|
+
<entry file="file://$PROJECT_DIR$/lib/first_gem.rb">
|
|
235
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
236
|
+
<state relative-caret-position="0">
|
|
237
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
238
|
+
<folding />
|
|
239
|
+
</state>
|
|
240
|
+
</provider>
|
|
241
|
+
</entry>
|
|
242
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
243
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
244
|
+
<state relative-caret-position="285">
|
|
245
|
+
<caret line="19" column="22" selection-start-line="19" selection-start-column="22" selection-end-line="19" selection-end-column="22" />
|
|
246
|
+
<folding />
|
|
247
|
+
</state>
|
|
248
|
+
</provider>
|
|
249
|
+
</entry>
|
|
250
|
+
<entry file="file://$PROJECT_DIR$/first_gem.gemspec">
|
|
251
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
252
|
+
<state relative-caret-position="319">
|
|
253
|
+
<caret line="26" column="11" selection-start-line="26" selection-start-column="11" selection-end-line="26" selection-end-column="11" />
|
|
254
|
+
<folding />
|
|
255
|
+
</state>
|
|
256
|
+
</provider>
|
|
257
|
+
</entry>
|
|
258
|
+
</component>
|
|
259
|
+
</project>
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -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 chriwilliams_23@yahoo.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
data/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# FirstGem
|
|
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/first_gem`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
+
|
|
5
|
+
blah blah
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
Add this line to your application's Gemfile:
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
gem 'first_gem'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
And then execute:
|
|
15
|
+
|
|
16
|
+
$ bundle
|
|
17
|
+
|
|
18
|
+
Or install it yourself as:
|
|
19
|
+
|
|
20
|
+
$ gem install first_gem
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
blah blah
|
|
25
|
+
## Development
|
|
26
|
+
|
|
27
|
+
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.
|
|
28
|
+
|
|
29
|
+
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).
|
|
30
|
+
|
|
31
|
+
## Contributing
|
|
32
|
+
|
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/first_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.
|
|
34
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "first_gem"
|
|
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
|
data/bin/setup
ADDED
data/first_gem.gemspec
ADDED
|
@@ -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 'first_gem/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "first_gem_CW"
|
|
8
|
+
spec.version = FirstGem::VERSION
|
|
9
|
+
spec.authors = ["Christopher Williams"]
|
|
10
|
+
spec.email = ["chriwilliams_23@yahoo.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = %q{Write a short summary, because Rubygems requires one.}
|
|
13
|
+
spec.description = %q{Write a longer description or delete this line.}
|
|
14
|
+
spec.homepage = %q{}
|
|
15
|
+
|
|
16
|
+
# # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
17
|
+
# # to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
18
|
+
# if spec.respond_to?(:metadata)
|
|
19
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
|
20
|
+
# else
|
|
21
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
|
22
|
+
# end
|
|
23
|
+
|
|
24
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
25
|
+
spec.bindir = "exe"
|
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
27
|
+
spec.require_paths = ["lib"]
|
|
28
|
+
|
|
29
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
31
|
+
end
|
data/lib/first_gem.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: first_gem_CW
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Christopher Williams
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-07-12 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.12'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.12'
|
|
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
|
+
description: Write a longer description or delete this line.
|
|
42
|
+
email:
|
|
43
|
+
- chriwilliams_23@yahoo.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".idea/.rakeTasks"
|
|
50
|
+
- ".idea/first_gem.iml"
|
|
51
|
+
- ".idea/misc.xml"
|
|
52
|
+
- ".idea/modules.xml"
|
|
53
|
+
- ".idea/vcs.xml"
|
|
54
|
+
- ".idea/workspace.xml"
|
|
55
|
+
- CODE_OF_CONDUCT.md
|
|
56
|
+
- Gemfile
|
|
57
|
+
- README.md
|
|
58
|
+
- Rakefile
|
|
59
|
+
- bin/console
|
|
60
|
+
- bin/setup
|
|
61
|
+
- first_gem.gemspec
|
|
62
|
+
- lib/first_gem.rb
|
|
63
|
+
- lib/first_gem/version.rb
|
|
64
|
+
homepage: ''
|
|
65
|
+
licenses: []
|
|
66
|
+
metadata: {}
|
|
67
|
+
post_install_message:
|
|
68
|
+
rdoc_options: []
|
|
69
|
+
require_paths:
|
|
70
|
+
- lib
|
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
requirements: []
|
|
82
|
+
rubyforge_project:
|
|
83
|
+
rubygems_version: 2.4.8
|
|
84
|
+
signing_key:
|
|
85
|
+
specification_version: 4
|
|
86
|
+
summary: Write a short summary, because Rubygems requires one.
|
|
87
|
+
test_files: []
|