sapoci 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sapoci/item.rb +40 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d1cc330a07464884e5c00cc6e73cf47b60154eaf3b9f2bdad12d68619b17885
4
- data.tar.gz: 1475ce80de9ec64204a4b1c1c901ecb2f6e4332915d058edab2391535e168870
3
+ metadata.gz: dd16df532f4e6d772185c9064d6a41d9f08dfffbc570188bfb0e42ea814a0cf3
4
+ data.tar.gz: c0e0d3d87dd89c9add8e2bc0bde311046232010f7f54ed20ba82601eadd7692b
5
5
  SHA512:
6
- metadata.gz: cf694cd8cb10aa1c4431c2781989615ef3485bc40293f304fc3e6f3c30cbbf1b3a684bef47abce1b61c5d9fa6eeeba06e429180ab5d4248d6aad39696a313a92
7
- data.tar.gz: 6bdcc6176debb58d85548a89c302450488cf9988fda4f266acbd8ffa89148ee85692b97f1fbfd152b8c8c2358c6beb3a5cc45b1f7e0e1bfd490cf692893154e9
6
+ metadata.gz: e3bee2e33db081d0174880126729c4d6796c0abec99634284a5c950067d9a996bcb5700d4e4cf884fad1a50f6a7cc77c128f814905a77b7f538076fbf0d79ecf
7
+ data.tar.gz: 0c754cda4d2519fe1f9d0dc5884e3ab0aee92e7e80599ac3989aef4ea0bbcd84c1695a8a83c9437421e0d5b776975111982e7ce6e22bf2299ddcb97feb02242b
data/lib/sapoci/item.rb CHANGED
@@ -68,6 +68,26 @@ module SAPOCI
68
68
  attr_accessor :cust_field28
69
69
  attr_accessor :cust_field29
70
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
71
91
 
72
92
  # Initializes the item.
73
93
  def initialize(index)
@@ -232,6 +252,26 @@ module SAPOCI
232
252
  html << hidden_field_tag("CUST_FIELD28", self.cust_field28) unless self.cust_field28.blank?
233
253
  html << hidden_field_tag("CUST_FIELD29", self.cust_field29) unless self.cust_field29.blank?
234
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?
235
275
  html << "<input type=\"hidden\" name=\"NEW_ITEM-LONGTEXT_#{index + 1}:132[]\" value=\"#{escape_html(self.longtext)}\" />" unless self.longtext.blank?
236
276
  html.join
237
277
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapoci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Eilhard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler