lacey-rails 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: 7866643a6b3c3789d07a423e9cbb291c1131abe5
4
+ data.tar.gz: 6ab8ebeb599794762be723d9bfcb878dd2eb150e
5
+ SHA512:
6
+ metadata.gz: 54284180319fa92ba8ce5e24f158ebea49ff69afbb72a7c4050ad7cc2f116270e666914a49aa3cadc6266da52cd777a5fb3417dad0ee59ea08ec033b94e77b67
7
+ data.tar.gz: de9581514babda248dc215aaaf7619a43ef0af111b227fd004f5a0d9a4226ecdeda68207c5884432f034dc7a17c0889c011fce555a3955f308d4a0fba6c98aa6
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
+ lacey-rails
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" /></Settings>
@@ -0,0 +1,19 @@
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="jdk" jdkName="RVM: ruby-2.2.2 [lacey-rails]" jdkType="RUBY_SDK" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
16
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2.2 [lacey-rails]) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.2 [lacey-rails]) [gem]" level="application" />
18
+ </component>
19
+ </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="RVM: ruby-2.0.0-p247 [global]" 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/lacey-rails.iml" filepath="$PROJECT_DIR$/.idea/lacey-rails.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,380 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="c54aa624-b745-4069-9035-88306dee9310" name="Default" comment="">
5
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/vendor/assets/javascripts/lacey.js" />
6
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/vendor/assets/javascripts/lacey.min.js" />
7
+ <change type="DELETED" beforePath="$PROJECT_DIR$/.rspec" afterPath="" />
8
+ <change type="DELETED" beforePath="$PROJECT_DIR$/spec/lacey/rails_spec.rb" afterPath="" />
9
+ <change type="DELETED" beforePath="$PROJECT_DIR$/spec/spec_helper.rb" afterPath="" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/.rakeTasks" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
11
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lacey-rails.gemspec" afterPath="$PROJECT_DIR$/lacey-rails.gemspec" />
12
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/lacey-rails.iml" afterPath="$PROJECT_DIR$/.idea/lacey-rails.iml" />
13
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
14
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/lacey/rails.rb" afterPath="$PROJECT_DIR$/lib/lacey/rails.rb" />
15
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/vcs.xml" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
16
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/lacey/rails/version.rb" afterPath="$PROJECT_DIR$/lib/lacey/rails/version.rb" />
17
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
18
+ </list>
19
+ <ignored path="lacey-rails.iws" />
20
+ <ignored path=".idea/workspace.xml" />
21
+ <ignored path=".idea/dataSources.local.xml" />
22
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
23
+ <option name="TRACKING_ENABLED" value="true" />
24
+ <option name="SHOW_DIALOG" value="false" />
25
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
26
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
27
+ <option name="LAST_RESOLUTION" value="IGNORE" />
28
+ </component>
29
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
30
+ <component name="CreatePatchCommitExecutor">
31
+ <option name="PATCH_PATH" value="" />
32
+ </component>
33
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
34
+ <component name="FavoritesManager">
35
+ <favorites_list name="lacey-rails" />
36
+ </component>
37
+ <component name="FileEditorManager">
38
+ <leaf>
39
+ <file leaf-file-name="lacey-rails.gemspec" pinned="false" current-in-tab="true">
40
+ <entry file="file://$PROJECT_DIR$/lacey-rails.gemspec">
41
+ <provider selected="true" editor-type-id="text-editor">
42
+ <state vertical-scroll-proportion="0.38551402">
43
+ <caret line="11" column="90" selection-start-line="11" selection-start-column="90" selection-end-line="11" selection-end-column="90" />
44
+ <folding />
45
+ </state>
46
+ </provider>
47
+ </entry>
48
+ </file>
49
+ </leaf>
50
+ </component>
51
+ <component name="Git.Settings">
52
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
53
+ </component>
54
+ <component name="IdeDocumentHistory">
55
+ <option name="CHANGED_PATHS">
56
+ <list>
57
+ <option value="$PROJECT_DIR$/lib/lacey/rails/version.rb" />
58
+ <option value="$PROJECT_DIR$/lib/lacey/rails.rb" />
59
+ <option value="$PROJECT_DIR$/lacey-rails.gemspec" />
60
+ </list>
61
+ </option>
62
+ </component>
63
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
64
+ <component name="JsGulpfileManager">
65
+ <detection-done>true</detection-done>
66
+ </component>
67
+ <component name="NamedScopeManager">
68
+ <order />
69
+ </component>
70
+ <component name="ProjectFrameBounds">
71
+ <option name="y" value="23" />
72
+ <option name="width" value="1440" />
73
+ <option name="height" value="797" />
74
+ </component>
75
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true">
76
+ <OptionsSetting value="true" id="Add" />
77
+ <OptionsSetting value="true" id="Remove" />
78
+ <OptionsSetting value="true" id="Checkout" />
79
+ <OptionsSetting value="true" id="Update" />
80
+ <OptionsSetting value="true" id="Status" />
81
+ <OptionsSetting value="true" id="Edit" />
82
+ <ConfirmationsSetting value="0" id="Add" />
83
+ <ConfirmationsSetting value="0" id="Remove" />
84
+ </component>
85
+ <component name="ProjectView">
86
+ <navigator currentView="ProjectPane" proportions="" version="1">
87
+ <flattenPackages />
88
+ <showMembers />
89
+ <showModules />
90
+ <showLibraryContents />
91
+ <hideEmptyPackages />
92
+ <abbreviatePackageNames />
93
+ <autoscrollToSource />
94
+ <autoscrollFromSource />
95
+ <sortByType />
96
+ </navigator>
97
+ <panes>
98
+ <pane id="Scope" />
99
+ <pane id="Scratches" />
100
+ <pane id="ProjectPane">
101
+ <subPane>
102
+ <PATH>
103
+ <PATH_ELEMENT>
104
+ <option name="myItemId" value="lacey-rails" />
105
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
106
+ </PATH_ELEMENT>
107
+ </PATH>
108
+ <PATH>
109
+ <PATH_ELEMENT>
110
+ <option name="myItemId" value="lacey-rails" />
111
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
112
+ </PATH_ELEMENT>
113
+ <PATH_ELEMENT>
114
+ <option name="myItemId" value="lacey-rails" />
115
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
116
+ </PATH_ELEMENT>
117
+ </PATH>
118
+ </subPane>
119
+ </pane>
120
+ </panes>
121
+ </component>
122
+ <component name="PropertiesComponent">
123
+ <property name="options.splitter.main.proportions" value="0.3" />
124
+ <property name="options.lastSelected" value="database.main" />
125
+ <property name="options.splitter.details.proportions" value="0.2" />
126
+ <property name="options.searchVisible" value="true" />
127
+ <property name="WebServerToolWindowFactoryState" value="false" />
128
+ <property name="FullScreen" value="false" />
129
+ </component>
130
+ <component name="RecentsManager">
131
+ <key name="CopyFile.RECENT_KEYS">
132
+ <recent name="$PROJECT_DIR$/vendor/assets/javascripts" />
133
+ </key>
134
+ </component>
135
+ <component name="RunManager">
136
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
137
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
138
+ <module name="" />
139
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
140
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
141
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
142
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
143
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
144
+ <envs />
145
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
146
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
147
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
148
+ <COVERAGE_PATTERN ENABLED="true">
149
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
150
+ </COVERAGE_PATTERN>
151
+ </EXTENSION>
152
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
153
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
154
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
155
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
156
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
157
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
158
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
159
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
160
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
161
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
162
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
163
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
164
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
165
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
166
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
167
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
168
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
169
+ <method />
170
+ </configuration>
171
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
172
+ <method />
173
+ </configuration>
174
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
175
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
176
+ <module name="" />
177
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
178
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
179
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
180
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
181
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
182
+ <envs />
183
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
184
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
185
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
186
+ <COVERAGE_PATTERN ENABLED="true">
187
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
188
+ </COVERAGE_PATTERN>
189
+ </EXTENSION>
190
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
191
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
192
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
193
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
194
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
195
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
196
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
197
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
198
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
199
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
200
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
201
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
202
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
203
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
204
+ <method />
205
+ </configuration>
206
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
207
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
208
+ <module name="" />
209
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
210
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
211
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
212
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
213
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
214
+ <envs />
215
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
216
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
217
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
218
+ <COVERAGE_PATTERN ENABLED="true">
219
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
220
+ </COVERAGE_PATTERN>
221
+ </EXTENSION>
222
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
223
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
224
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
225
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
226
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
227
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
228
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
229
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
230
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
231
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
232
+ <method />
233
+ </configuration>
234
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
235
+ <method />
236
+ </configuration>
237
+ </component>
238
+ <component name="ShelveChangesManager" show_recycled="false" />
239
+ <component name="SvnConfiguration" myUseAcceleration="nothing">
240
+ <configuration />
241
+ </component>
242
+ <component name="TaskManager">
243
+ <task active="true" id="Default" summary="Default task">
244
+ <changelist id="c54aa624-b745-4069-9035-88306dee9310" name="Default" comment="" />
245
+ <created>1448315960368</created>
246
+ <option name="number" value="Default" />
247
+ <updated>1448315960368</updated>
248
+ </task>
249
+ <servers />
250
+ </component>
251
+ <component name="TodoView">
252
+ <todo-panel id="selected-file">
253
+ <is-autoscroll-to-source value="true" />
254
+ </todo-panel>
255
+ <todo-panel id="all">
256
+ <are-packages-shown value="true" />
257
+ <is-autoscroll-to-source value="true" />
258
+ </todo-panel>
259
+ </component>
260
+ <component name="ToolWindowManager">
261
+ <frame x="0" y="23" width="1440" height="797" extended-state="6" />
262
+ <editor active="true" />
263
+ <layout>
264
+ <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="7" side_tool="false" content_ui="tabs" />
265
+ <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="3" side_tool="false" content_ui="tabs" />
266
+ <window_info id="Find" 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" />
267
+ <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" />
268
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32842416" sideWeight="0.5028612" order="7" side_tool="true" content_ui="tabs" />
269
+ <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="2" side_tool="true" content_ui="tabs" />
270
+ <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="7" side_tool="false" content_ui="tabs" />
271
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298969" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
272
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3298969" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
273
+ <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" />
274
+ <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="7" side_tool="false" content_ui="tabs" />
275
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2532189" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
276
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32842416" sideWeight="0.49713877" order="2" side_tool="false" content_ui="tabs" />
277
+ <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" />
278
+ <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" />
279
+ <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" />
280
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
281
+ <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" />
282
+ <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" />
283
+ </layout>
284
+ </component>
285
+ <component name="Vcs.Log.UiProperties">
286
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
287
+ <collection />
288
+ </option>
289
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
290
+ <collection />
291
+ </option>
292
+ </component>
293
+ <component name="VcsContentAnnotationSettings">
294
+ <option name="myLimit" value="2678400000" />
295
+ </component>
296
+ <component name="XDebuggerManager">
297
+ <breakpoint-manager />
298
+ <watches-manager />
299
+ </component>
300
+ <component name="editorHistoryManager">
301
+ <entry file="file://$PROJECT_DIR$/README.md">
302
+ <provider editor-type-id="MarkdownPreviewEditor">
303
+ <state />
304
+ </provider>
305
+ <provider selected="true" editor-type-id="text-editor">
306
+ <state vertical-scroll-proportion="0.0">
307
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
308
+ <folding />
309
+ </state>
310
+ </provider>
311
+ </entry>
312
+ <entry file="file://$PROJECT_DIR$/lib/lacey/rails/version.rb">
313
+ <provider selected="true" editor-type-id="text-editor">
314
+ <state vertical-scroll-proportion="0.06912442">
315
+ <caret line="3" column="20" selection-start-line="3" selection-start-column="5" selection-end-line="3" selection-end-column="5" />
316
+ <folding />
317
+ </state>
318
+ </provider>
319
+ </entry>
320
+ <entry file="file://$PROJECT_DIR$/bin/console">
321
+ <provider selected="true" editor-type-id="text-editor">
322
+ <state vertical-scroll-proportion="0.06912442">
323
+ <caret line="3" column="17" selection-start-line="3" selection-start-column="17" selection-end-line="3" selection-end-column="17" />
324
+ <folding />
325
+ </state>
326
+ </provider>
327
+ </entry>
328
+ <entry file="file://$PROJECT_DIR$/.travis.yml">
329
+ <provider selected="true" editor-type-id="text-editor">
330
+ <state vertical-scroll-proportion="0.0">
331
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
332
+ <folding />
333
+ </state>
334
+ </provider>
335
+ </entry>
336
+ <entry file="file://$PROJECT_DIR$/lib/lacey/rails.rb">
337
+ <provider selected="true" editor-type-id="text-editor">
338
+ <state vertical-scroll-proportion="0.1843318">
339
+ <caret line="8" column="27" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
340
+ <folding />
341
+ </state>
342
+ </provider>
343
+ </entry>
344
+ <entry file="file://$PROJECT_DIR$/Rakefile">
345
+ <provider selected="true" editor-type-id="text-editor">
346
+ <state vertical-scroll-proportion="0.0">
347
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
348
+ <folding />
349
+ </state>
350
+ </provider>
351
+ </entry>
352
+ <entry file="file://$PROJECT_DIR$/Gemfile">
353
+ <provider selected="true" editor-type-id="text-editor">
354
+ <state vertical-scroll-proportion="0.0">
355
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
356
+ <folding />
357
+ </state>
358
+ </provider>
359
+ </entry>
360
+ <entry file="file://$PROJECT_DIR$/README.md">
361
+ <provider editor-type-id="MarkdownPreviewEditor">
362
+ <state />
363
+ </provider>
364
+ <provider selected="true" editor-type-id="text-editor">
365
+ <state vertical-scroll-proportion="0.21859297">
366
+ <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
367
+ <folding />
368
+ </state>
369
+ </provider>
370
+ </entry>
371
+ <entry file="file://$PROJECT_DIR$/lacey-rails.gemspec">
372
+ <provider selected="true" editor-type-id="text-editor">
373
+ <state vertical-scroll-proportion="0.38551402">
374
+ <caret line="11" column="90" selection-start-line="11" selection-start-column="90" selection-end-line="11" selection-end-column="90" />
375
+ <folding />
376
+ </state>
377
+ </provider>
378
+ </entry>
379
+ </component>
380
+ </project>
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in lacey-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 alexzicat
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,41 @@
1
+ # Lacey::Rails
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/lacey/rails`. 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 'lacey-rails'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install lacey-rails
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]/lacey-rails.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
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 "lacey/rails"
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,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'lacey/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'lacey-rails'
8
+ spec.version = Lacey::Rails::VERSION
9
+ spec.authors = ['alexzicat']
10
+ spec.email = ['dev.alexzicat@gmail.com']
11
+
12
+ spec.summary = 'lacey is small javascript library for module oriented programming'
13
+ spec.homepage = 'https://github.com/alexzicat/lacey-rails'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.10'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+ end
@@ -0,0 +1,8 @@
1
+ require 'lacey/rails/version'
2
+
3
+ module Lacey
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Lacey
2
+ module Rails
3
+ VERSION = '0.1.0'
4
+ end
5
+ end
@@ -0,0 +1,39 @@
1
+ window.App = function(app_name) {
2
+ if (typeof app_name !== 'string') {
3
+ throw 'InvalidAppNameError - you must give a valid name to your lacey app';
4
+ }
5
+ this.app_name = app_name;
6
+ this.modules = [];
7
+ return this;
8
+ };
9
+
10
+ App.prototype.register_module = function(module_name, module) {
11
+ if (typeof module_name !== 'string') {
12
+ throw 'InvalidModuleNameError - you must give a valid name to your module';
13
+ }
14
+ if (typeof module !== 'function') {
15
+ throw 'InvalidModuleError - your module must be a function';
16
+ }
17
+ this.modules.push(module_name);
18
+ this[module_name] = (function() {
19
+ var create, get_instance, instance;
20
+ instance = null;
21
+ get_instance = function() {
22
+ if (instance == null) {
23
+ instance = new module;
24
+ }
25
+ return instance;
26
+ };
27
+ create = function() {
28
+ if (instance != null) {
29
+ throw 'DuplicateModuleError - this module has been already created';
30
+ }
31
+ return get_instance();
32
+ };
33
+ return {
34
+ create: create,
35
+ get_instance: get_instance
36
+ };
37
+ })();
38
+ return this[module_name];
39
+ };
@@ -0,0 +1 @@
1
+ window.App=function(t){if("string"!=typeof t)throw"InvalidAppNameError - you must give a valid name to your lacey app";return this.app_name=t,this.modules=[],this},App.prototype.register_module=function(t,e){if("string"!=typeof t)throw"InvalidModuleNameError - you must give a valid name to your module";if("function"!=typeof e)throw"InvalidModuleError - your module must be a function";return this.modules.push(t),this[t]=function(){var t,r,o;return o=null,r=function(){return null==o&&(o=new e),o},t=function(){if(null!=o)throw"DuplicateModuleError - this module has been already created";return r()},{create:t,get_instance:r}}(),this[t]};
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lacey-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - alexzicat
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-23 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.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
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:
42
+ email:
43
+ - dev.alexzicat@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".idea/.name"
50
+ - ".idea/.rakeTasks"
51
+ - ".idea/lacey-rails.iml"
52
+ - ".idea/misc.xml"
53
+ - ".idea/modules.xml"
54
+ - ".idea/vcs.xml"
55
+ - ".idea/workspace.xml"
56
+ - ".travis.yml"
57
+ - Gemfile
58
+ - LICENSE.txt
59
+ - README.md
60
+ - Rakefile
61
+ - bin/console
62
+ - bin/setup
63
+ - lacey-rails.gemspec
64
+ - lib/lacey/rails.rb
65
+ - lib/lacey/rails/version.rb
66
+ - vendor/assets/javascripts/lacey.js
67
+ - vendor/assets/javascripts/lacey.min.js
68
+ homepage: https://github.com/alexzicat/lacey-rails
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.4.7
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: lacey is small javascript library for module oriented programming
92
+ test_files: []