sapoci 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/sapoci/item.rb +4 -0
- metadata +15 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d426c30a6441b9b931f9f2b9119cb6ccac57d58e3cfba2d1be8d673b9a1df474
|
4
|
+
data.tar.gz: '08b54350cf9bfa69ce4611ecb5cc0195f95ec60ab50c773b42e1909d5048c474'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1627887f2808c3c7b9d363645a965e5ee88620e175bde3fb9fcebb97aa72b134797dc87fe5461e4e8941ebe44ea18f1d8b13e1b84320c02a2b81f99975dd1499
|
7
|
+
data.tar.gz: f0cd979671e24dae931d067b005ad8aa43dc5d7fd9e72bc59b15d289c933ad56bba5686285ce1964df930adaaa65c1538ad27faf953de1f5e1cf67fc5de4f017
|
data/lib/sapoci/item.rb
CHANGED
@@ -35,6 +35,8 @@ module SAPOCI
|
|
35
35
|
attr_accessor :mps_sage_number
|
36
36
|
attr_accessor :mps_sage_contract
|
37
37
|
attr_accessor :tax_code
|
38
|
+
attr_accessor :sold_by
|
39
|
+
attr_accessor :fulfilled_by
|
38
40
|
attr_accessor :cust_field1
|
39
41
|
attr_accessor :cust_field2
|
40
42
|
attr_accessor :cust_field3
|
@@ -188,6 +190,8 @@ module SAPOCI
|
|
188
190
|
html << hidden_field_tag("MPS_SAGE_CONTRACT", self.mps_sage_contract) unless self.mps_sage_contract.blank?
|
189
191
|
html << hidden_field_tag("TAX_RATE", "%.5f" % self.tax_rate) if self.tax_rate.to_f > 0
|
190
192
|
html << hidden_field_tag("TAX_CODE", self.tax_code) unless self.tax_code.blank?
|
193
|
+
html << hidden_field_tag("SOLD_BY", self.sold_by) unless self.sold_by.blank?
|
194
|
+
html << hidden_field_tag("FULFILLED_BY", self.fulfilled_by) unless self.fulfilled_by.blank?
|
191
195
|
html << hidden_field_tag("CUST_FIELD1", self.cust_field1) unless self.cust_field1.blank?
|
192
196
|
html << hidden_field_tag("CUST_FIELD2", self.cust_field2) unless self.cust_field2.blank?
|
193
197
|
html << hidden_field_tag("CUST_FIELD3", self.cust_field3) unless self.cust_field3.blank?
|
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.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Eilhard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.8.2
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.8.2
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 1.8.2
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.8.2
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,6 +49,9 @@ dependencies:
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.12'
|
54
|
+
- - ">="
|
46
55
|
- !ruby/object:Gem::Version
|
47
56
|
version: 3.12.1
|
48
57
|
type: :development
|
@@ -50,6 +59,9 @@ dependencies:
|
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
52
61
|
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.12'
|
64
|
+
- - ">="
|
53
65
|
- !ruby/object:Gem::Version
|
54
66
|
version: 3.12.1
|
55
67
|
- !ruby/object:Gem::Dependency
|
@@ -106,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
118
|
version: 1.3.6
|
107
119
|
requirements: []
|
108
120
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.7.6
|
110
122
|
signing_key:
|
111
123
|
specification_version: 4
|
112
124
|
summary: SAP OCI enables users to parse SAP OCI compliant data from online shops.
|