fc2json 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/fc2json.gemspec +2 -2
- data/lib/fc2json.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ac2311eb61e08baf184b4d6fe92ac1de54c9ef
|
4
|
+
data.tar.gz: 46a9dea59ca075267d8ef104a12083bdf0ad7cb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d23c7270c47a4f8d0ddf6cd5e69f5dbdb698a9850e6d94c58cd505c961578a054efd5715b57935691d7e353530ffbf1ebbe3f31735ae4d294770f4ebf186aadd
|
7
|
+
data.tar.gz: 5a0ccd42b1eba1d1732a7af1a0c6c1c48d6db54e181b10f8e58bf8ffccca4ab63c13bd59286775fe179bad2936acbc0673d67333a5ea62307022c581d9928404
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/fc2json.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: fc2json 0.2.
|
5
|
+
# stub: fc2json 0.2.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "fc2json"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/fc2json.rb
CHANGED
@@ -13,7 +13,7 @@ class FC2Json
|
|
13
13
|
def initialize (service_url, object_identifier_field_name = nil, records_per_request = nil, where_clause = nil)
|
14
14
|
@service_url = service_url
|
15
15
|
@object_identifier_field_name = object_identifier_field_name || "FID"
|
16
|
-
@records_per_request = records_per_request || 2000
|
16
|
+
@records_per_request = (records_per_request || 2000).to_i
|
17
17
|
@where_clause = where_clause || "1 = 1"
|
18
18
|
end
|
19
19
|
|