stackconnect 0.1.7 → 0.1.8
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 +4 -4
- data/lib/stackconnect.rb +2 -2
- metadata +3 -4
- data/.README.md.swo +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c32b0d24a3a080890970282e7426f16818058471
|
|
4
|
+
data.tar.gz: 1e76b9e7ad245a4f66bb6d3f0ce20e8d339ece76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bec9dfeb40aaea64daab988c3a4383187e7cb10bbbce1c6f991e9daa0bd045c6b4bba27c24fe2fc7363dc2565fd6dbc0eeb78802463af8d37da7baec4c9f5cf8
|
|
7
|
+
data.tar.gz: 1514f2cb08e278b9214c62ee41b168f97d73a0f608191e61019562fb01d6d8971bb01b3f8eeda64e06f6a7dd0af00011b8e0ccc3895c9ceae0f3e5fd34671c62
|
data/lib/stackconnect.rb
CHANGED
|
@@ -4,7 +4,7 @@ require 'uri'
|
|
|
4
4
|
class StackConnect
|
|
5
5
|
attr_accessor :api, :site, :uri
|
|
6
6
|
|
|
7
|
-
@@VERSION = "0.1.
|
|
7
|
+
@@VERSION = "0.1.8"
|
|
8
8
|
@@api = 'http://api.stackexchange.com/'
|
|
9
9
|
@@site = 'stackoverflow'
|
|
10
10
|
@@api_v = '/2.2/'
|
|
@@ -29,7 +29,7 @@ class StackConnect
|
|
|
29
29
|
|
|
30
30
|
def retrieve_tags(from_date)
|
|
31
31
|
raise "Date is too early, must be after January 1, 2009" if from_date < @@earliest_date
|
|
32
|
-
args = { :fromdate => from_date, :sort=>'popular', :order=>'desc'
|
|
32
|
+
args = { :fromdate => from_date, :sort=>'popular', :order=>'desc'}
|
|
33
33
|
form_query(@@api_v + 'tags', args)
|
|
34
34
|
end
|
|
35
35
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stackconnect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- amirtcheva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|
|
@@ -115,7 +115,6 @@ executables: []
|
|
|
115
115
|
extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
|
117
117
|
files:
|
|
118
|
-
- .README.md.swo
|
|
119
118
|
- .gitignore
|
|
120
119
|
- Gemfile
|
|
121
120
|
- LICENSE.txt
|
|
@@ -144,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
144
143
|
version: '0'
|
|
145
144
|
requirements: []
|
|
146
145
|
rubyforge_project: stackconnect
|
|
147
|
-
rubygems_version: 2.
|
|
146
|
+
rubygems_version: 2.2.2
|
|
148
147
|
signing_key:
|
|
149
148
|
specification_version: 4
|
|
150
149
|
summary: Ruby API for connecting to StackOverflow.
|
data/.README.md.swo
DELETED
|
Binary file
|