ym 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0f9ce6abdd8c69295cf24ae0a437548ea6688558
4
+ data.tar.gz: 47f4cdfe80404e1cf706592e152de04bb4912f4e
5
+ SHA512:
6
+ metadata.gz: fe4ba509df7527e0826f5f3a8a782c54c7e18561d4509368abb984fbe7b12067196c549b80a4f1c291a0095bcde68d988592fdc9dfcd4dfefadfb88b26538bce
7
+ data.tar.gz: ee3a4975935837cbef23b4b8a2faf7815813795e2f7d7108b64a9bbfdffbb0e103462b2559239e40ec127f9e5042285418a5bb494ebc44fc798331df293ebb8a
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1 @@
1
+ ym
@@ -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.2.2" project-jdk-type="RUBY_SDK" />
14
+ </project>
@@ -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/ym.iml" filepath="$PROJECT_DIR$/.idea/ym.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,404 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="a49bbd58-8606-4de2-aa21-fee18c43b4b6" name="Default" comment="" />
5
+ <ignored path="ym.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="ym" />
21
+ </component>
22
+ <component name="FileEditorManager">
23
+ <leaf>
24
+ <file leaf-file-name="ym.gemspec" pinned="false" current-in-tab="true">
25
+ <entry file="file://$PROJECT_DIR$/ym.gemspec">
26
+ <provider selected="true" editor-type-id="text-editor">
27
+ <state vertical-scroll-proportion="0.41002277">
28
+ <caret line="19" column="5" selection-start-line="19" selection-start-column="5" selection-end-line="19" selection-end-column="5" />
29
+ <folding />
30
+ </state>
31
+ </provider>
32
+ </entry>
33
+ </file>
34
+ </leaf>
35
+ </component>
36
+ <component name="IdeDocumentHistory">
37
+ <option name="CHANGED_PATHS">
38
+ <list>
39
+ <option value="$PROJECT_DIR$/lib/ym.rb" />
40
+ <option value="$PROJECT_DIR$/ym.gemspec" />
41
+ </list>
42
+ </option>
43
+ </component>
44
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
45
+ <component name="JsGulpfileManager">
46
+ <detection-done>true</detection-done>
47
+ </component>
48
+ <component name="NamedScopeManager">
49
+ <order />
50
+ </component>
51
+ <component name="ProjectFrameBounds">
52
+ <option name="x" value="41" />
53
+ <option name="y" value="24" />
54
+ <option name="width" value="1325" />
55
+ <option name="height" value="744" />
56
+ </component>
57
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
58
+ <OptionsSetting value="true" id="Add" />
59
+ <OptionsSetting value="true" id="Remove" />
60
+ <OptionsSetting value="true" id="Checkout" />
61
+ <OptionsSetting value="true" id="Update" />
62
+ <OptionsSetting value="true" id="Status" />
63
+ <OptionsSetting value="true" id="Edit" />
64
+ <ConfirmationsSetting value="0" id="Add" />
65
+ <ConfirmationsSetting value="0" id="Remove" />
66
+ </component>
67
+ <component name="ProjectView">
68
+ <navigator currentView="ProjectPane" proportions="" version="1">
69
+ <flattenPackages />
70
+ <showMembers />
71
+ <showModules />
72
+ <showLibraryContents />
73
+ <hideEmptyPackages />
74
+ <abbreviatePackageNames />
75
+ <autoscrollToSource />
76
+ <autoscrollFromSource />
77
+ <sortByType />
78
+ </navigator>
79
+ <panes>
80
+ <pane id="Scratches" />
81
+ <pane id="ProjectPane">
82
+ <subPane>
83
+ <PATH>
84
+ <PATH_ELEMENT>
85
+ <option name="myItemId" value="ym" />
86
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
87
+ </PATH_ELEMENT>
88
+ </PATH>
89
+ <PATH>
90
+ <PATH_ELEMENT>
91
+ <option name="myItemId" value="ym" />
92
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
93
+ </PATH_ELEMENT>
94
+ <PATH_ELEMENT>
95
+ <option name="myItemId" value="ym" />
96
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
97
+ </PATH_ELEMENT>
98
+ </PATH>
99
+ <PATH>
100
+ <PATH_ELEMENT>
101
+ <option name="myItemId" value="ym" />
102
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
103
+ </PATH_ELEMENT>
104
+ <PATH_ELEMENT>
105
+ <option name="myItemId" value="ym" />
106
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
107
+ </PATH_ELEMENT>
108
+ <PATH_ELEMENT>
109
+ <option name="myItemId" value="lib" />
110
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
111
+ </PATH_ELEMENT>
112
+ </PATH>
113
+ <PATH>
114
+ <PATH_ELEMENT>
115
+ <option name="myItemId" value="ym" />
116
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
117
+ </PATH_ELEMENT>
118
+ <PATH_ELEMENT>
119
+ <option name="myItemId" value="ym" />
120
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
121
+ </PATH_ELEMENT>
122
+ <PATH_ELEMENT>
123
+ <option name="myItemId" value="lib" />
124
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
125
+ </PATH_ELEMENT>
126
+ <PATH_ELEMENT>
127
+ <option name="myItemId" value="ym" />
128
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
129
+ </PATH_ELEMENT>
130
+ </PATH>
131
+ <PATH>
132
+ <PATH_ELEMENT>
133
+ <option name="myItemId" value="ym" />
134
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
135
+ </PATH_ELEMENT>
136
+ <PATH_ELEMENT>
137
+ <option name="myItemId" value="ym" />
138
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
139
+ </PATH_ELEMENT>
140
+ <PATH_ELEMENT>
141
+ <option name="myItemId" value="lib" />
142
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
143
+ </PATH_ELEMENT>
144
+ <PATH_ELEMENT>
145
+ <option name="myItemId" value="yandex" />
146
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
+ </PATH_ELEMENT>
148
+ </PATH>
149
+ </subPane>
150
+ </pane>
151
+ <pane id="Scope" />
152
+ </panes>
153
+ </component>
154
+ <component name="PropertiesComponent">
155
+ <property name="WebServerToolWindowFactoryState" value="false" />
156
+ <property name="RakeTaksPopup.undocumentedIncluded" value="false" />
157
+ <property name="FullScreen" value="false" />
158
+ </component>
159
+ <component name="RecentsManager">
160
+ <key name="CopyFile.RECENT_KEYS">
161
+ <recent name="$PROJECT_DIR$/lib" />
162
+ </key>
163
+ </component>
164
+ <component name="RunManager">
165
+ <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
166
+ <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
167
+ <module name="" />
168
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
169
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
170
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
171
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
172
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
173
+ <envs />
174
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
175
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
176
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
177
+ <COVERAGE_PATTERN ENABLED="true">
178
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
179
+ </COVERAGE_PATTERN>
180
+ </EXTENSION>
181
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
182
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
183
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
184
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
185
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
186
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
187
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
188
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
189
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
190
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
191
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
192
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
193
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
194
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
195
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
196
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
197
+ <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
198
+ <method />
199
+ </configuration>
200
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
201
+ <method />
202
+ </configuration>
203
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
204
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
205
+ <module name="" />
206
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
207
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
208
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
209
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
210
+ <RSPEC_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
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
221
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
222
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
223
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
224
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
225
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
226
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
227
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
228
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
229
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
230
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
231
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
232
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
233
+ <method />
234
+ </configuration>
235
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
236
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
237
+ <module name="" />
238
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
239
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
240
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
241
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
242
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
243
+ <envs />
244
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
245
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
246
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
247
+ <COVERAGE_PATTERN ENABLED="true">
248
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
249
+ </COVERAGE_PATTERN>
250
+ </EXTENSION>
251
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
252
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
253
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
254
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
255
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
256
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
257
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
258
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
259
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
260
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
261
+ <method />
262
+ </configuration>
263
+ <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
264
+ <node-options />
265
+ <gulpfile />
266
+ <tasks />
267
+ <arguments />
268
+ <pass-parent-envs>true</pass-parent-envs>
269
+ <envs />
270
+ <method />
271
+ </configuration>
272
+ </component>
273
+ <component name="ShelveChangesManager" show_recycled="false" />
274
+ <component name="SvnConfiguration">
275
+ <configuration />
276
+ </component>
277
+ <component name="TaskManager">
278
+ <task active="true" id="Default" summary="Default task">
279
+ <changelist id="a49bbd58-8606-4de2-aa21-fee18c43b4b6" name="Default" comment="" />
280
+ <created>1432199370262</created>
281
+ <option name="number" value="Default" />
282
+ <updated>1432199370262</updated>
283
+ </task>
284
+ <servers />
285
+ </component>
286
+ <component name="ToolWindowManager">
287
+ <frame x="41" y="24" width="1325" height="744" extended-state="6" />
288
+ <editor active="true" />
289
+ <layout>
290
+ <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" />
291
+ <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" />
292
+ <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" />
293
+ <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" />
294
+ <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" />
295
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2533229" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
296
+ <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" />
297
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
298
+ <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" />
299
+ <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="7" side_tool="true" content_ui="tabs" />
300
+ <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" />
301
+ <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" />
302
+ <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" />
303
+ <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" />
304
+ <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" />
305
+ <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" />
306
+ <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" />
307
+ <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" />
308
+ </layout>
309
+ </component>
310
+ <component name="Vcs.Log.UiProperties">
311
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
312
+ <collection />
313
+ </option>
314
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
315
+ <collection />
316
+ </option>
317
+ </component>
318
+ <component name="VcsContentAnnotationSettings">
319
+ <option name="myLimit" value="2678400000" />
320
+ </component>
321
+ <component name="XDebuggerManager">
322
+ <breakpoint-manager />
323
+ <watches-manager />
324
+ </component>
325
+ <component name="editorHistoryManager">
326
+ <entry file="file://$PROJECT_DIR$/lib/ym/version.rb">
327
+ <provider selected="true" editor-type-id="text-editor">
328
+ <state vertical-scroll-proportion="0.0">
329
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
330
+ </state>
331
+ </provider>
332
+ </entry>
333
+ <entry file="file://$PROJECT_DIR$/lib/yandex/metrika.rb">
334
+ <provider selected="true" editor-type-id="text-editor">
335
+ <state vertical-scroll-proportion="0.0">
336
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
337
+ </state>
338
+ </provider>
339
+ </entry>
340
+ <entry file="file://$PROJECT_DIR$/Gemfile.lock">
341
+ <provider selected="true" editor-type-id="text-editor">
342
+ <state vertical-scroll-proportion="0.0">
343
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
344
+ </state>
345
+ </provider>
346
+ </entry>
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="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
351
+ </state>
352
+ </provider>
353
+ </entry>
354
+ <entry file="file://$PROJECT_DIR$/lib/ym.rb">
355
+ <provider selected="true" editor-type-id="text-editor">
356
+ <state vertical-scroll-proportion="0.08411215">
357
+ <caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
358
+ </state>
359
+ </provider>
360
+ </entry>
361
+ <entry file="file://$PROJECT_DIR$/lib/yandex.rb">
362
+ <provider selected="true" editor-type-id="text-editor">
363
+ <state vertical-scroll-proportion="0.0">
364
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
365
+ </state>
366
+ </provider>
367
+ </entry>
368
+ <entry file="file://$PROJECT_DIR$/LICENSE.txt">
369
+ <provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
370
+ <state />
371
+ </provider>
372
+ <provider selected="true" editor-type-id="text-editor">
373
+ <state vertical-scroll-proportion="0.0">
374
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
375
+ </state>
376
+ </provider>
377
+ </entry>
378
+ <entry file="file://$PROJECT_DIR$/Rakefile">
379
+ <provider selected="true" editor-type-id="text-editor">
380
+ <state vertical-scroll-proportion="0.0">
381
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
382
+ </state>
383
+ </provider>
384
+ </entry>
385
+ <entry file="file://$PROJECT_DIR$/README.md">
386
+ <provider selected="true" editor-type-id="text-editor">
387
+ <state vertical-scroll-proportion="0.0">
388
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
389
+ </state>
390
+ </provider>
391
+ <provider editor-type-id="MarkdownPreviewEditor">
392
+ <state />
393
+ </provider>
394
+ </entry>
395
+ <entry file="file://$PROJECT_DIR$/ym.gemspec">
396
+ <provider selected="true" editor-type-id="text-editor">
397
+ <state vertical-scroll-proportion="0.41002277">
398
+ <caret line="19" column="5" selection-start-line="19" selection-start-column="5" selection-end-line="19" selection-end-column="5" />
399
+ <folding />
400
+ </state>
401
+ </provider>
402
+ </entry>
403
+ </component>
404
+ </project>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="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="bundler (v1.9.9, RVM: ruby-2.2.2) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.2.2) [gem]" level="application" />
20
+ </component>
21
+ </module>
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ym.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Dmitry Vysotsky
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.
@@ -0,0 +1,39 @@
1
+ # Ym
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/ym`. 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 'ym'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install ym
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 `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` to 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
+ 1. Fork it ( https://github.com/[my-github-username]/ym/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
38
+ 4. Push to the branch (`git push origin my-new-feature`)
39
+ 5. Create a new Pull Request
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "ym"
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
@@ -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,3 @@
1
+ require 'yandex/metrika'
2
+ ActionController::Base.send :include, Yandex::Metrika::Mixin
3
+ ActionController::Base.send :after_filter, :add_yandex_metrika_code
@@ -0,0 +1,3 @@
1
+ module Ym
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ym/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ym"
8
+ spec.version = Ym::VERSION
9
+ spec.authors = ["Dmitry Vysotsky"]
10
+ spec.email = ["bigbenperl@gmail.com"]
11
+
12
+ spec.summary = %q{Yandex Metrika.}
13
+ spec.description = %q{Include Yandex metrika in every page.}
14
+ #spec.homepage = "TODO: Put your gem's website or public repo URL here."
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ #spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.9"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ end
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ym
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dmitry Vysotsky
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-05-21 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
+ description: Include Yandex metrika in every page.
42
+ email:
43
+ - bigbenperl@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".idea/.name"
50
+ - ".idea/misc.xml"
51
+ - ".idea/modules.xml"
52
+ - ".idea/vcs.xml"
53
+ - ".idea/workspace.xml"
54
+ - ".idea/ym.iml"
55
+ - ".travis.yml"
56
+ - Gemfile
57
+ - LICENSE.txt
58
+ - README.md
59
+ - Rakefile
60
+ - bin/console
61
+ - bin/setup
62
+ - lib/ym.rb
63
+ - lib/ym/version.rb
64
+ - ym.gemspec
65
+ homepage:
66
+ licenses:
67
+ - MIT
68
+ metadata: {}
69
+ post_install_message:
70
+ rdoc_options: []
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ requirements: []
84
+ rubyforge_project:
85
+ rubygems_version: 2.4.7
86
+ signing_key:
87
+ specification_version: 4
88
+ summary: Yandex Metrika.
89
+ test_files: []