rdgem 0.1.25 → 0.1.26

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rdgem/version.rb +1 -1
  3. data/lib/rdgem.rb +7 -7
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad6db8cae511985682d1d5782cbb5047390e8bdb
4
- data.tar.gz: c1a1fd506dedd480554ff08aa7029f66823858aa
3
+ metadata.gz: 0171a8093d23d6f0c798b9b3839d5b1fe0d412e8
4
+ data.tar.gz: 739c7ae97e0ecbedf0f815a648e6c4b89ae7851d
5
5
  SHA512:
6
- metadata.gz: 8506a159d6507eecf0c77ee7d211a23d129b55b81a627a9db031252929cd383669a0156047595e022c17f4eb79e95221ce2e1fac4dadb364983fbb0b64ab6853
7
- data.tar.gz: 77444730b12baee66c1f08fe249519975920a87d79aeca914b84932dc2266a4c1b805e68cda8476cb28ca4137c3b6d4a0bd0f3144c85ac276b2fc3d5415e3356
6
+ metadata.gz: aada14910c72d2888c329ac5545d9129a33b57582f474f6d35ee70c509f07864502dc08fb993201abfadbb1c7d6025b4e4ba11be1c761b6cbf2373cf9f8155f9
7
+ data.tar.gz: 2f85878e6a3b2a70a6c3375f07f362def6185ff673f2aade7cdbf5258fb88acc7cacad470075304ed28b05dbdd4306605efc133e3af741e18906577cf6a0807e
data/lib/rdgem/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rdgem
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
3
3
  end
data/lib/rdgem.rb CHANGED
@@ -102,16 +102,16 @@ module Rdgem
102
102
  end
103
103
  end
104
104
  #Hash the info
105
- custom_field = Hash[fields.zip(@field_key.map \
105
+ @custom_field = Hash[fields.zip(@field_key.map \
106
106
  {|i| i.include?(',') ? (i.split /, /) : i})] #/
107
107
  #integrate missing fields
108
- custom_field.each_with_index do |create, index|
108
+ @custom_field.each_with_index do |create, index|
109
109
  puts "create_before",create
110
- puts "custom_field_before",custom_field
110
+ puts "custom_field_before",@custom_field
111
111
  if create[1].blank?
112
- custom_field[index][1] = create_field(app_key, create[0])
112
+ @custom_field[index][1] = create_field(app_key, create[0])
113
113
  puts "create_after",create
114
- puts "custom_field_after",custom_field
114
+ puts "custom_field_after",@custom_field
115
115
  end
116
116
  end
117
117
  else
@@ -119,8 +119,8 @@ module Rdgem
119
119
  return false
120
120
  end
121
121
  end
122
- puts "custom_field", custom_field
123
- return custom_field
122
+ puts "custom_field", @custom_field
123
+ return @custom_field
124
124
  end
125
125
 
126
126
  #checks if the key is valid and if the custom fields are created in the acc
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - gabriel