rdgem 0.1.26 → 0.1.27
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.
- checksums.yaml +4 -4
- data/lib/rdgem/version.rb +2 -1
- data/lib/rdgem.rb +7 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fcb838de800c0fbb11164cad0ebdc66fed15b73
|
4
|
+
data.tar.gz: 7bcbec8756fec6afdc3caa6083b7dcd7d107a587
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61252b3ec79d6f19261b29d10dd628b2ab5bc55f6a8ba0405c3f4a6ef3d392890d18ed232fedbdd1ac7cf88105bd7160accf13ef9f81682f2d401c1bed465570
|
7
|
+
data.tar.gz: 2935250eb885c8ef50be484e18eb19d25d068d97b4670e4358dd47ff5a2d9fbab9ddb381226a6c388dc77c9e002fbf32372a90c2c74e93d57779fb7b4ce19d8f
|
data/lib/rdgem/version.rb
CHANGED
data/lib/rdgem.rb
CHANGED
@@ -102,16 +102,14 @@ module Rdgem
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
#Hash the info
|
105
|
-
|
105
|
+
custom_field = Hash[fields.zip(@field_key.map \
|
106
106
|
{|i| i.include?(',') ? (i.split /, /) : i})] #/
|
107
107
|
#integrate missing fields
|
108
|
-
|
109
|
-
puts "
|
110
|
-
puts "custom_field_before",@custom_field
|
108
|
+
custom_field.each_with_object do |create|
|
109
|
+
puts "custom_field_before",custom_field
|
111
110
|
if create[1].blank?
|
112
|
-
|
113
|
-
puts "
|
114
|
-
puts "custom_field_after",@custom_field
|
111
|
+
create[1] = create_field(app_key, create[0])
|
112
|
+
puts "custom_field_after",custom_field
|
115
113
|
end
|
116
114
|
end
|
117
115
|
else
|
@@ -119,8 +117,8 @@ module Rdgem
|
|
119
117
|
return false
|
120
118
|
end
|
121
119
|
end
|
122
|
-
puts "custom_field",
|
123
|
-
return
|
120
|
+
puts "custom_field", custom_field
|
121
|
+
return custom_field
|
124
122
|
end
|
125
123
|
|
126
124
|
#checks if the key is valid and if the custom fields are created in the acc
|