allegro-api 0.0.2pre → 0.0.3pre
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 +10 -10
- data/Gemfile.lock +1 -1
- data/README.md +5 -2
- data/allegro-api.gemspec +1 -0
- data/lib/allegro/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMjU2":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
MWU3MzAxZTRhY2VjOTAxYTM4OGRiZmMwY2YxYWM4MDljY2VkZmY4NjdkMjBi
|
|
5
|
+
OGE1YTdjOTVhZjY4YWNlMWVlZQ==
|
|
6
6
|
data.tar.gz: !binary |-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
ZjRjY2IwNjNjMGI0ZGY1ZGU4YmU1YWY5MmYyNDRlMWZkNTMwN2QzOGU4ZDFh
|
|
8
|
+
Yjk2YjQ1Nzc0MWQ5YjA3YWViNQ==
|
|
9
9
|
SHA512:
|
|
10
10
|
metadata.gz: !binary |-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
ODNiN2FhMjU1ZTlhOGRhMDY1NDAxNDUyMWQ2MmM1NzE1MDUxYTkyYWQwYWM4
|
|
12
|
+
NTUzZmQzNWE1MmVjZWIyMWU3YmEzMmFiNDRjMjhiODYwMzVkYWZiMDMyMDM2
|
|
13
|
+
ZjVkODFjYjhhNDQxMDc1NGY0NzBkMmVjZjJlMGIzNDJjYWFlMmI=
|
|
14
14
|
data.tar.gz: !binary |-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
ZDk2NDJkOTE2M2RjYzQ2YTk1MjFhYmM4ZDdlOTU5NGQ2NmY1ZDViMzA4Yjdi
|
|
16
|
+
ZDE4NDI5NzY1MDg0Mjc4ODNmYWI1NDM4Yjk3YWMyYjE4MmUwNjk4ZGI5YjRi
|
|
17
|
+
NDg3ZTkyYmNlMmQ1NDY5YjczMjY3MThiODBkNTU1Mjg3OGNkMTA=
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -26,10 +26,13 @@ Or install it yourself as:
|
|
|
26
26
|
|
|
27
27
|
```ruby
|
|
28
28
|
# Create client instance and authorize
|
|
29
|
-
|
|
29
|
+
api = Allegro::Client.new('client','secret')
|
|
30
30
|
|
|
31
31
|
# Does client authorized sucessfully?
|
|
32
|
-
|
|
32
|
+
api.authorized? # => false
|
|
33
|
+
|
|
34
|
+
# Search for some offers with some parameters
|
|
35
|
+
api.search({ 'seller.id' => '1'}) # { 'items' => [ ... ] } JSON response dumped to Hash
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
## TODO
|
data/allegro-api.gemspec
CHANGED
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
|
|
14
14
|
spec.summary = %q{Simple API REST client for allegro.pl}
|
|
15
15
|
spec.homepage = 'https://github.com/kmi3c/allegro-api'
|
|
16
|
+
spec.metadata = { 'source_code_uri' => 'https://github.com/kmi3c/allegro-api' }
|
|
16
17
|
|
|
17
18
|
# Specify which files should be added to the gem when it is released.
|
|
18
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
data/lib/allegro/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: allegro-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paweł Adamski
|
|
@@ -119,7 +119,8 @@ files:
|
|
|
119
119
|
homepage: https://github.com/kmi3c/allegro-api
|
|
120
120
|
licenses:
|
|
121
121
|
- LGPL-3.0
|
|
122
|
-
metadata:
|
|
122
|
+
metadata:
|
|
123
|
+
source_code_uri: https://github.com/kmi3c/allegro-api
|
|
123
124
|
post_install_message:
|
|
124
125
|
rdoc_options: []
|
|
125
126
|
require_paths:
|