sapoci 0.3.7 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/sapoci/item.rb +42 -0
- metadata +13 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c103c0041ee68399453e0aa6e6bc79f269a687561df4371477b7dcc0a6f61481
|
4
|
+
data.tar.gz: be2a8bc8cc4558cbc89f53baedd775f19f157ebb50b21593db5e76a5d704cbd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ad9b980150f03ee90bb0951b693d2525fc4472b89c2ccf0c9c61a68fb2b088db9528c7ec863114d259f7a581ab63975027324c95b8c39dd5d322dbca11a8a7
|
7
|
+
data.tar.gz: '09d1117db87eb350b6a09e1f075a2d7e4b4d831ffd46517f203150192235830f8850aee3f9cff1092114900417bfbb60e515bf692735599622c4dbf46362ebf7'
|
data/README.md
CHANGED
data/lib/sapoci/item.rb
CHANGED
@@ -37,6 +37,7 @@ module SAPOCI
|
|
37
37
|
attr_accessor :tax_code
|
38
38
|
attr_accessor :sold_by
|
39
39
|
attr_accessor :fulfilled_by
|
40
|
+
attr_accessor :gtin
|
40
41
|
attr_accessor :cust_field1
|
41
42
|
attr_accessor :cust_field2
|
42
43
|
attr_accessor :cust_field3
|
@@ -67,6 +68,26 @@ module SAPOCI
|
|
67
68
|
attr_accessor :cust_field28
|
68
69
|
attr_accessor :cust_field29
|
69
70
|
attr_accessor :cust_field30
|
71
|
+
attr_accessor :cust_field31
|
72
|
+
attr_accessor :cust_field32
|
73
|
+
attr_accessor :cust_field33
|
74
|
+
attr_accessor :cust_field34
|
75
|
+
attr_accessor :cust_field35
|
76
|
+
attr_accessor :cust_field36
|
77
|
+
attr_accessor :cust_field37
|
78
|
+
attr_accessor :cust_field38
|
79
|
+
attr_accessor :cust_field39
|
80
|
+
attr_accessor :cust_field40
|
81
|
+
attr_accessor :cust_field41
|
82
|
+
attr_accessor :cust_field42
|
83
|
+
attr_accessor :cust_field43
|
84
|
+
attr_accessor :cust_field44
|
85
|
+
attr_accessor :cust_field45
|
86
|
+
attr_accessor :cust_field46
|
87
|
+
attr_accessor :cust_field47
|
88
|
+
attr_accessor :cust_field48
|
89
|
+
attr_accessor :cust_field49
|
90
|
+
attr_accessor :cust_field50
|
70
91
|
|
71
92
|
# Initializes the item.
|
72
93
|
def initialize(index)
|
@@ -200,6 +221,7 @@ module SAPOCI
|
|
200
221
|
html << hidden_field_tag("TAX_CODE", self.tax_code) unless self.tax_code.blank?
|
201
222
|
html << hidden_field_tag("SOLD_BY", self.sold_by) unless self.sold_by.blank?
|
202
223
|
html << hidden_field_tag("FULFILLED_BY", self.fulfilled_by) unless self.fulfilled_by.blank?
|
224
|
+
html << hidden_field_tag("GTIN", self.gtin) unless self.gtin.blank?
|
203
225
|
html << hidden_field_tag("CUST_FIELD1", self.cust_field1) unless self.cust_field1.blank?
|
204
226
|
html << hidden_field_tag("CUST_FIELD2", self.cust_field2) unless self.cust_field2.blank?
|
205
227
|
html << hidden_field_tag("CUST_FIELD3", self.cust_field3) unless self.cust_field3.blank?
|
@@ -230,6 +252,26 @@ module SAPOCI
|
|
230
252
|
html << hidden_field_tag("CUST_FIELD28", self.cust_field28) unless self.cust_field28.blank?
|
231
253
|
html << hidden_field_tag("CUST_FIELD29", self.cust_field29) unless self.cust_field29.blank?
|
232
254
|
html << hidden_field_tag("CUST_FIELD30", self.cust_field30) unless self.cust_field30.blank?
|
255
|
+
html << hidden_field_tag("CUST_FIELD31", self.cust_field31) unless self.cust_field31.blank?
|
256
|
+
html << hidden_field_tag("CUST_FIELD32", self.cust_field32) unless self.cust_field32.blank?
|
257
|
+
html << hidden_field_tag("CUST_FIELD33", self.cust_field33) unless self.cust_field33.blank?
|
258
|
+
html << hidden_field_tag("CUST_FIELD34", self.cust_field34) unless self.cust_field34.blank?
|
259
|
+
html << hidden_field_tag("CUST_FIELD35", self.cust_field35) unless self.cust_field35.blank?
|
260
|
+
html << hidden_field_tag("CUST_FIELD36", self.cust_field36) unless self.cust_field36.blank?
|
261
|
+
html << hidden_field_tag("CUST_FIELD37", self.cust_field37) unless self.cust_field37.blank?
|
262
|
+
html << hidden_field_tag("CUST_FIELD38", self.cust_field38) unless self.cust_field38.blank?
|
263
|
+
html << hidden_field_tag("CUST_FIELD39", self.cust_field39) unless self.cust_field39.blank?
|
264
|
+
html << hidden_field_tag("CUST_FIELD40", self.cust_field40) unless self.cust_field40.blank?
|
265
|
+
html << hidden_field_tag("CUST_FIELD41", self.cust_field41) unless self.cust_field41.blank?
|
266
|
+
html << hidden_field_tag("CUST_FIELD42", self.cust_field42) unless self.cust_field42.blank?
|
267
|
+
html << hidden_field_tag("CUST_FIELD43", self.cust_field43) unless self.cust_field43.blank?
|
268
|
+
html << hidden_field_tag("CUST_FIELD44", self.cust_field44) unless self.cust_field44.blank?
|
269
|
+
html << hidden_field_tag("CUST_FIELD45", self.cust_field45) unless self.cust_field45.blank?
|
270
|
+
html << hidden_field_tag("CUST_FIELD46", self.cust_field46) unless self.cust_field46.blank?
|
271
|
+
html << hidden_field_tag("CUST_FIELD47", self.cust_field47) unless self.cust_field47.blank?
|
272
|
+
html << hidden_field_tag("CUST_FIELD48", self.cust_field48) unless self.cust_field48.blank?
|
273
|
+
html << hidden_field_tag("CUST_FIELD49", self.cust_field49) unless self.cust_field49.blank?
|
274
|
+
html << hidden_field_tag("CUST_FIELD50", self.cust_field50) unless self.cust_field50.blank?
|
233
275
|
html << "<input type=\"hidden\" name=\"NEW_ITEM-LONGTEXT_#{index + 1}:132[]\" value=\"#{escape_html(self.longtext)}\" />" unless self.longtext.blank?
|
234
276
|
html.join
|
235
277
|
end
|
metadata
CHANGED
@@ -1,83 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sapoci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Eilhard
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: json
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.8.5
|
19
|
+
version: 2.3.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 1.8.5
|
26
|
+
version: 2.3.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
33
|
+
version: 2.1.4
|
40
34
|
type: :development
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rdoc
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '3.12'
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 3.12.1
|
57
|
-
type: :development
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - "~>"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '3.12'
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 3.12.1
|
40
|
+
version: 2.1.4
|
67
41
|
- !ruby/object:Gem::Dependency
|
68
42
|
name: rake
|
69
43
|
requirement: !ruby/object:Gem::Requirement
|
70
44
|
requirements:
|
71
45
|
- - "~>"
|
72
46
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
47
|
+
version: 12.3.3
|
74
48
|
type: :development
|
75
49
|
prerelease: false
|
76
50
|
version_requirements: !ruby/object:Gem::Requirement
|
77
51
|
requirements:
|
78
52
|
- - "~>"
|
79
53
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
54
|
+
version: 12.3.3
|
81
55
|
description: Ruby library and Rails plugin for punchout via SAP OCI protocol.
|
82
56
|
email:
|
83
57
|
- oliver.eilhard@gmail.com
|
@@ -101,7 +75,7 @@ homepage: http://github.com/meplato/sapoci
|
|
101
75
|
licenses:
|
102
76
|
- MIT
|
103
77
|
metadata: {}
|
104
|
-
post_install_message:
|
78
|
+
post_install_message:
|
105
79
|
rdoc_options:
|
106
80
|
- "--charset=UTF-8"
|
107
81
|
require_paths:
|
@@ -117,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
91
|
- !ruby/object:Gem::Version
|
118
92
|
version: 1.3.6
|
119
93
|
requirements: []
|
120
|
-
|
121
|
-
|
122
|
-
signing_key:
|
94
|
+
rubygems_version: 3.0.3
|
95
|
+
signing_key:
|
123
96
|
specification_version: 4
|
124
97
|
summary: SAP OCI enables users to parse SAP OCI compliant data from online shops.
|
125
98
|
test_files: []
|