active_scopes 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/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/active_scopes.iml +28 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +507 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/README.md +45 -0
- data/Rakefile +11 -0
- data/active_scopes.gemspec +35 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/active_scopes.rb +7 -0
- data/lib/active_scopes/scopes.rb +7 -0
- data/lib/active_scopes/version.rb +3 -0
- metadata +132 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 7729e88b5a23e53a2d8edee1f927f58a85b65acc
|
|
4
|
+
data.tar.gz: ac98441715c9d59473dfe9d80a0e981114f1783b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 3b95e9b0c5ea4508390c80ca1a68be598534682ca5ff1269c349cdaab13678d679910c2b2fef2c0d6b7e27982b617721c77188b0bb30640f9fa16756abeb6851
|
|
7
|
+
data.tar.gz: b810b395342c7683e044471be692c5e15defb9ee6d7e98e2f9a3dc086fa300723bd9483d8bbf2c53a573e50181cc8e35efddd866b1646389b801a28db7ae8a71
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
active_scopes
|
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 active_scopes-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install active_scopes-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.1.0 and build and push active_scopes-0.1.0.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
|
@@ -0,0 +1,28 @@
|
|
|
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="$MODULE_DIR$/test" />
|
|
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
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
|
15
|
+
</content>
|
|
16
|
+
<orderEntry type="inheritedJdk" />
|
|
17
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="activerecord (v4.1.6, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.7.0, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.2.0, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="sqlite3 (v1.3.10, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.5, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, RVM: ruby-2.1.2) [gem]" level="application" />
|
|
27
|
+
</component>
|
|
28
|
+
</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.1.2" 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/active_scopes.iml" filepath="$PROJECT_DIR$/.idea/active_scopes.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="dc030f95-b296-49c5-897e-8c47f09d766d" name="Default" comment="">
|
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/active_scopes.gemspec" afterPath="$PROJECT_DIR$/active_scopes.gemspec" />
|
|
6
|
+
</list>
|
|
7
|
+
<ignored path="active_scopes.iws" />
|
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
|
9
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
10
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
11
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
12
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
13
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
14
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
15
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
16
|
+
</component>
|
|
17
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
18
|
+
<component name="CreatePatchCommitExecutor">
|
|
19
|
+
<option name="PATCH_PATH" value="" />
|
|
20
|
+
</component>
|
|
21
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
22
|
+
<component name="FavoritesManager">
|
|
23
|
+
<favorites_list name="active_scopes" />
|
|
24
|
+
</component>
|
|
25
|
+
<component name="FileEditorManager">
|
|
26
|
+
<leaf>
|
|
27
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
|
28
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
29
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
30
|
+
<state vertical-scroll-proportion="0.0">
|
|
31
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
32
|
+
<folding />
|
|
33
|
+
</state>
|
|
34
|
+
</provider>
|
|
35
|
+
</entry>
|
|
36
|
+
</file>
|
|
37
|
+
<file leaf-file-name="active_scopes.gemspec" pinned="false" current-in-tab="true">
|
|
38
|
+
<entry file="file://$PROJECT_DIR$/active_scopes.gemspec">
|
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
40
|
+
<state vertical-scroll-proportion="0.26675788">
|
|
41
|
+
<caret line="13" column="67" selection-start-line="13" selection-start-column="67" selection-end-line="13" selection-end-column="67" />
|
|
42
|
+
<folding />
|
|
43
|
+
</state>
|
|
44
|
+
</provider>
|
|
45
|
+
</entry>
|
|
46
|
+
</file>
|
|
47
|
+
<file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
|
|
48
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
49
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
50
|
+
<state vertical-scroll-proportion="0.0">
|
|
51
|
+
<caret line="0" column="15" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
|
|
52
|
+
<folding />
|
|
53
|
+
</state>
|
|
54
|
+
</provider>
|
|
55
|
+
</entry>
|
|
56
|
+
</file>
|
|
57
|
+
<file leaf-file-name="active_scopes.rb" pinned="false" current-in-tab="false">
|
|
58
|
+
<entry file="file://$PROJECT_DIR$/lib/active_scopes.rb">
|
|
59
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
60
|
+
<state vertical-scroll-proportion="0.0">
|
|
61
|
+
<caret line="2" column="26" selection-start-line="2" selection-start-column="26" selection-end-line="2" selection-end-column="26" />
|
|
62
|
+
<folding />
|
|
63
|
+
</state>
|
|
64
|
+
</provider>
|
|
65
|
+
</entry>
|
|
66
|
+
</file>
|
|
67
|
+
<file leaf-file-name="scopes_spec.rb" pinned="false" current-in-tab="false">
|
|
68
|
+
<entry file="file://$PROJECT_DIR$/spec/active_scopes/scopes_spec.rb">
|
|
69
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
70
|
+
<state vertical-scroll-proportion="0.0">
|
|
71
|
+
<caret line="24" column="26" selection-start-line="24" selection-start-column="26" selection-end-line="24" selection-end-column="26" />
|
|
72
|
+
<folding />
|
|
73
|
+
</state>
|
|
74
|
+
</provider>
|
|
75
|
+
</entry>
|
|
76
|
+
</file>
|
|
77
|
+
<file leaf-file-name="scopes.rb" pinned="false" current-in-tab="false">
|
|
78
|
+
<entry file="file://$PROJECT_DIR$/lib/active_scopes/scopes.rb">
|
|
79
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
80
|
+
<state vertical-scroll-proportion="0.0">
|
|
81
|
+
<caret line="1" column="15" selection-start-line="1" selection-start-column="15" selection-end-line="1" selection-end-column="15" />
|
|
82
|
+
<folding />
|
|
83
|
+
</state>
|
|
84
|
+
</provider>
|
|
85
|
+
</entry>
|
|
86
|
+
</file>
|
|
87
|
+
<file leaf-file-name="connection_handling.rb" pinned="false" current-in-tab="false">
|
|
88
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.1.2@global/gems/activerecord-4.1.6/lib/active_record/connection_handling.rb">
|
|
89
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
90
|
+
<state vertical-scroll-proportion="0.0">
|
|
91
|
+
<caret line="46" column="40" selection-start-line="46" selection-start-column="40" selection-end-line="46" selection-end-column="40" />
|
|
92
|
+
<folding />
|
|
93
|
+
</state>
|
|
94
|
+
</provider>
|
|
95
|
+
</entry>
|
|
96
|
+
</file>
|
|
97
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
|
98
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
99
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
100
|
+
<state vertical-scroll-proportion="0.0">
|
|
101
|
+
<caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
|
|
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$/README.md" />
|
|
116
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
|
117
|
+
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
|
118
|
+
<option value="$PROJECT_DIR$/lib/active_scopes.rb" />
|
|
119
|
+
<option value="$PROJECT_DIR$/spec/active_scopes/scopes_spec.rb" />
|
|
120
|
+
<option value="$PROJECT_DIR$/lib/active_scopes/scopes.rb" />
|
|
121
|
+
<option value="$PROJECT_DIR$/active_scopes.gemspec" />
|
|
122
|
+
</list>
|
|
123
|
+
</option>
|
|
124
|
+
</component>
|
|
125
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
|
126
|
+
<component name="JsGulpfileManager">
|
|
127
|
+
<detection-done>true</detection-done>
|
|
128
|
+
</component>
|
|
129
|
+
<component name="NamedScopeManager">
|
|
130
|
+
<order />
|
|
131
|
+
</component>
|
|
132
|
+
<component name="ProjectFrameBounds">
|
|
133
|
+
<option name="x" value="56" />
|
|
134
|
+
<option name="y" value="23" />
|
|
135
|
+
<option name="width" value="1384" />
|
|
136
|
+
<option name="height" value="877" />
|
|
137
|
+
</component>
|
|
138
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
139
|
+
<OptionsSetting value="true" id="Add" />
|
|
140
|
+
<OptionsSetting value="true" id="Remove" />
|
|
141
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
142
|
+
<OptionsSetting value="true" id="Update" />
|
|
143
|
+
<OptionsSetting value="true" id="Status" />
|
|
144
|
+
<OptionsSetting value="true" id="Edit" />
|
|
145
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
146
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
147
|
+
</component>
|
|
148
|
+
<component name="ProjectView">
|
|
149
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
150
|
+
<flattenPackages />
|
|
151
|
+
<showMembers />
|
|
152
|
+
<showModules />
|
|
153
|
+
<showLibraryContents />
|
|
154
|
+
<hideEmptyPackages />
|
|
155
|
+
<abbreviatePackageNames />
|
|
156
|
+
<autoscrollToSource />
|
|
157
|
+
<autoscrollFromSource />
|
|
158
|
+
<sortByType />
|
|
159
|
+
</navigator>
|
|
160
|
+
<panes>
|
|
161
|
+
<pane id="ProjectPane">
|
|
162
|
+
<subPane>
|
|
163
|
+
<PATH>
|
|
164
|
+
<PATH_ELEMENT>
|
|
165
|
+
<option name="myItemId" value="active_scopes" />
|
|
166
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
167
|
+
</PATH_ELEMENT>
|
|
168
|
+
</PATH>
|
|
169
|
+
<PATH>
|
|
170
|
+
<PATH_ELEMENT>
|
|
171
|
+
<option name="myItemId" value="active_scopes" />
|
|
172
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
173
|
+
</PATH_ELEMENT>
|
|
174
|
+
<PATH_ELEMENT>
|
|
175
|
+
<option name="myItemId" value="active_scopes" />
|
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
177
|
+
</PATH_ELEMENT>
|
|
178
|
+
</PATH>
|
|
179
|
+
<PATH>
|
|
180
|
+
<PATH_ELEMENT>
|
|
181
|
+
<option name="myItemId" value="active_scopes" />
|
|
182
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
183
|
+
</PATH_ELEMENT>
|
|
184
|
+
<PATH_ELEMENT>
|
|
185
|
+
<option name="myItemId" value="active_scopes" />
|
|
186
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
187
|
+
</PATH_ELEMENT>
|
|
188
|
+
<PATH_ELEMENT>
|
|
189
|
+
<option name="myItemId" value="spec" />
|
|
190
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
191
|
+
</PATH_ELEMENT>
|
|
192
|
+
</PATH>
|
|
193
|
+
<PATH>
|
|
194
|
+
<PATH_ELEMENT>
|
|
195
|
+
<option name="myItemId" value="active_scopes" />
|
|
196
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
197
|
+
</PATH_ELEMENT>
|
|
198
|
+
<PATH_ELEMENT>
|
|
199
|
+
<option name="myItemId" value="active_scopes" />
|
|
200
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
201
|
+
</PATH_ELEMENT>
|
|
202
|
+
<PATH_ELEMENT>
|
|
203
|
+
<option name="myItemId" value="spec" />
|
|
204
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
205
|
+
</PATH_ELEMENT>
|
|
206
|
+
<PATH_ELEMENT>
|
|
207
|
+
<option name="myItemId" value="active_scopes" />
|
|
208
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
209
|
+
</PATH_ELEMENT>
|
|
210
|
+
</PATH>
|
|
211
|
+
<PATH>
|
|
212
|
+
<PATH_ELEMENT>
|
|
213
|
+
<option name="myItemId" value="active_scopes" />
|
|
214
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
215
|
+
</PATH_ELEMENT>
|
|
216
|
+
<PATH_ELEMENT>
|
|
217
|
+
<option name="myItemId" value="active_scopes" />
|
|
218
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
219
|
+
</PATH_ELEMENT>
|
|
220
|
+
<PATH_ELEMENT>
|
|
221
|
+
<option name="myItemId" value="lib" />
|
|
222
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
223
|
+
</PATH_ELEMENT>
|
|
224
|
+
</PATH>
|
|
225
|
+
<PATH>
|
|
226
|
+
<PATH_ELEMENT>
|
|
227
|
+
<option name="myItemId" value="active_scopes" />
|
|
228
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
229
|
+
</PATH_ELEMENT>
|
|
230
|
+
<PATH_ELEMENT>
|
|
231
|
+
<option name="myItemId" value="active_scopes" />
|
|
232
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
233
|
+
</PATH_ELEMENT>
|
|
234
|
+
<PATH_ELEMENT>
|
|
235
|
+
<option name="myItemId" value="lib" />
|
|
236
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
237
|
+
</PATH_ELEMENT>
|
|
238
|
+
<PATH_ELEMENT>
|
|
239
|
+
<option name="myItemId" value="active_scopes" />
|
|
240
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
241
|
+
</PATH_ELEMENT>
|
|
242
|
+
</PATH>
|
|
243
|
+
</subPane>
|
|
244
|
+
</pane>
|
|
245
|
+
<pane id="Scratches" />
|
|
246
|
+
<pane id="Scope" />
|
|
247
|
+
</panes>
|
|
248
|
+
</component>
|
|
249
|
+
<component name="PropertiesComponent">
|
|
250
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
251
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
252
|
+
</component>
|
|
253
|
+
<component name="RunManager">
|
|
254
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
255
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
256
|
+
<module name="" />
|
|
257
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
258
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
259
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
260
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
261
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
262
|
+
<envs />
|
|
263
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
264
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
265
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
266
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
267
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
268
|
+
</COVERAGE_PATTERN>
|
|
269
|
+
</EXTENSION>
|
|
270
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
271
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
272
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
273
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
274
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
275
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
276
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
277
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
278
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
279
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
280
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
281
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
282
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
283
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
284
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
285
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
286
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
287
|
+
<method />
|
|
288
|
+
</configuration>
|
|
289
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
290
|
+
<method />
|
|
291
|
+
</configuration>
|
|
292
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
|
293
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
|
294
|
+
<module name="" />
|
|
295
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
296
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
297
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
298
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
299
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
300
|
+
<envs />
|
|
301
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
302
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
303
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
304
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
305
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
306
|
+
</COVERAGE_PATTERN>
|
|
307
|
+
</EXTENSION>
|
|
308
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
309
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
310
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
311
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
312
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
|
313
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
|
314
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
315
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
|
316
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
317
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
|
318
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
319
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
320
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
321
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
322
|
+
<method />
|
|
323
|
+
</configuration>
|
|
324
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
|
325
|
+
<module name="" />
|
|
326
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
327
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
|
328
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
329
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
330
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
331
|
+
<envs />
|
|
332
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
333
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
334
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
335
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
336
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
337
|
+
</COVERAGE_PATTERN>
|
|
338
|
+
</EXTENSION>
|
|
339
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
340
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
|
341
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
342
|
+
<method />
|
|
343
|
+
</configuration>
|
|
344
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
345
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
346
|
+
<module name="" />
|
|
347
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
348
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
349
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
350
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
351
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
352
|
+
<envs />
|
|
353
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
354
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
355
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
356
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
357
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
358
|
+
</COVERAGE_PATTERN>
|
|
359
|
+
</EXTENSION>
|
|
360
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
361
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
362
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
363
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
364
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
|
365
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
366
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
367
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
368
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
369
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
|
370
|
+
<method />
|
|
371
|
+
</configuration>
|
|
372
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
373
|
+
<method />
|
|
374
|
+
</configuration>
|
|
375
|
+
</component>
|
|
376
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
377
|
+
<component name="TaskManager">
|
|
378
|
+
<task active="true" id="Default" summary="Default task">
|
|
379
|
+
<changelist id="dc030f95-b296-49c5-897e-8c47f09d766d" name="Default" comment="" />
|
|
380
|
+
<created>1435745677313</created>
|
|
381
|
+
<option name="number" value="Default" />
|
|
382
|
+
<updated>1435745677313</updated>
|
|
383
|
+
</task>
|
|
384
|
+
<servers />
|
|
385
|
+
</component>
|
|
386
|
+
<component name="ToolWindowManager">
|
|
387
|
+
<frame x="56" y="23" width="1384" height="877" extended-state="6" />
|
|
388
|
+
<editor active="true" />
|
|
389
|
+
<layout>
|
|
390
|
+
<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" />
|
|
391
|
+
<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" />
|
|
392
|
+
<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" />
|
|
393
|
+
<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" />
|
|
394
|
+
<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" />
|
|
395
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24962743" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
396
|
+
<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" />
|
|
397
|
+
<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" />
|
|
398
|
+
<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" />
|
|
399
|
+
<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" />
|
|
400
|
+
<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" />
|
|
401
|
+
<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" />
|
|
402
|
+
<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" />
|
|
403
|
+
<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" />
|
|
404
|
+
<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" />
|
|
405
|
+
<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" />
|
|
406
|
+
<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" />
|
|
407
|
+
<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" />
|
|
408
|
+
</layout>
|
|
409
|
+
</component>
|
|
410
|
+
<component name="VcsContentAnnotationSettings">
|
|
411
|
+
<option name="myLimit" value="2678400000" />
|
|
412
|
+
</component>
|
|
413
|
+
<component name="XDebuggerManager">
|
|
414
|
+
<breakpoint-manager />
|
|
415
|
+
<watches-manager />
|
|
416
|
+
</component>
|
|
417
|
+
<component name="editorHistoryManager">
|
|
418
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
419
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
420
|
+
<state vertical-scroll-proportion="0.0">
|
|
421
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
422
|
+
<folding />
|
|
423
|
+
</state>
|
|
424
|
+
</provider>
|
|
425
|
+
</entry>
|
|
426
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
427
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
428
|
+
<state vertical-scroll-proportion="0.061559506">
|
|
429
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
430
|
+
<folding />
|
|
431
|
+
</state>
|
|
432
|
+
</provider>
|
|
433
|
+
</entry>
|
|
434
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
435
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
436
|
+
<state vertical-scroll-proportion="0.0">
|
|
437
|
+
<caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
|
|
438
|
+
<folding />
|
|
439
|
+
</state>
|
|
440
|
+
</provider>
|
|
441
|
+
</entry>
|
|
442
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.1.2@global/gems/activerecord-4.1.6/lib/active_record/connection_adapters/sqlite3_adapter.rb">
|
|
443
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
444
|
+
<state vertical-scroll-proportion="-5.5403557">
|
|
445
|
+
<caret line="10" column="26" selection-start-line="10" selection-start-column="8" selection-end-line="10" selection-end-column="26" />
|
|
446
|
+
<folding />
|
|
447
|
+
</state>
|
|
448
|
+
</provider>
|
|
449
|
+
</entry>
|
|
450
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.1.2@global/gems/activerecord-4.1.6/lib/active_record/base.rb">
|
|
451
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
452
|
+
<state vertical-scroll-proportion="0.12642045">
|
|
453
|
+
<caret line="287" column="21" selection-start-line="287" selection-start-column="21" selection-end-line="287" selection-end-column="21" />
|
|
454
|
+
<folding />
|
|
455
|
+
</state>
|
|
456
|
+
</provider>
|
|
457
|
+
</entry>
|
|
458
|
+
<entry file="file://$USER_HOME$/.rvm/gems/ruby-2.1.2@global/gems/activerecord-4.1.6/lib/active_record/connection_handling.rb">
|
|
459
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
460
|
+
<state vertical-scroll-proportion="0.0">
|
|
461
|
+
<caret line="46" column="40" selection-start-line="46" selection-start-column="40" selection-end-line="46" selection-end-column="40" />
|
|
462
|
+
<folding />
|
|
463
|
+
</state>
|
|
464
|
+
</provider>
|
|
465
|
+
</entry>
|
|
466
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
467
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
468
|
+
<state vertical-scroll-proportion="0.0">
|
|
469
|
+
<caret line="0" column="15" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
|
|
470
|
+
<folding />
|
|
471
|
+
</state>
|
|
472
|
+
</provider>
|
|
473
|
+
</entry>
|
|
474
|
+
<entry file="file://$PROJECT_DIR$/spec/active_scopes/scopes_spec.rb">
|
|
475
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
476
|
+
<state vertical-scroll-proportion="0.0">
|
|
477
|
+
<caret line="24" column="26" selection-start-line="24" selection-start-column="26" selection-end-line="24" selection-end-column="26" />
|
|
478
|
+
<folding />
|
|
479
|
+
</state>
|
|
480
|
+
</provider>
|
|
481
|
+
</entry>
|
|
482
|
+
<entry file="file://$PROJECT_DIR$/lib/active_scopes.rb">
|
|
483
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
484
|
+
<state vertical-scroll-proportion="0.0">
|
|
485
|
+
<caret line="2" column="26" selection-start-line="2" selection-start-column="26" selection-end-line="2" selection-end-column="26" />
|
|
486
|
+
<folding />
|
|
487
|
+
</state>
|
|
488
|
+
</provider>
|
|
489
|
+
</entry>
|
|
490
|
+
<entry file="file://$PROJECT_DIR$/lib/active_scopes/scopes.rb">
|
|
491
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
492
|
+
<state vertical-scroll-proportion="0.0">
|
|
493
|
+
<caret line="1" column="15" selection-start-line="1" selection-start-column="15" selection-end-line="1" selection-end-column="15" />
|
|
494
|
+
<folding />
|
|
495
|
+
</state>
|
|
496
|
+
</provider>
|
|
497
|
+
</entry>
|
|
498
|
+
<entry file="file://$PROJECT_DIR$/active_scopes.gemspec">
|
|
499
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
500
|
+
<state vertical-scroll-proportion="0.26675788">
|
|
501
|
+
<caret line="13" column="67" selection-start-line="13" selection-start-column="67" selection-end-line="13" selection-end-column="67" />
|
|
502
|
+
<folding />
|
|
503
|
+
</state>
|
|
504
|
+
</provider>
|
|
505
|
+
</entry>
|
|
506
|
+
</component>
|
|
507
|
+
</project>
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# ActiveScopes
|
|
2
|
+
|
|
3
|
+
active_scope is a Ruby gem which provides scopes for the posts in active-record application
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'active_scopes'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install active_scopes
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
class Post < ActiveRecord::Base
|
|
24
|
+
extend ActiveScopes::Scopes
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
class PostsController
|
|
28
|
+
def index
|
|
29
|
+
@posts = Post.active
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
## Development
|
|
34
|
+
|
|
35
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
36
|
+
|
|
37
|
+
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` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
38
|
+
|
|
39
|
+
## Contributing
|
|
40
|
+
|
|
41
|
+
1. Fork it ( https://github.com/[my-github-username]/active_scopes/fork )
|
|
42
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
43
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
44
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
|
45
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'active_scopes/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "active_scopes"
|
|
8
|
+
spec.version = ActiveScopes::VERSION
|
|
9
|
+
spec.authors = ["elitenomad"]
|
|
10
|
+
spec.email = ["stalin.pranava@gmail.com"]
|
|
11
|
+
|
|
12
|
+
spec.summary = %q{Utilty gem to provide scopes to models.}
|
|
13
|
+
spec.description = %q{Utilty gem to provide scopes to models.}
|
|
14
|
+
spec.homepage = "https://github.com/elitenomad/active_scopes"
|
|
15
|
+
|
|
16
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
17
|
+
# delete this section to allow pushing this gem 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.9"
|
|
30
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
31
|
+
spec.add_development_dependency "rspec"
|
|
32
|
+
spec.add_development_dependency "sqlite3"
|
|
33
|
+
|
|
34
|
+
spec.add_dependency 'activerecord', '>= 3.2.9'
|
|
35
|
+
end
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "active_scopes"
|
|
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
metadata
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: active_scopes
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- elitenomad
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-07-01 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.9'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.9'
|
|
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: '0'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: sqlite3
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: activerecord
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 3.2.9
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 3.2.9
|
|
83
|
+
description: Utilty gem to provide scopes to models.
|
|
84
|
+
email:
|
|
85
|
+
- stalin.pranava@gmail.com
|
|
86
|
+
executables: []
|
|
87
|
+
extensions: []
|
|
88
|
+
extra_rdoc_files: []
|
|
89
|
+
files:
|
|
90
|
+
- ".gitignore"
|
|
91
|
+
- ".idea/.name"
|
|
92
|
+
- ".idea/.rakeTasks"
|
|
93
|
+
- ".idea/active_scopes.iml"
|
|
94
|
+
- ".idea/misc.xml"
|
|
95
|
+
- ".idea/modules.xml"
|
|
96
|
+
- ".idea/vcs.xml"
|
|
97
|
+
- ".idea/workspace.xml"
|
|
98
|
+
- ".rspec"
|
|
99
|
+
- ".travis.yml"
|
|
100
|
+
- Gemfile
|
|
101
|
+
- README.md
|
|
102
|
+
- Rakefile
|
|
103
|
+
- active_scopes.gemspec
|
|
104
|
+
- bin/console
|
|
105
|
+
- bin/setup
|
|
106
|
+
- lib/active_scopes.rb
|
|
107
|
+
- lib/active_scopes/scopes.rb
|
|
108
|
+
- lib/active_scopes/version.rb
|
|
109
|
+
homepage: https://github.com/elitenomad/active_scopes
|
|
110
|
+
licenses: []
|
|
111
|
+
metadata: {}
|
|
112
|
+
post_install_message:
|
|
113
|
+
rdoc_options: []
|
|
114
|
+
require_paths:
|
|
115
|
+
- lib
|
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
|
+
requirements:
|
|
118
|
+
- - ">="
|
|
119
|
+
- !ruby/object:Gem::Version
|
|
120
|
+
version: '0'
|
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
|
+
requirements:
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0'
|
|
126
|
+
requirements: []
|
|
127
|
+
rubyforge_project:
|
|
128
|
+
rubygems_version: 2.4.6
|
|
129
|
+
signing_key:
|
|
130
|
+
specification_version: 4
|
|
131
|
+
summary: Utilty gem to provide scopes to models.
|
|
132
|
+
test_files: []
|