ebay-ysr 0.1.1
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 +14 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/ebay-ysr.iml +19 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +268 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/ebay-ysr.gemspec +23 -0
- data/lib/ebay/ysr.rb +44 -0
- data/lib/ebay/ysr/version.rb +5 -0
- metadata +88 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 2913dc4db1ffdc8949e53d6d733499bcc7db1e94
|
|
4
|
+
data.tar.gz: eaf20b5777611b4c0f795c3b2275035d8b5c8ef6
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: ca9c93d7c2655f062da07ad520e10d3c8e75c8cd5c16b22588795f3040359c4ae0c3ad11e2a4899bc3ad0f2dc2ee584dced3d4f1247da040a1fc918e5a8abd96
|
|
7
|
+
data.tar.gz: eb2a0c87ff7f851d8024c3c46aaff37f3dd426f8104ac5ad2ac7a6a8462e8639727c5eed5ef5a82d0eb95cb563b5326d1f4bae948426fef24d470a76fdfcdf98
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ebay-ysr
|
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 ebay-ysr-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install ebay-ysr-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push ebay-ysr-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
data/.idea/ebay-ysr.iml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
|
3
|
+
<component name="FacetManager">
|
|
4
|
+
<facet type="gem" name="Ruby Gem">
|
|
5
|
+
<configuration>
|
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
|
9
|
+
</configuration>
|
|
10
|
+
</facet>
|
|
11
|
+
</component>
|
|
12
|
+
<component name="NewModuleRootManager">
|
|
13
|
+
<content url="file://$MODULE_DIR$" />
|
|
14
|
+
<orderEntry type="inheritedJdk" />
|
|
15
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.12, RVM: ruby-1.9.3-p551) [gem]" level="application" />
|
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-1.9.3-p551) [gem]" level="application" />
|
|
18
|
+
</component>
|
|
19
|
+
</module>
|
data/.idea/misc.xml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p551" project-jdk-type="RUBY_SDK" />
|
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="0f669997-968a-40a4-a873-94ec91691267" name="Default" comment="" />
|
|
5
|
+
<ignored path="ebay-ysr.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="DatabaseView">
|
|
20
|
+
<option name="FLATTEN" value="false" />
|
|
21
|
+
<option name="GROUP_BY_TYPE" value="true" />
|
|
22
|
+
<option name="SORT_CHILDREN" value="false" />
|
|
23
|
+
<option name="SHOW_TABLE_CONSTRAINTS" value="true" />
|
|
24
|
+
</component>
|
|
25
|
+
<component name="FavoritesManager">
|
|
26
|
+
<favorites_list name="ebay-ysr" />
|
|
27
|
+
</component>
|
|
28
|
+
<component name="FileEditorManager">
|
|
29
|
+
<leaf>
|
|
30
|
+
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
|
|
31
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
32
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
33
|
+
<state vertical-scroll-proportion="0.0">
|
|
34
|
+
<caret line="0" column="20" selection-start-line="0" selection-start-column="20" selection-end-line="0" selection-end-column="20" />
|
|
35
|
+
<folding />
|
|
36
|
+
</state>
|
|
37
|
+
</provider>
|
|
38
|
+
</entry>
|
|
39
|
+
</file>
|
|
40
|
+
<file leaf-file-name="ebay-ysr.gemspec" pinned="false" current-in-tab="false">
|
|
41
|
+
<entry file="file://$PROJECT_DIR$/ebay-ysr.gemspec">
|
|
42
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
43
|
+
<state vertical-scroll-proportion="0.0">
|
|
44
|
+
<caret line="11" column="26" selection-start-line="11" selection-start-column="26" selection-end-line="11" selection-end-column="26" />
|
|
45
|
+
<folding />
|
|
46
|
+
</state>
|
|
47
|
+
</provider>
|
|
48
|
+
</entry>
|
|
49
|
+
</file>
|
|
50
|
+
<file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
|
|
51
|
+
<entry file="file://$PROJECT_DIR$/lib/ebay/ysr/version.rb">
|
|
52
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
53
|
+
<state vertical-scroll-proportion="0.0">
|
|
54
|
+
<caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
|
|
55
|
+
<folding />
|
|
56
|
+
</state>
|
|
57
|
+
</provider>
|
|
58
|
+
</entry>
|
|
59
|
+
</file>
|
|
60
|
+
<file leaf-file-name="ysr.rb" pinned="false" current-in-tab="true">
|
|
61
|
+
<entry file="file://$PROJECT_DIR$/lib/ebay/ysr.rb">
|
|
62
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
63
|
+
<state vertical-scroll-proportion="0.79310346">
|
|
64
|
+
<caret line="38" column="1" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
|
|
65
|
+
<folding />
|
|
66
|
+
</state>
|
|
67
|
+
</provider>
|
|
68
|
+
</entry>
|
|
69
|
+
</file>
|
|
70
|
+
</leaf>
|
|
71
|
+
</component>
|
|
72
|
+
<component name="Git.Settings">
|
|
73
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
74
|
+
</component>
|
|
75
|
+
<component name="IdeDocumentHistory">
|
|
76
|
+
<option name="CHANGED_PATHS">
|
|
77
|
+
<list>
|
|
78
|
+
<option value="$PROJECT_DIR$/ebay-ysr.gemspec" />
|
|
79
|
+
<option value="$PROJECT_DIR$/lib/ebay/ysr.rb" />
|
|
80
|
+
<option value="$PROJECT_DIR$/lib/ebay/ysr/version.rb" />
|
|
81
|
+
</list>
|
|
82
|
+
</option>
|
|
83
|
+
</component>
|
|
84
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
|
85
|
+
<component name="JsGulpfileManager">
|
|
86
|
+
<detection-done>true</detection-done>
|
|
87
|
+
</component>
|
|
88
|
+
<component name="NamedScopeManager">
|
|
89
|
+
<order />
|
|
90
|
+
</component>
|
|
91
|
+
<component name="ProjectFrameBounds">
|
|
92
|
+
<option name="x" value="39" />
|
|
93
|
+
<option name="y" value="52" />
|
|
94
|
+
<option name="width" value="1231" />
|
|
95
|
+
<option name="height" value="942" />
|
|
96
|
+
</component>
|
|
97
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
|
98
|
+
<OptionsSetting value="true" id="Add" />
|
|
99
|
+
<OptionsSetting value="true" id="Remove" />
|
|
100
|
+
<OptionsSetting value="true" id="Checkout" />
|
|
101
|
+
<OptionsSetting value="true" id="Update" />
|
|
102
|
+
<OptionsSetting value="true" id="Status" />
|
|
103
|
+
<OptionsSetting value="true" id="Edit" />
|
|
104
|
+
<ConfirmationsSetting value="0" id="Add" />
|
|
105
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
|
106
|
+
</component>
|
|
107
|
+
<component name="ProjectView">
|
|
108
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
|
109
|
+
<flattenPackages />
|
|
110
|
+
<showMembers />
|
|
111
|
+
<showModules />
|
|
112
|
+
<showLibraryContents />
|
|
113
|
+
<hideEmptyPackages />
|
|
114
|
+
<abbreviatePackageNames />
|
|
115
|
+
<autoscrollToSource />
|
|
116
|
+
<autoscrollFromSource />
|
|
117
|
+
<sortByType />
|
|
118
|
+
</navigator>
|
|
119
|
+
<panes>
|
|
120
|
+
<pane id="Scope" />
|
|
121
|
+
<pane id="Scratches" />
|
|
122
|
+
<pane id="ProjectPane">
|
|
123
|
+
<subPane>
|
|
124
|
+
<PATH>
|
|
125
|
+
<PATH_ELEMENT>
|
|
126
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
127
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
128
|
+
</PATH_ELEMENT>
|
|
129
|
+
</PATH>
|
|
130
|
+
<PATH>
|
|
131
|
+
<PATH_ELEMENT>
|
|
132
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
133
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
134
|
+
</PATH_ELEMENT>
|
|
135
|
+
<PATH_ELEMENT>
|
|
136
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
137
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
138
|
+
</PATH_ELEMENT>
|
|
139
|
+
</PATH>
|
|
140
|
+
<PATH>
|
|
141
|
+
<PATH_ELEMENT>
|
|
142
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
143
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
144
|
+
</PATH_ELEMENT>
|
|
145
|
+
<PATH_ELEMENT>
|
|
146
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
147
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
148
|
+
</PATH_ELEMENT>
|
|
149
|
+
<PATH_ELEMENT>
|
|
150
|
+
<option name="myItemId" value="lib" />
|
|
151
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
152
|
+
</PATH_ELEMENT>
|
|
153
|
+
<PATH_ELEMENT>
|
|
154
|
+
<option name="myItemId" value="ebay" />
|
|
155
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
156
|
+
</PATH_ELEMENT>
|
|
157
|
+
</PATH>
|
|
158
|
+
<PATH>
|
|
159
|
+
<PATH_ELEMENT>
|
|
160
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
161
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
162
|
+
</PATH_ELEMENT>
|
|
163
|
+
<PATH_ELEMENT>
|
|
164
|
+
<option name="myItemId" value="ebay-ysr" />
|
|
165
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
166
|
+
</PATH_ELEMENT>
|
|
167
|
+
<PATH_ELEMENT>
|
|
168
|
+
<option name="myItemId" value="lib" />
|
|
169
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
170
|
+
</PATH_ELEMENT>
|
|
171
|
+
<PATH_ELEMENT>
|
|
172
|
+
<option name="myItemId" value="ebay" />
|
|
173
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
174
|
+
</PATH_ELEMENT>
|
|
175
|
+
<PATH_ELEMENT>
|
|
176
|
+
<option name="myItemId" value="ysr" />
|
|
177
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
178
|
+
</PATH_ELEMENT>
|
|
179
|
+
</PATH>
|
|
180
|
+
</subPane>
|
|
181
|
+
</pane>
|
|
182
|
+
</panes>
|
|
183
|
+
</component>
|
|
184
|
+
<component name="PropertiesComponent">
|
|
185
|
+
<property name="options.lastSelected" value="reference.settings.ide.settings.web.browsers" />
|
|
186
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
|
187
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
|
188
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
189
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$/../testEbay" />
|
|
190
|
+
</component>
|
|
191
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
|
192
|
+
<component name="TaskManager">
|
|
193
|
+
<task active="true" id="Default" summary="Default task">
|
|
194
|
+
<changelist id="0f669997-968a-40a4-a873-94ec91691267" name="Default" comment="" />
|
|
195
|
+
<created>1438241231378</created>
|
|
196
|
+
<option name="number" value="Default" />
|
|
197
|
+
<updated>1438241231378</updated>
|
|
198
|
+
</task>
|
|
199
|
+
<servers />
|
|
200
|
+
</component>
|
|
201
|
+
<component name="ToolWindowManager">
|
|
202
|
+
<frame x="39" y="52" width="1231" height="942" extended-state="0" />
|
|
203
|
+
<editor active="false" />
|
|
204
|
+
<layout>
|
|
205
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.27763712" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
206
|
+
<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="7" side_tool="false" content_ui="tabs" />
|
|
207
|
+
<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="10" side_tool="true" content_ui="tabs" />
|
|
208
|
+
<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="12" side_tool="false" content_ui="tabs" />
|
|
209
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20675105" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
210
|
+
<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="11" side_tool="false" content_ui="tabs" />
|
|
211
|
+
<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" />
|
|
212
|
+
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3676976" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
|
213
|
+
<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" />
|
|
214
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
|
215
|
+
<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="5" side_tool="false" content_ui="tabs" />
|
|
216
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32975295" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
217
|
+
<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="1" side_tool="false" content_ui="tabs" />
|
|
218
|
+
<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" />
|
|
219
|
+
<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="6" side_tool="false" content_ui="tabs" />
|
|
220
|
+
<window_info id="Run" active="true" anchor="bottom" auto_hide="true" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32975295" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
|
|
221
|
+
<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" />
|
|
222
|
+
<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="2" side_tool="false" content_ui="tabs" />
|
|
223
|
+
<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" />
|
|
224
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="true" internal_type="DOCKED" type="FLOATING" visible="false" weight="0.39849624" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" x="88" y="338" width="1169" height="371" />
|
|
225
|
+
</layout>
|
|
226
|
+
</component>
|
|
227
|
+
<component name="VcsContentAnnotationSettings">
|
|
228
|
+
<option name="myLimit" value="2678400000" />
|
|
229
|
+
</component>
|
|
230
|
+
<component name="XDebuggerManager">
|
|
231
|
+
<breakpoint-manager />
|
|
232
|
+
<watches-manager />
|
|
233
|
+
</component>
|
|
234
|
+
<component name="editorHistoryManager">
|
|
235
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
236
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
237
|
+
<state vertical-scroll-proportion="0.0">
|
|
238
|
+
<caret line="0" column="20" selection-start-line="0" selection-start-column="20" selection-end-line="0" selection-end-column="20" />
|
|
239
|
+
<folding />
|
|
240
|
+
</state>
|
|
241
|
+
</provider>
|
|
242
|
+
</entry>
|
|
243
|
+
<entry file="file://$PROJECT_DIR$/ebay-ysr.gemspec">
|
|
244
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
245
|
+
<state vertical-scroll-proportion="0.0">
|
|
246
|
+
<caret line="11" column="26" selection-start-line="11" selection-start-column="26" selection-end-line="11" selection-end-column="26" />
|
|
247
|
+
<folding />
|
|
248
|
+
</state>
|
|
249
|
+
</provider>
|
|
250
|
+
</entry>
|
|
251
|
+
<entry file="file://$PROJECT_DIR$/lib/ebay/ysr/version.rb">
|
|
252
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
253
|
+
<state vertical-scroll-proportion="0.0">
|
|
254
|
+
<caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
|
|
255
|
+
<folding />
|
|
256
|
+
</state>
|
|
257
|
+
</provider>
|
|
258
|
+
</entry>
|
|
259
|
+
<entry file="file://$PROJECT_DIR$/lib/ebay/ysr.rb">
|
|
260
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
261
|
+
<state vertical-scroll-proportion="0.79310346">
|
|
262
|
+
<caret line="38" column="1" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
|
|
263
|
+
<folding />
|
|
264
|
+
</state>
|
|
265
|
+
</provider>
|
|
266
|
+
</entry>
|
|
267
|
+
</component>
|
|
268
|
+
</project>
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2015 Syed Muhammad Yasir
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Ebay::Ysr
|
|
2
|
+
|
|
3
|
+
TODO: Write a gem description
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'ebay-ysr'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then execute:
|
|
14
|
+
|
|
15
|
+
$ bundle
|
|
16
|
+
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install ebay-ysr
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
TODO: Write usage instructions here
|
|
24
|
+
|
|
25
|
+
## Contributing
|
|
26
|
+
|
|
27
|
+
1. Fork it ( https://github.com/[my-github-username]/ebay-ysr/fork )
|
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
|
31
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/ebay-ysr.gemspec
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'ebay/ysr/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "ebay-ysr"
|
|
8
|
+
spec.version = Ebay::Ysr::VERSION
|
|
9
|
+
spec.authors = ["Syed Muhammad Yasir"]
|
|
10
|
+
spec.email = ["yasirabbaszaidi5@gmail.com"]
|
|
11
|
+
spec.summary = %q{Finding Api of Ebay}
|
|
12
|
+
spec.description = %q{}
|
|
13
|
+
spec.homepage = ""
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
|
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
|
+
spec.require_paths = ["lib"]
|
|
20
|
+
|
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
23
|
+
end
|
data/lib/ebay/ysr.rb
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
require "ebay/ysr/version"
|
|
2
|
+
|
|
3
|
+
module Ebay
|
|
4
|
+
module Ysr
|
|
5
|
+
# Your code goes here...
|
|
6
|
+
end
|
|
7
|
+
require 'net/http'
|
|
8
|
+
require 'json'
|
|
9
|
+
@@appId = ''
|
|
10
|
+
@@word = ''
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def self.search
|
|
14
|
+
encode = URI.encode(@@word)
|
|
15
|
+
puts encode
|
|
16
|
+
@@url = "http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=#{appId.to_s}&RESPONSE-DATA-FORMAT=JSON&REST-PAYLOAD&keywords=#{encode.to_s}"
|
|
17
|
+
postData = Net::HTTP.get(URI(@@url))
|
|
18
|
+
parse = JSON.parse(postData)
|
|
19
|
+
results = parse['findItemsByKeywordsResponse'][0]['searchResult']
|
|
20
|
+
count = results[0]['@count']
|
|
21
|
+
puts count
|
|
22
|
+
gg = results
|
|
23
|
+
a=0
|
|
24
|
+
|
|
25
|
+
@@items = gg[0]['item']
|
|
26
|
+
# puts items
|
|
27
|
+
# a=0
|
|
28
|
+
# @@items.each do |f|
|
|
29
|
+
# puts a
|
|
30
|
+
|
|
31
|
+
# puts "Item Id = #{f['itemId'][0]}
|
|
32
|
+
# Title = #{f['title'][0]}
|
|
33
|
+
# galleryUrl = #{f['galleryURL'][0]}
|
|
34
|
+
# Link = #{f['viewItemURL'][0]}
|
|
35
|
+
# price = #{f['sellingStatus'][0]['currentPrice'][0]['__value__']} #{f['sellingStatus'][0]['currentPrice'][0]['@currencyId']} "
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# a+=1
|
|
39
|
+
# end
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ebay-ysr
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Syed Muhammad Yasir
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-07-30 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.7'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.7'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rake
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '10.0'
|
|
41
|
+
description: ''
|
|
42
|
+
email:
|
|
43
|
+
- yasirabbaszaidi5@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- ".gitignore"
|
|
49
|
+
- ".idea/.name"
|
|
50
|
+
- ".idea/.rakeTasks"
|
|
51
|
+
- ".idea/ebay-ysr.iml"
|
|
52
|
+
- ".idea/misc.xml"
|
|
53
|
+
- ".idea/modules.xml"
|
|
54
|
+
- ".idea/vcs.xml"
|
|
55
|
+
- ".idea/workspace.xml"
|
|
56
|
+
- Gemfile
|
|
57
|
+
- LICENSE.txt
|
|
58
|
+
- README.md
|
|
59
|
+
- Rakefile
|
|
60
|
+
- ebay-ysr.gemspec
|
|
61
|
+
- lib/ebay/ysr.rb
|
|
62
|
+
- lib/ebay/ysr/version.rb
|
|
63
|
+
homepage: ''
|
|
64
|
+
licenses:
|
|
65
|
+
- MIT
|
|
66
|
+
metadata: {}
|
|
67
|
+
post_install_message:
|
|
68
|
+
rdoc_options: []
|
|
69
|
+
require_paths:
|
|
70
|
+
- lib
|
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '0'
|
|
81
|
+
requirements: []
|
|
82
|
+
rubyforge_project:
|
|
83
|
+
rubygems_version: 2.4.3
|
|
84
|
+
signing_key:
|
|
85
|
+
specification_version: 4
|
|
86
|
+
summary: Finding Api of Ebay
|
|
87
|
+
test_files: []
|
|
88
|
+
has_rdoc:
|