tweet_serach 1.0.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/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/tweet_serach.iml +34 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +545 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +7 -0
- data/README.md +39 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/tweet_serach.rb +44 -0
- data/lib/tweet_serach/cli.rb +34 -0
- data/lib/tweet_serach/formatter.rb +23 -0
- data/lib/tweet_serach/help.rb +14 -0
- data/lib/tweet_serach/request.rb +48 -0
- data/lib/tweet_serach/version.rb +3 -0
- data/tweet_serach.gemspec +28 -0
- metadata +95 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 81929cc519c510fb509f0b28518a95cf32a57afd
|
|
4
|
+
data.tar.gz: d6183f7b68234aa01f655bf4c560ac1513989b52
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 1d8d2e93d545883edcc308e0c5cb1c2026a299afc3a5685e85e6ca837edf9eda30e84117a55d06c63c0ca23f90831a6acbccb5b563f222b12f9b22410ec9a3c8
|
|
7
|
+
data.tar.gz: 772e62d1159ef92178d61084a97a8cfa407d7131e84b3b4a31316364f24898620d98df96a7ef98e033e7e244e77821d9de647de994a804f528c7eb4284f31ad8
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tweet_serach
|
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.2.1" 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/tweet_serach.iml" filepath="$PROJECT_DIR$/.idea/tweet_serach.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,34 @@
|
|
|
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="" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager">
|
|
13
|
+
<content url="file://$MODULE_DIR$" />
|
|
14
|
+
<orderEntry type="inheritedJdk" />
|
|
15
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="aruba (v0.13.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.2, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.12.0.pre.1, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="childprocess (v0.5.9, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="contracts (v0.13.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber (v2.3.3, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-core (v1.4.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="cucumber-wire (v0.0.1, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.10, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="gherkin (v3.2.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.11.2, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_test (v0.1.2, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.4.1, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.19.1, RVM: ruby-2.2.1) [gem]" level="application" />
|
|
33
|
+
</component>
|
|
34
|
+
</module>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="67f6b5ee-084d-442f-abc8-779f57bf7b93" name="Default" comment="">
|
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
|
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/.name" />
|
|
7
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.rspec" />
|
|
8
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.travis.yml" />
|
|
9
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" />
|
|
10
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
|
|
11
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/README.md" />
|
|
12
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
|
|
13
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/features/aruba.rb" />
|
|
14
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach/cli.rb" />
|
|
15
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/console" />
|
|
16
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach/formatter.rb" />
|
|
17
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach/help.rb" />
|
|
18
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
|
19
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
|
|
20
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach/request.rb" />
|
|
21
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/features/run_search.feature" />
|
|
22
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/bin/setup" />
|
|
23
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/spec/spec_helper.rb" />
|
|
24
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/tweet_serach.gemspec" />
|
|
25
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/tweet_serach.iml" />
|
|
26
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach.rb" />
|
|
27
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/spec/tweet_serach_spec.rb" />
|
|
28
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
|
|
29
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/tweet_serach/version.rb" />
|
|
30
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
31
|
+
</list>
|
|
32
|
+
<ignored path="tweet_serach.iws" />
|
|
33
|
+
<ignored path=".idea/workspace.xml" />
|
|
34
|
+
<ignored path=".idea/dataSources.local.xml" />
|
|
35
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
36
|
+
<option name="TRACKING_ENABLED" value="true" />
|
|
37
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
38
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
39
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
40
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
41
|
+
</component>
|
|
42
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
|
43
|
+
<component name="CreatePatchCommitExecutor">
|
|
44
|
+
<option name="PATCH_PATH" value="" />
|
|
45
|
+
</component>
|
|
46
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
|
47
|
+
<component name="FavoritesManager">
|
|
48
|
+
<favorites_list name="tweet_serach" />
|
|
49
|
+
</component>
|
|
50
|
+
<component name="FileEditorManager">
|
|
51
|
+
<leaf>
|
|
52
|
+
<file leaf-file-name="spec_helper.rb" pinned="false" current-in-tab="false">
|
|
53
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
54
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
55
|
+
<state vertical-scroll-proportion="0.0">
|
|
56
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
57
|
+
<folding />
|
|
58
|
+
</state>
|
|
59
|
+
</provider>
|
|
60
|
+
</entry>
|
|
61
|
+
</file>
|
|
62
|
+
<file leaf-file-name="tweet_serach_spec.rb" pinned="false" current-in-tab="false">
|
|
63
|
+
<entry file="file://$PROJECT_DIR$/spec/tweet_serach_spec.rb">
|
|
64
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
65
|
+
<state vertical-scroll-proportion="0.0">
|
|
66
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
67
|
+
<folding />
|
|
68
|
+
</state>
|
|
69
|
+
</provider>
|
|
70
|
+
</entry>
|
|
71
|
+
</file>
|
|
72
|
+
<file leaf-file-name="tweet_serach.gemspec" pinned="false" current-in-tab="true">
|
|
73
|
+
<entry file="file://$PROJECT_DIR$/tweet_serach.gemspec">
|
|
74
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
75
|
+
<state vertical-scroll-proportion="0.4516129">
|
|
76
|
+
<caret line="11" column="32" selection-start-line="11" selection-start-column="32" selection-end-line="11" selection-end-column="32" />
|
|
77
|
+
<folding />
|
|
78
|
+
</state>
|
|
79
|
+
</provider>
|
|
80
|
+
</entry>
|
|
81
|
+
</file>
|
|
82
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
|
83
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
84
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
85
|
+
<state vertical-scroll-proportion="0.0">
|
|
86
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
87
|
+
<folding />
|
|
88
|
+
</state>
|
|
89
|
+
</provider>
|
|
90
|
+
</entry>
|
|
91
|
+
</file>
|
|
92
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
|
|
93
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
94
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
95
|
+
<state vertical-scroll-proportion="0.0">
|
|
96
|
+
<caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
|
|
97
|
+
<folding />
|
|
98
|
+
</state>
|
|
99
|
+
</provider>
|
|
100
|
+
</entry>
|
|
101
|
+
</file>
|
|
102
|
+
<file leaf-file-name="CODE_OF_CONDUCT.md" pinned="false" current-in-tab="false">
|
|
103
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
|
104
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
105
|
+
<state vertical-scroll-proportion="-0.0">
|
|
106
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
107
|
+
<folding />
|
|
108
|
+
</state>
|
|
109
|
+
</provider>
|
|
110
|
+
<provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
|
|
111
|
+
<state />
|
|
112
|
+
</provider>
|
|
113
|
+
</entry>
|
|
114
|
+
</file>
|
|
115
|
+
<file leaf-file-name=".travis.yml" pinned="false" current-in-tab="false">
|
|
116
|
+
<entry file="file://$PROJECT_DIR$/.travis.yml">
|
|
117
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
118
|
+
<state vertical-scroll-proportion="0.0">
|
|
119
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
120
|
+
<folding />
|
|
121
|
+
</state>
|
|
122
|
+
</provider>
|
|
123
|
+
</entry>
|
|
124
|
+
</file>
|
|
125
|
+
<file leaf-file-name="aruba.rb" pinned="false" current-in-tab="false">
|
|
126
|
+
<entry file="file://$PROJECT_DIR$/features/aruba.rb">
|
|
127
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
128
|
+
<state vertical-scroll-proportion="0.0">
|
|
129
|
+
<caret line="4" column="3" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
|
|
130
|
+
<folding />
|
|
131
|
+
</state>
|
|
132
|
+
</provider>
|
|
133
|
+
</entry>
|
|
134
|
+
</file>
|
|
135
|
+
<file leaf-file-name="run_search.feature" pinned="false" current-in-tab="false">
|
|
136
|
+
<entry file="file://$PROJECT_DIR$/features/run_search.feature">
|
|
137
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
138
|
+
<state vertical-scroll-proportion="0.0">
|
|
139
|
+
<caret line="42" column="51" selection-start-line="42" selection-start-column="51" selection-end-line="42" selection-end-column="51" />
|
|
140
|
+
<folding />
|
|
141
|
+
</state>
|
|
142
|
+
</provider>
|
|
143
|
+
</entry>
|
|
144
|
+
</file>
|
|
145
|
+
<file leaf-file-name="console" pinned="false" current-in-tab="false">
|
|
146
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
|
147
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
148
|
+
<state vertical-scroll-proportion="0.0">
|
|
149
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
150
|
+
<folding />
|
|
151
|
+
</state>
|
|
152
|
+
</provider>
|
|
153
|
+
</entry>
|
|
154
|
+
</file>
|
|
155
|
+
</leaf>
|
|
156
|
+
</component>
|
|
157
|
+
<component name="Git.Settings">
|
|
158
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
159
|
+
</component>
|
|
160
|
+
<component name="IdeDocumentHistory">
|
|
161
|
+
<option name="CHANGED_PATHS">
|
|
162
|
+
<list>
|
|
163
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach.rb" />
|
|
164
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach/cli.rb" />
|
|
165
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach/formatter.rb" />
|
|
166
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach/help.rb" />
|
|
167
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach/request.rb" />
|
|
168
|
+
<option value="$PROJECT_DIR$/lib/tweet_serach/version.rb" />
|
|
169
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
|
170
|
+
<option value="$PROJECT_DIR$/features/aruba.rb" />
|
|
171
|
+
<option value="$PROJECT_DIR$/features/run_search.feature" />
|
|
172
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
|
173
|
+
<option value="$PROJECT_DIR$/tweet_serach.gemspec" />
|
|
174
|
+
</list>
|
|
175
|
+
</option>
|
|
176
|
+
</component>
|
|
177
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
|
178
|
+
<component name="JsGulpfileManager">
|
|
179
|
+
<detection-done>true</detection-done>
|
|
180
|
+
</component>
|
|
181
|
+
<component name="NamedScopeManager">
|
|
182
|
+
<order />
|
|
183
|
+
</component>
|
|
184
|
+
<component name="ProjectFrameBounds">
|
|
185
|
+
<option name="x" value="61" />
|
|
186
|
+
<option name="y" value="-4" />
|
|
187
|
+
<option name="width" value="1305" />
|
|
188
|
+
<option name="height" value="772" />
|
|
189
|
+
</component>
|
|
190
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
|
191
|
+
<OptionsSetting value="true" id="Add" />
|
|
192
|
+
<OptionsSetting value="true" id="Remove" />
|
|
193
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
194
|
+
<OptionsSetting value="true" id="Update" />
|
|
195
|
+
<OptionsSetting value="true" id="Status" />
|
|
196
|
+
<OptionsSetting value="true" id="Edit" />
|
|
197
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
198
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
199
|
+
</component>
|
|
200
|
+
<component name="ProjectView">
|
|
201
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
202
|
+
<flattenPackages />
|
|
203
|
+
<showMembers />
|
|
204
|
+
<showModules />
|
|
205
|
+
<showLibraryContents />
|
|
206
|
+
<hideEmptyPackages />
|
|
207
|
+
<abbreviatePackageNames />
|
|
208
|
+
<autoscrollToSource />
|
|
209
|
+
<autoscrollFromSource />
|
|
210
|
+
<sortByType />
|
|
211
|
+
</navigator>
|
|
212
|
+
<panes>
|
|
213
|
+
<pane id="ProjectPane">
|
|
214
|
+
<subPane>
|
|
215
|
+
<PATH>
|
|
216
|
+
<PATH_ELEMENT>
|
|
217
|
+
<option name="myItemId" value="tweet_serach" />
|
|
218
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
219
|
+
</PATH_ELEMENT>
|
|
220
|
+
</PATH>
|
|
221
|
+
<PATH>
|
|
222
|
+
<PATH_ELEMENT>
|
|
223
|
+
<option name="myItemId" value="tweet_serach" />
|
|
224
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
225
|
+
</PATH_ELEMENT>
|
|
226
|
+
<PATH_ELEMENT>
|
|
227
|
+
<option name="myItemId" value="tweet_serach" />
|
|
228
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
229
|
+
</PATH_ELEMENT>
|
|
230
|
+
</PATH>
|
|
231
|
+
</subPane>
|
|
232
|
+
</pane>
|
|
233
|
+
<pane id="Scratches" />
|
|
234
|
+
<pane id="Scope" />
|
|
235
|
+
</panes>
|
|
236
|
+
</component>
|
|
237
|
+
<component name="PropertiesComponent">
|
|
238
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
239
|
+
</component>
|
|
240
|
+
<component name="RunManager">
|
|
241
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
|
242
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
|
243
|
+
<module name="" />
|
|
244
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
245
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
246
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
247
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
248
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
249
|
+
<envs />
|
|
250
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
251
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
252
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
253
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
254
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
255
|
+
</COVERAGE_PATTERN>
|
|
256
|
+
</EXTENSION>
|
|
257
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
258
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
|
259
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
260
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
261
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
262
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
|
263
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
|
264
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
|
265
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
266
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
267
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
|
268
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
269
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
270
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
271
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
|
272
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
|
273
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
|
274
|
+
<method />
|
|
275
|
+
</configuration>
|
|
276
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
|
277
|
+
<method />
|
|
278
|
+
</configuration>
|
|
279
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
|
280
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
|
281
|
+
<module name="" />
|
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
287
|
+
<envs />
|
|
288
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
289
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
290
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
291
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
292
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
293
|
+
</COVERAGE_PATTERN>
|
|
294
|
+
</EXTENSION>
|
|
295
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
296
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
297
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
298
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
|
299
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
|
300
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
|
301
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
302
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
|
303
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
|
304
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
|
305
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
306
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
307
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
308
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
|
309
|
+
<method />
|
|
310
|
+
</configuration>
|
|
311
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
|
312
|
+
<module name="" />
|
|
313
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
314
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
|
315
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
316
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
317
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
|
318
|
+
<envs />
|
|
319
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
320
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
321
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
322
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
323
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
324
|
+
</COVERAGE_PATTERN>
|
|
325
|
+
</EXTENSION>
|
|
326
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
327
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
|
328
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
|
329
|
+
<method />
|
|
330
|
+
</configuration>
|
|
331
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
|
332
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
|
333
|
+
<module name="" />
|
|
334
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
|
335
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
|
336
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
|
337
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
|
338
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
|
339
|
+
<envs />
|
|
340
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
|
341
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
|
342
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
|
343
|
+
<COVERAGE_PATTERN ENABLED="true">
|
|
344
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
|
345
|
+
</COVERAGE_PATTERN>
|
|
346
|
+
</EXTENSION>
|
|
347
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
|
348
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
|
349
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
|
350
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
|
351
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
|
352
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
|
353
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
|
354
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
|
355
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
|
356
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
|
357
|
+
<method />
|
|
358
|
+
</configuration>
|
|
359
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
|
360
|
+
<method />
|
|
361
|
+
</configuration>
|
|
362
|
+
</component>
|
|
363
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
364
|
+
<component name="TaskManager">
|
|
365
|
+
<task active="true" id="Default" summary="Default task">
|
|
366
|
+
<changelist id="67f6b5ee-084d-442f-abc8-779f57bf7b93" name="Default" comment="" />
|
|
367
|
+
<created>1460464230730</created>
|
|
368
|
+
<option name="number" value="Default" />
|
|
369
|
+
<updated>1460464230730</updated>
|
|
370
|
+
</task>
|
|
371
|
+
<servers />
|
|
372
|
+
</component>
|
|
373
|
+
<component name="ToolWindowManager">
|
|
374
|
+
<frame x="61" y="-4" width="1305" height="772" extended-state="6" />
|
|
375
|
+
<editor active="false" />
|
|
376
|
+
<layout>
|
|
377
|
+
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32972136" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
|
378
|
+
<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" />
|
|
379
|
+
<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" />
|
|
380
|
+
<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" />
|
|
381
|
+
<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" />
|
|
382
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2494043" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
383
|
+
<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" />
|
|
384
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3604061" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
385
|
+
<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" />
|
|
386
|
+
<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" />
|
|
387
|
+
<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" />
|
|
388
|
+
<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" />
|
|
389
|
+
<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" />
|
|
390
|
+
<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" />
|
|
391
|
+
<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" />
|
|
392
|
+
<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" />
|
|
393
|
+
<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" />
|
|
394
|
+
<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" />
|
|
395
|
+
</layout>
|
|
396
|
+
</component>
|
|
397
|
+
<component name="VcsContentAnnotationSettings">
|
|
398
|
+
<option name="myLimit" value="2678400000" />
|
|
399
|
+
</component>
|
|
400
|
+
<component name="XDebuggerManager">
|
|
401
|
+
<breakpoint-manager />
|
|
402
|
+
<watches-manager />
|
|
403
|
+
</component>
|
|
404
|
+
<component name="editorHistoryManager">
|
|
405
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
|
406
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
407
|
+
<state vertical-scroll-proportion="0.0">
|
|
408
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
409
|
+
<folding />
|
|
410
|
+
</state>
|
|
411
|
+
</provider>
|
|
412
|
+
</entry>
|
|
413
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach.rb">
|
|
414
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
415
|
+
<state vertical-scroll-proportion="0.0">
|
|
416
|
+
<caret line="43" column="0" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
|
|
417
|
+
<folding />
|
|
418
|
+
</state>
|
|
419
|
+
</provider>
|
|
420
|
+
</entry>
|
|
421
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach/cli.rb">
|
|
422
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
423
|
+
<state vertical-scroll-proportion="0.0">
|
|
424
|
+
<caret line="10" column="7" selection-start-line="10" selection-start-column="7" selection-end-line="10" selection-end-column="7" />
|
|
425
|
+
<folding />
|
|
426
|
+
</state>
|
|
427
|
+
</provider>
|
|
428
|
+
</entry>
|
|
429
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach/formatter.rb">
|
|
430
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
431
|
+
<state vertical-scroll-proportion="0.0">
|
|
432
|
+
<caret line="22" column="3" selection-start-line="22" selection-start-column="3" selection-end-line="22" selection-end-column="3" />
|
|
433
|
+
<folding />
|
|
434
|
+
</state>
|
|
435
|
+
</provider>
|
|
436
|
+
</entry>
|
|
437
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach/help.rb">
|
|
438
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
439
|
+
<state vertical-scroll-proportion="0.0">
|
|
440
|
+
<caret line="13" column="3" selection-start-line="13" selection-start-column="3" selection-end-line="13" selection-end-column="3" />
|
|
441
|
+
<folding />
|
|
442
|
+
</state>
|
|
443
|
+
</provider>
|
|
444
|
+
</entry>
|
|
445
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach/request.rb">
|
|
446
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
447
|
+
<state vertical-scroll-proportion="0.0">
|
|
448
|
+
<caret line="47" column="3" selection-start-line="47" selection-start-column="3" selection-end-line="47" selection-end-column="3" />
|
|
449
|
+
<folding />
|
|
450
|
+
</state>
|
|
451
|
+
</provider>
|
|
452
|
+
</entry>
|
|
453
|
+
<entry file="file://$PROJECT_DIR$/lib/tweet_serach/version.rb">
|
|
454
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
455
|
+
<state vertical-scroll-proportion="0.0">
|
|
456
|
+
<caret line="1" column="17" selection-start-line="1" selection-start-column="17" selection-end-line="1" selection-end-column="17" />
|
|
457
|
+
<folding />
|
|
458
|
+
</state>
|
|
459
|
+
</provider>
|
|
460
|
+
</entry>
|
|
461
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
|
462
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
463
|
+
<state vertical-scroll-proportion="0.0">
|
|
464
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
465
|
+
<folding />
|
|
466
|
+
</state>
|
|
467
|
+
</provider>
|
|
468
|
+
</entry>
|
|
469
|
+
<entry file="file://$PROJECT_DIR$/spec/tweet_serach_spec.rb">
|
|
470
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
471
|
+
<state vertical-scroll-proportion="0.0">
|
|
472
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
473
|
+
<folding />
|
|
474
|
+
</state>
|
|
475
|
+
</provider>
|
|
476
|
+
</entry>
|
|
477
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
478
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
479
|
+
<state vertical-scroll-proportion="0.0">
|
|
480
|
+
<caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
|
|
481
|
+
<folding />
|
|
482
|
+
</state>
|
|
483
|
+
</provider>
|
|
484
|
+
</entry>
|
|
485
|
+
<entry file="file://$PROJECT_DIR$/CODE_OF_CONDUCT.md">
|
|
486
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
487
|
+
<state vertical-scroll-proportion="0.0">
|
|
488
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
489
|
+
<folding />
|
|
490
|
+
</state>
|
|
491
|
+
</provider>
|
|
492
|
+
<provider editor-type-id="com.intellij.database.editor.CsvTableFileEditorProvider">
|
|
493
|
+
<state />
|
|
494
|
+
</provider>
|
|
495
|
+
</entry>
|
|
496
|
+
<entry file="file://$PROJECT_DIR$/.travis.yml">
|
|
497
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
498
|
+
<state vertical-scroll-proportion="0.0">
|
|
499
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
500
|
+
<folding />
|
|
501
|
+
</state>
|
|
502
|
+
</provider>
|
|
503
|
+
</entry>
|
|
504
|
+
<entry file="file://$PROJECT_DIR$/features/aruba.rb">
|
|
505
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
506
|
+
<state vertical-scroll-proportion="0.0">
|
|
507
|
+
<caret line="4" column="3" selection-start-line="4" selection-start-column="3" selection-end-line="4" selection-end-column="3" />
|
|
508
|
+
<folding />
|
|
509
|
+
</state>
|
|
510
|
+
</provider>
|
|
511
|
+
</entry>
|
|
512
|
+
<entry file="file://$PROJECT_DIR$/features/run_search.feature">
|
|
513
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
514
|
+
<state vertical-scroll-proportion="0.0">
|
|
515
|
+
<caret line="42" column="51" selection-start-line="42" selection-start-column="51" selection-end-line="42" selection-end-column="51" />
|
|
516
|
+
<folding />
|
|
517
|
+
</state>
|
|
518
|
+
</provider>
|
|
519
|
+
</entry>
|
|
520
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
|
521
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
522
|
+
<state vertical-scroll-proportion="0.0">
|
|
523
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
524
|
+
<folding />
|
|
525
|
+
</state>
|
|
526
|
+
</provider>
|
|
527
|
+
</entry>
|
|
528
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
529
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
530
|
+
<state vertical-scroll-proportion="0.0">
|
|
531
|
+
<caret line="3" column="0" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
|
|
532
|
+
<folding />
|
|
533
|
+
</state>
|
|
534
|
+
</provider>
|
|
535
|
+
</entry>
|
|
536
|
+
<entry file="file://$PROJECT_DIR$/tweet_serach.gemspec">
|
|
537
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
538
|
+
<state vertical-scroll-proportion="0.4516129">
|
|
539
|
+
<caret line="11" column="32" selection-start-line="11" selection-start-column="32" selection-end-line="11" selection-end-column="32" />
|
|
540
|
+
<folding />
|
|
541
|
+
</state>
|
|
542
|
+
</provider>
|
|
543
|
+
</entry>
|
|
544
|
+
</component>
|
|
545
|
+
</project>
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Contributor Code of Conduct
|
|
2
|
+
|
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
|
4
|
+
|
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
|
6
|
+
|
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
|
8
|
+
|
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
|
10
|
+
|
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
|
12
|
+
|
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# TweetSerach
|
|
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/tweet_serach`. 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 'tweet_serach'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install tweet_serach
|
|
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]/tweet_serach/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
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "tweet_serach"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/lib/tweet_serach.rb
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
require "tweet_serach/version"
|
|
2
|
+
|
|
3
|
+
module TweetSerach
|
|
4
|
+
class Tweet
|
|
5
|
+
|
|
6
|
+
SEPARATOR = '~'*80
|
|
7
|
+
|
|
8
|
+
def self.output(results)
|
|
9
|
+
results.each do |result_line|
|
|
10
|
+
new(result_line).output
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def initialize(tweet_hash)
|
|
15
|
+
@tweet_hash = tweet_hash
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
attr_reader :tweet_hash
|
|
19
|
+
|
|
20
|
+
def output
|
|
21
|
+
puts [SEPARATOR, user, text, link].join("\n")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
private
|
|
25
|
+
|
|
26
|
+
def user
|
|
27
|
+
tweet_hash['from_user']
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def text
|
|
31
|
+
tweet_hash['text']
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def id
|
|
35
|
+
tweet_hash['id_str']
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def link
|
|
39
|
+
"http://twitter.com/#{user}/status/#{id}"
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
require 'twitter_hashtag/help'
|
|
2
|
+
require 'twitter_hashtag/request'
|
|
3
|
+
require 'twitter_hashtag/formatter'
|
|
4
|
+
|
|
5
|
+
module TwitterHashtag
|
|
6
|
+
class CLI
|
|
7
|
+
|
|
8
|
+
def initialize(hashtag, args)
|
|
9
|
+
@hashtag = hashtag
|
|
10
|
+
@args = args
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
attr_reader :hashtag, :args
|
|
14
|
+
|
|
15
|
+
def process
|
|
16
|
+
hashtag == 'help' ? render_help : search
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
private
|
|
20
|
+
|
|
21
|
+
def search
|
|
22
|
+
format TwitterHashtag::Request.new(self).issue
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def format(response)
|
|
26
|
+
TwitterHashtag::Formatter.new(response).format
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def render_help
|
|
30
|
+
TwitterHashtag::Help.output
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require 'twitter_hashtag/tweet'
|
|
2
|
+
|
|
3
|
+
module TwitterHashtag
|
|
4
|
+
class Formatter
|
|
5
|
+
|
|
6
|
+
def initialize(response)
|
|
7
|
+
@results = response['results']
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
attr_reader :results
|
|
11
|
+
|
|
12
|
+
def format
|
|
13
|
+
if results.empty?
|
|
14
|
+
puts 'None found.'
|
|
15
|
+
exit 1
|
|
16
|
+
else
|
|
17
|
+
puts 'Results:'
|
|
18
|
+
TwitterHashtag::Tweet.output(results)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module TwitterHashtag
|
|
2
|
+
class Help
|
|
3
|
+
|
|
4
|
+
def self.output
|
|
5
|
+
puts <<-STR
|
|
6
|
+
Pass a hashtag (with or without #) as an argument to twitter_hashtag.
|
|
7
|
+
Example: twitter_hashtag #dog OR twitter_hashtag dog
|
|
8
|
+
You may pass --rpp to limit the number of returned tweets.
|
|
9
|
+
Enjoy!
|
|
10
|
+
STR
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
require 'net/http'
|
|
2
|
+
require 'cgi'
|
|
3
|
+
require 'json'
|
|
4
|
+
|
|
5
|
+
module TwitterHashtag
|
|
6
|
+
class Request
|
|
7
|
+
|
|
8
|
+
SEARCH_URI = 'search.twitter.com'
|
|
9
|
+
|
|
10
|
+
def initialize(cli)
|
|
11
|
+
@cli = cli
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
attr_reader :cli
|
|
15
|
+
|
|
16
|
+
def issue
|
|
17
|
+
JSON.parse Net::HTTP.get(SEARCH_URI, path)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
private
|
|
21
|
+
|
|
22
|
+
def path
|
|
23
|
+
"/search.json?#{params}"
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def params
|
|
27
|
+
to_url_params default_params.merge(clean_args_hash)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def default_params
|
|
31
|
+
{'q' => formatted_hashtag, 'rpp' => 100}
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def clean_args_hash
|
|
35
|
+
Hash[*cli.args.map {|a| a.delete('--')}]
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def formatted_hashtag
|
|
39
|
+
CGI.escape '#'.concat(cli.hashtag.delete('#'))
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def to_url_params(params_hash)
|
|
43
|
+
params_hash.to_a.map {|key, value|
|
|
44
|
+
"#{key}=#{value}"
|
|
45
|
+
}.join('&')
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'tweet_serach/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "tweet_serach"
|
|
8
|
+
spec.version = TweetSerach::VERSION
|
|
9
|
+
spec.authors = ["deathliger666"]
|
|
10
|
+
spec.email = ["oleg.golovin13@gmail.com"]
|
|
11
|
+
|
|
12
|
+
if spec.respond_to?(:metadata)
|
|
13
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
spec.summary = %q{Searches tweets by hashtag from tweeter}
|
|
17
|
+
spec.description = %q{Searches tweets by hashtag from tweeter}
|
|
18
|
+
spec.homepage = "https://rubygems.org"
|
|
19
|
+
spec.license = "MIT"
|
|
20
|
+
|
|
21
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
22
|
+
spec.bindir = "exe"
|
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
24
|
+
spec.require_paths = ["lib"]
|
|
25
|
+
|
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
28
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: tweet_serach
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- deathliger666
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: bundler
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.8'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.8'
|
|
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: Searches tweets by hashtag from tweeter
|
|
42
|
+
email:
|
|
43
|
+
- oleg.golovin13@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/tweet_serach.iml"
|
|
53
|
+
- ".idea/vcs.xml"
|
|
54
|
+
- ".idea/workspace.xml"
|
|
55
|
+
- ".rspec"
|
|
56
|
+
- ".travis.yml"
|
|
57
|
+
- CODE_OF_CONDUCT.md
|
|
58
|
+
- Gemfile
|
|
59
|
+
- README.md
|
|
60
|
+
- Rakefile
|
|
61
|
+
- bin/console
|
|
62
|
+
- bin/setup
|
|
63
|
+
- lib/tweet_serach.rb
|
|
64
|
+
- lib/tweet_serach/cli.rb
|
|
65
|
+
- lib/tweet_serach/formatter.rb
|
|
66
|
+
- lib/tweet_serach/help.rb
|
|
67
|
+
- lib/tweet_serach/request.rb
|
|
68
|
+
- lib/tweet_serach/version.rb
|
|
69
|
+
- tweet_serach.gemspec
|
|
70
|
+
homepage: https://rubygems.org
|
|
71
|
+
licenses:
|
|
72
|
+
- MIT
|
|
73
|
+
metadata:
|
|
74
|
+
allowed_push_host: https://rubygems.org
|
|
75
|
+
post_install_message:
|
|
76
|
+
rdoc_options: []
|
|
77
|
+
require_paths:
|
|
78
|
+
- lib
|
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
- - ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: '0'
|
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - ">="
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '0'
|
|
89
|
+
requirements: []
|
|
90
|
+
rubyforge_project:
|
|
91
|
+
rubygems_version: 2.4.6
|
|
92
|
+
signing_key:
|
|
93
|
+
specification_version: 4
|
|
94
|
+
summary: Searches tweets by hashtag from tweeter
|
|
95
|
+
test_files: []
|