sinject 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: 3c108e1d292554b6483496812a1da2af7c1a84ee
4
+ data.tar.gz: ecbb1228c80d65e30ec24442000178dacad868f3
5
+ SHA512:
6
+ metadata.gz: 13526b244d0b5d415a52d099aa887a9ee90266edb3d9c366d53aa10b402838f4076c5707a5d6a9900af6a082ca2a90ff03efe3ad93a68f6dbfdd459a6caf864e
7
+ data.tar.gz: 6c8a71df97d9fe84d2d2a32cdee510501aa8cef5287656e3b09b6a19887d3d37c74607187bdb4f98725470b390ed5d7d14c9a585eae61f1c84a6a22b28029028
data/.DS_Store ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ sinject
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 sinject-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 sinject-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install sinject-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 sinject-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>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding">
4
+ <file url="PROJECT" charset="UTF-8" />
5
+ </component>
6
+ </project>
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="rbenv: 2.1.5" 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/sinject.iml" filepath="$PROJECT_DIR$/.idea/sinject.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/sinject.iml ADDED
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Ruby 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
+ <orderEntry type="inheritedJdk" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
16
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.11.2, rbenv: 2.1.5) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.0, rbenv: 2.1.5) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, rbenv: 2.1.5) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, rbenv: 2.1.5) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="pry (v0.10.3, rbenv: 2.1.5) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, rbenv: 2.1.5) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.4.0, rbenv: 2.1.5) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.4.2, rbenv: 2.1.5) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, rbenv: 2.1.5) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.4.1, rbenv: 2.1.5) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.4.1, rbenv: 2.1.5) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, rbenv: 2.1.5) [gem]" level="application" />
28
+ </component>
29
+ </module>
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,415 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="452df2fe-1a7b-405f-8175-e26fd90fc202" name="Default" comment="" />
5
+ <ignored path="sinject.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <ignored path=".idea/dataSources.local.xml" />
8
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+ <option name="TRACKING_ENABLED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
+ <component name="CreatePatchCommitExecutor">
17
+ <option name="PATCH_PATH" value="" />
18
+ </component>
19
+ <component name="FavoritesManager">
20
+ <favorites_list name="sinject" />
21
+ </component>
22
+ <component name="FileEditorManager">
23
+ <leaf>
24
+ <file leaf-file-name="sinject.gemspec" pinned="false" current-in-tab="false">
25
+ <entry file="file://$PROJECT_DIR$/sinject.gemspec">
26
+ <provider selected="true" editor-type-id="text-editor">
27
+ <state vertical-scroll-proportion="0.0">
28
+ <caret line="11" column="37" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="37" />
29
+ <folding />
30
+ </state>
31
+ </provider>
32
+ </entry>
33
+ </file>
34
+ <file leaf-file-name="CODE_OF_CONDUCT.md" pinned="false" current-in-tab="false">
35
+ <entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
36
+ <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
37
+ <state />
38
+ </provider>
39
+ <provider selected="true" editor-type-id="text-editor">
40
+ <state vertical-scroll-proportion="-2.9464285">
41
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
42
+ <folding />
43
+ </state>
44
+ </provider>
45
+ </entry>
46
+ </file>
47
+ <file leaf-file-name="sinject.rb" pinned="false" current-in-tab="true">
48
+ <entry file="file://$PROJECT_DIR$/lib/sinject.rb">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state vertical-scroll-proportion="0.26112187">
51
+ <caret line="18" column="25" selection-start-line="18" selection-start-column="25" selection-end-line="18" selection-end-column="25" />
52
+ <folding />
53
+ </state>
54
+ </provider>
55
+ </entry>
56
+ </file>
57
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
58
+ <entry file="file://$PROJECT_DIR$/lib/sinject/version.rb">
59
+ <provider selected="true" editor-type-id="text-editor">
60
+ <state vertical-scroll-proportion="0.0">
61
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
62
+ <folding />
63
+ </state>
64
+ </provider>
65
+ </entry>
66
+ </file>
67
+ <file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
68
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
69
+ <provider selected="true" editor-type-id="text-editor">
70
+ <state vertical-scroll-proportion="0.0">
71
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
72
+ <folding />
73
+ </state>
74
+ </provider>
75
+ </entry>
76
+ </file>
77
+ <file leaf-file-name="sinject_spec.rb" pinned="false" current-in-tab="false">
78
+ <entry file="file://$PROJECT_DIR$/spec/sinject/sinject_spec.rb">
79
+ <provider selected="true" editor-type-id="text-editor">
80
+ <state vertical-scroll-proportion="0.0">
81
+ <caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" />
82
+ <folding />
83
+ </state>
84
+ </provider>
85
+ </entry>
86
+ </file>
87
+ <file leaf-file-name="test_classes.rb" pinned="false" current-in-tab="false">
88
+ <entry file="file://$PROJECT_DIR$/spec/sinject/test_objects/test_classes.rb">
89
+ <provider selected="true" editor-type-id="text-editor">
90
+ <state vertical-scroll-proportion="0.0">
91
+ <caret line="0" column="38" selection-start-line="0" selection-start-column="38" selection-end-line="0" selection-end-column="38" />
92
+ <folding />
93
+ </state>
94
+ </provider>
95
+ </entry>
96
+ </file>
97
+ <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
98
+ <entry file="file://$PROJECT_DIR$/Gemfile">
99
+ <provider selected="true" editor-type-id="text-editor">
100
+ <state vertical-scroll-proportion="0.0">
101
+ <caret line="3" column="9" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="9" />
102
+ <folding />
103
+ </state>
104
+ </provider>
105
+ </entry>
106
+ </file>
107
+ </leaf>
108
+ </component>
109
+ <component name="Git.Settings">
110
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
111
+ </component>
112
+ <component name="IdeDocumentHistory">
113
+ <option name="CHANGED_PATHS">
114
+ <list>
115
+ <option value="$PROJECT_DIR$/Gemfile" />
116
+ <option value="$PROJECT_DIR$/spec/sinject/ioc_container_spec.rb" />
117
+ <option value="$PROJECT_DIR$/spec/sinject/test_objects/test_classes.rb" />
118
+ <option value="$PROJECT_DIR$/sinject.gemspec" />
119
+ <option value="$PROJECT_DIR$/lib/sinject.rb" />
120
+ <option value="$PROJECT_DIR$/spec/sinject/sinject_spec.rb" />
121
+ </list>
122
+ </option>
123
+ </component>
124
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
125
+ <component name="JsGulpfileManager">
126
+ <detection-done>true</detection-done>
127
+ </component>
128
+ <component name="NamedScopeManager">
129
+ <order />
130
+ </component>
131
+ <component name="ProjectFrameBounds">
132
+ <option name="x" value="2347" />
133
+ <option name="y" value="145" />
134
+ <option name="width" value="1920" />
135
+ <option name="height" value="1105" />
136
+ </component>
137
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
138
+ <OptionsSetting value="true" id="Add" />
139
+ <OptionsSetting value="true" id="Remove" />
140
+ <OptionsSetting value="true" id="Checkout" />
141
+ <OptionsSetting value="true" id="Update" />
142
+ <OptionsSetting value="true" id="Status" />
143
+ <OptionsSetting value="true" id="Edit" />
144
+ <ConfirmationsSetting value="0" id="Add" />
145
+ <ConfirmationsSetting value="0" id="Remove" />
146
+ </component>
147
+ <component name="ProjectView">
148
+ <navigator currentView="ProjectPane" proportions="" version="1">
149
+ <flattenPackages />
150
+ <showMembers />
151
+ <showModules />
152
+ <showLibraryContents />
153
+ <hideEmptyPackages />
154
+ <abbreviatePackageNames />
155
+ <autoscrollToSource />
156
+ <autoscrollFromSource />
157
+ <sortByType />
158
+ </navigator>
159
+ <panes>
160
+ <pane id="Scratches" />
161
+ <pane id="Scope" />
162
+ <pane id="ProjectPane">
163
+ <subPane>
164
+ <PATH>
165
+ <PATH_ELEMENT>
166
+ <option name="myItemId" value="sinject" />
167
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
168
+ </PATH_ELEMENT>
169
+ </PATH>
170
+ <PATH>
171
+ <PATH_ELEMENT>
172
+ <option name="myItemId" value="sinject" />
173
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
174
+ </PATH_ELEMENT>
175
+ <PATH_ELEMENT>
176
+ <option name="myItemId" value="sinject" />
177
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
178
+ </PATH_ELEMENT>
179
+ </PATH>
180
+ <PATH>
181
+ <PATH_ELEMENT>
182
+ <option name="myItemId" value="sinject" />
183
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
184
+ </PATH_ELEMENT>
185
+ <PATH_ELEMENT>
186
+ <option name="myItemId" value="sinject" />
187
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
188
+ </PATH_ELEMENT>
189
+ <PATH_ELEMENT>
190
+ <option name="myItemId" value="lib" />
191
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
192
+ </PATH_ELEMENT>
193
+ </PATH>
194
+ </subPane>
195
+ </pane>
196
+ </panes>
197
+ </component>
198
+ <component name="PropertiesComponent">
199
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
200
+ <property name="WebServerToolWindowFactoryState" value="false" />
201
+ </component>
202
+ <component name="RunManager">
203
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
204
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
205
+ <module name="" />
206
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
207
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
208
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
209
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
210
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
211
+ <envs />
212
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
213
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
214
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
215
+ <COVERAGE_PATTERN ENABLED="true">
216
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
217
+ </COVERAGE_PATTERN>
218
+ </EXTENSION>
219
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
220
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
221
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
222
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
223
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
224
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
225
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
226
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
227
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
228
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
229
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
230
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
231
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
232
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
233
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
234
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
235
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
236
+ <method />
237
+ </configuration>
238
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
239
+ <method />
240
+ </configuration>
241
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
242
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
243
+ <module name="" />
244
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
245
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
246
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
247
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
248
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
249
+ <envs />
250
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
251
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
252
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
253
+ <COVERAGE_PATTERN ENABLED="true">
254
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
255
+ </COVERAGE_PATTERN>
256
+ </EXTENSION>
257
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
258
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
259
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
260
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
261
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
262
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
263
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
264
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
265
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
266
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
267
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
268
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
269
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
270
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
271
+ <method />
272
+ </configuration>
273
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
274
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
275
+ <module name="" />
276
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
277
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
278
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
279
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
280
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
281
+ <envs />
282
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
283
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
284
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
285
+ <COVERAGE_PATTERN ENABLED="true">
286
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
287
+ </COVERAGE_PATTERN>
288
+ </EXTENSION>
289
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
290
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
291
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
292
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
293
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
294
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
295
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
296
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
297
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
298
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
299
+ <method />
300
+ </configuration>
301
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
302
+ <method />
303
+ </configuration>
304
+ </component>
305
+ <component name="ShelveChangesManager" show_recycled="false" />
306
+ <component name="TaskManager">
307
+ <task active="true" id="Default" summary="Default task">
308
+ <changelist id="452df2fe-1a7b-405f-8175-e26fd90fc202" name="Default" comment="" />
309
+ <created>1454669530301</created>
310
+ <option name="number" value="Default" />
311
+ <updated>1454669530301</updated>
312
+ </task>
313
+ <servers />
314
+ </component>
315
+ <component name="ToolWindowManager">
316
+ <frame x="2347" y="145" width="1920" height="1105" extended-state="6" />
317
+ <editor active="true" />
318
+ <layout>
319
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
320
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
321
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32956687" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
322
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
323
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
324
+ <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
325
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
326
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
327
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
328
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
329
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
330
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
331
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
332
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
333
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
334
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
335
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
336
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
337
+ </layout>
338
+ </component>
339
+ <component name="VcsContentAnnotationSettings">
340
+ <option name="myLimit" value="2678400000" />
341
+ </component>
342
+ <component name="XDebuggerManager">
343
+ <breakpoint-manager />
344
+ <watches-manager />
345
+ </component>
346
+ <component name="editorHistoryManager">
347
+ <entry file="file://$PROJECT_DIR$/Gemfile">
348
+ <provider selected="true" editor-type-id="text-editor">
349
+ <state vertical-scroll-proportion="0.0">
350
+ <caret line="3" column="9" selection-start-line="3" selection-start-column="9" selection-end-line="3" selection-end-column="9" />
351
+ <folding />
352
+ </state>
353
+ </provider>
354
+ </entry>
355
+ <entry file="file://$PROJECT_DIR$/lib/sinject/version.rb">
356
+ <provider selected="true" editor-type-id="text-editor">
357
+ <state vertical-scroll-proportion="0.0">
358
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
359
+ <folding />
360
+ </state>
361
+ </provider>
362
+ </entry>
363
+ <entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
364
+ <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
365
+ <state />
366
+ </provider>
367
+ <provider selected="true" editor-type-id="text-editor">
368
+ <state vertical-scroll-proportion="-2.9464285">
369
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
370
+ <folding />
371
+ </state>
372
+ </provider>
373
+ </entry>
374
+ <entry file="file://$PROJECT_DIR$/sinject.gemspec">
375
+ <provider selected="true" editor-type-id="text-editor">
376
+ <state vertical-scroll-proportion="0.0">
377
+ <caret line="11" column="37" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="37" />
378
+ <folding />
379
+ </state>
380
+ </provider>
381
+ </entry>
382
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
383
+ <provider selected="true" editor-type-id="text-editor">
384
+ <state vertical-scroll-proportion="0.0">
385
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
386
+ <folding />
387
+ </state>
388
+ </provider>
389
+ </entry>
390
+ <entry file="file://$PROJECT_DIR$/spec/sinject/test_objects/test_classes.rb">
391
+ <provider selected="true" editor-type-id="text-editor">
392
+ <state vertical-scroll-proportion="0.0">
393
+ <caret line="0" column="38" selection-start-line="0" selection-start-column="38" selection-end-line="0" selection-end-column="38" />
394
+ <folding />
395
+ </state>
396
+ </provider>
397
+ </entry>
398
+ <entry file="file://$PROJECT_DIR$/spec/sinject/sinject_spec.rb">
399
+ <provider selected="true" editor-type-id="text-editor">
400
+ <state vertical-scroll-proportion="0.0">
401
+ <caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" />
402
+ <folding />
403
+ </state>
404
+ </provider>
405
+ </entry>
406
+ <entry file="file://$PROJECT_DIR$/lib/sinject.rb">
407
+ <provider selected="true" editor-type-id="text-editor">
408
+ <state vertical-scroll-proportion="0.26112187">
409
+ <caret line="18" column="25" selection-start-line="18" selection-start-column="25" selection-end-line="18" selection-end-column="25" />
410
+ <folding />
411
+ </state>
412
+ </provider>
413
+ </entry>
414
+ </component>
415
+ </project>
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -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 vaughan.britton@sage.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,4 @@
1
+ source "https://rubygems.org"
2
+ gemspec
3
+
4
+ gem 'pry'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 vaughanbrittonsage
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,46 @@
1
+ <<<<<<< HEAD
2
+ # Sinject
3
+
4
+ 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/sinject`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+
6
+ TODO: Delete this and the text above, and describe your gem
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'sinject'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install sinject
23
+
24
+ ## Usage
25
+
26
+ TODO: Write usage instructions here
27
+
28
+ ## Development
29
+
30
+ 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.
31
+
32
+ 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).
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sinject. 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
+
39
+ ## License
40
+
41
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
42
+
43
+ =======
44
+ # sinject
45
+ A simple dependency injection framework for ruby.
46
+ >>>>>>> 6a85e4cbf29c3874701332710a37936cff9e7105
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "sinject"
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
@@ -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/lib/sinject.rb ADDED
@@ -0,0 +1,107 @@
1
+ require "sinject/version"
2
+
3
+
4
+ #This is the IOC Container for registering all dependencies an building objects.
5
+ class SinjectContainer
6
+
7
+ class << self
8
+ attr_accessor :instance
9
+ end
10
+
11
+ def initialize
12
+ @store = []
13
+ SinjectContainer.instance = self
14
+ end
15
+
16
+ # Check if an object has been registered with the container.
17
+ #
18
+ # Example:
19
+ # >> SinjectContainer.instance.is_registered? :object_key
20
+ # => true
21
+ #
22
+ # Arguments:
23
+ # key: (Symbol)
24
+ def is_registered?(key)
25
+ !@store.select { |i| i.key == key}.empty?
26
+ end
27
+
28
+ # Register an object with the container.
29
+ # Objects can be registered as either a single instance or a multi instance object.
30
+ # Single instance objects are only initialized once and the same object is returned from the container for every request.
31
+ # Multi instance objects are a new instance that is created for each request.
32
+ #
33
+ # Example:
34
+ # >> SinjectContainer.instance.register :object_key, ClassName, true
35
+ #
36
+ # Arguments:
37
+ # key: (Symbol)
38
+ # class_name: (ClassName)
39
+ # single_instance: (Boolean)
40
+ def register(key, class_name, single_instance = false)
41
+ item = ContainerItem.new
42
+ item.key = key
43
+ item.single_instance = single_instance
44
+ if single_instance == true
45
+ item.instance = class_name.new
46
+ else
47
+ item.class_name = class_name
48
+ end
49
+ @store.push(item)
50
+ end
51
+
52
+ # Get an object from the container.
53
+ # This will build the requested object and all its dependencies.
54
+ #
55
+ # Example:
56
+ # >> SinjectContainer.instance.get :object_key
57
+ #
58
+ # Arguments:
59
+ # key: (Symbol)
60
+ def get(key)
61
+ items = @store.select { |i| i.key == key}
62
+ if !items.empty?
63
+ item = items.first
64
+ if item.single_instance == true
65
+ return item.instance
66
+ else
67
+ return item.class_name.new
68
+ end
69
+ else
70
+ class_name = "#{key}".split('_').collect(&:capitalize).join
71
+ Object.const_get(class_name).new
72
+ end
73
+ end
74
+ end
75
+
76
+ class ContainerItem
77
+ attr_accessor :key
78
+ attr_accessor :instance
79
+ attr_accessor :single_instance
80
+ attr_accessor :class_name
81
+ end
82
+
83
+ class Class
84
+
85
+ # Specify a dependency required by a class.
86
+ # This will create an attribute for the required dependency that will be populated by the ioc container.
87
+ #
88
+ # Example:
89
+ # >> dependency :registered_object_symbol
90
+ #
91
+ # Arguments:
92
+ # key: (Symbol)
93
+ def dependency(*obj_key)
94
+ obj_key.each do |k|
95
+
96
+ self.send(:define_method, k) do
97
+ val = self.instance_variable_get("@#{k}")
98
+ if(val == nil)
99
+ val = SinjectContainer.instance.get(k)
100
+ self.instance_variable_set("@#{k}", val)
101
+ end
102
+ val
103
+ end
104
+
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,3 @@
1
+ module Sinject
2
+ VERSION = "0.1.0"
3
+ end
data/sinject.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sinject/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sinject"
8
+ spec.version = Sinject::VERSION
9
+ spec.authors = ["vaughan britton"]
10
+ spec.email = ["vaughanbritton@gmail.com"]
11
+
12
+ spec.summary = "Simple Dependency Injection."
13
+ spec.description = "A simple dependency injection framework."
14
+ spec.homepage = "https://github.com/vaughanbrittonsage/sinject"
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_development_dependency "bundler", "~> 1.11"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+ end
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sinject
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - vaughan britton
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-02-05 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.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
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: A simple dependency injection framework.
56
+ email:
57
+ - vaughanbritton@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".DS_Store"
63
+ - ".gitignore"
64
+ - ".idea/.name"
65
+ - ".idea/.rakeTasks"
66
+ - ".idea/encodings.xml"
67
+ - ".idea/misc.xml"
68
+ - ".idea/modules.xml"
69
+ - ".idea/sinject.iml"
70
+ - ".idea/vcs.xml"
71
+ - ".idea/workspace.xml"
72
+ - ".rspec"
73
+ - CODE_OF_CONDUCT.md
74
+ - Gemfile
75
+ - LICENSE.txt
76
+ - README.md
77
+ - Rakefile
78
+ - bin/console
79
+ - bin/setup
80
+ - lib/sinject.rb
81
+ - lib/sinject/version.rb
82
+ - sinject.gemspec
83
+ homepage: https://github.com/vaughanbrittonsage/sinject
84
+ licenses:
85
+ - MIT
86
+ metadata: {}
87
+ post_install_message:
88
+ rdoc_options: []
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubyforge_project:
103
+ rubygems_version: 2.5.1
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Simple Dependency Injection.
107
+ test_files: []
108
+ has_rdoc: