nwrfc 0.0.4 → 0.0.5

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.
@@ -84,6 +84,10 @@ so that ["system2"] at the end points to whatever label you gave it in the YAML
84
84
 
85
85
  == Release Notes
86
86
 
87
+ === What's new in 0.0.5
88
+
89
+ * Bug fix for Table#each
90
+
87
91
  === What's new in 0.0.4
88
92
 
89
93
  * Add parameter activation/deactivation functionality
@@ -325,6 +325,7 @@ module NWRFC
325
325
  size.times do |row|
326
326
  struct_handle = NWRFCLib.get_current_row(@handle, @error)
327
327
  NWRFC.check_error(@error)
328
+ NWRFCLib.move_to_next_row(@handle, @error)
328
329
  # CAVEAT: Other calls using the handle require "handle" field
329
330
  # of the RFC_DATA_CONTAINER struct
330
331
  yield Structure.new(struct_handle)
@@ -3,6 +3,15 @@ module NWRFC
3
3
  # Representation of a data container (function, structure or table)
4
4
  # Implements common functions for data containers, such as setting and getting values, tables, structures and
5
5
  # takes care of type conversion and calling correct SDK functions to set or get values
6
+ #
7
+ # == Type Conversions
8
+ # To ensure that data is passed correctly to the NW RFC SDK functions, certain conversions are applied to values
9
+ # passed, depending on the type of the field. ABAP supports a number of elementary types, which are listed in the
10
+ #
11
+ # DECFLOAT16 and DECFLOAT34 types are not yet supported.
12
+ #
13
+ # === Inbound
14
+ # For character and string
6
15
  class DataContainer
7
16
  attr_reader :handle, :desc
8
17
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nwrfc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Martin Ceronio
@@ -15,9 +15,24 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-28 00:00:00 Z
19
- dependencies: []
20
-
18
+ date: 2012-03-09 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: ffi
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 1
29
+ segments:
30
+ - 1
31
+ - 0
32
+ - 11
33
+ version: 1.0.11
34
+ type: :runtime
35
+ version_requirements: *id001
21
36
  description: SAP Netweaver RFC Library Wrapper using Ruby-FFI
22
37
  email: martin.ceronio@infosize.co.za
23
38
  executables: []