fc2json 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/fc2json.gemspec +2 -2
  4. data/lib/fc2json.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06c7d8b4284506adff00d95b7ca56aa0827b786f
4
- data.tar.gz: 7236fc2320b8e6b0ca3b5e4d4e2a02dbd08048af
3
+ metadata.gz: 65ac2311eb61e08baf184b4d6fe92ac1de54c9ef
4
+ data.tar.gz: 46a9dea59ca075267d8ef104a12083bdf0ad7cb4
5
5
  SHA512:
6
- metadata.gz: 7d59432dfbe6650042149cf5917e5a2e4263ee6e13f83e9939e7ff10f95ed6a3e38bcc63283c6ad43c149cbd35f4bec21837413aea246f4a425c68361e215deb
7
- data.tar.gz: 5318473b30f5608aa2f7d99f6dce7c249b1c4ac966400ba15f97bad9537d113c02d0033bbbc4f126b45ff013c2a41786b9da102731d13451ee2f9f1ac890dea2
6
+ metadata.gz: d23c7270c47a4f8d0ddf6cd5e69f5dbdb698a9850e6d94c58cd505c961578a054efd5715b57935691d7e353530ffbf1ebbe3f31735ae4d294770f4ebf186aadd
7
+ data.tar.gz: 5a0ccd42b1eba1d1732a7af1a0c6c1c48d6db54e181b10f8e58bf8ffccca4ab63c13bd59286775fe179bad2936acbc0673d67333a5ea62307022c581d9928404
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
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.0 ruby lib
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.0"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fc2json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Pepato