lardawge-rfm 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -7,6 +7,7 @@ Other lead contributors:
7
7
  - Mufaddal Khumri helped architect Rfm in the most ruby-like way possible. He also contributed the outstanding error handling code and a comprehensive hierarchy of error classes.
8
8
  - Atsushi Matsuo was an early Rfm tester, and provided outstanding feedback, critical code fixes, and a lot of web exposure.
9
9
  - Jesse Antunes helped ensure that Rfm is stable and functional.
10
+ - Larry Sprock added ssl support and switched the xml parser to a much faster Nokogiri.
10
11
 
11
12
  Rdoc location: http://rdoc.info/projects/lardawge/rfm
12
13
 
data/lib/rfm_command.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'net/https'
2
2
  require 'cgi'
3
- require 'hpricot'
3
+ require 'nokogiri'
4
4
 
5
5
  # This module includes classes that represent base FileMaker concepts like servers,
6
6
  # layouts, and scripts. These classes allow you to communicate with FileMaker Server,
@@ -525,7 +525,7 @@ module Rfm
525
525
  #
526
526
  # * *sort_field* tells FileMaker to sort the records by the specified field
527
527
  #
528
- # * *sort_order* can be +desc+ (descending) or +asc+ (ascending) and determines the order
528
+ # * *sort_order* can be +descend+ or +ascend+ and determines the order
529
529
  # of the sort when +sort_field+ is specified
530
530
  #
531
531
  # * *post_script* tells FileMaker to perform a script after carrying out the action; you
data/lib/rfm_result.rb CHANGED
@@ -71,7 +71,7 @@ module Rfm::Result
71
71
  @total_count = nil
72
72
  @foundset_count = nil
73
73
 
74
- doc = Hpricot.XML(fmresultset)
74
+ doc = Nokogiri.XML(fmresultset)
75
75
 
76
76
  # check for errors
77
77
  error = doc.search('error').attr('code').to_i
@@ -91,7 +91,7 @@ module Rfm::Result
91
91
 
92
92
  # process field metadata
93
93
  doc.search('field-definition').each do |field|
94
- name = field.attributes['name']
94
+ name = field['name']
95
95
  @fields[name] = Field.new(self, field)
96
96
  end
97
97
  @fields.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lardawge-rfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Coffey
@@ -12,18 +12,18 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-08-11 00:00:00 -07:00
15
+ date: 2009-08-11 00:00:00 -04:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
- name: hpricot
19
+ name: nokogiri
20
20
  type: :runtime
21
21
  version_requirement:
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.1
26
+ version: 1.3.3
27
27
  version:
28
28
  description: Rfm brings your FileMaker data to Ruby with elegance and speed. Now your Ruby scripts and Rails applications can talk directly to your FileMaker server with a syntax that just feels right.
29
29
  email: http://groups.google.com/group/rfmcommunity
@@ -43,9 +43,10 @@ files:
43
43
  - lib/rfm_util.rb
44
44
  - LICENSE
45
45
  - README.rdoc
46
- has_rdoc: false
46
+ has_rdoc: true
47
47
  homepage: http://sixfriedrice.com/wp/products/rfm/
48
- licenses:
48
+ licenses: []
49
+
49
50
  post_install_message:
50
51
  rdoc_options:
51
52
  - --line-numbers