executrix 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/executrix/version.rb +1 -1
  2. data/lib/executrix.rb +2 -1
  3. metadata +49 -48
@@ -1,3 +1,3 @@
1
1
  module Executrix
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
data/lib/executrix.rb CHANGED
@@ -62,7 +62,8 @@ module Executrix
62
62
  zip_filename = "#{Dir.tmpdir}/#{tmp_filename}"
63
63
  Zip::File.open(zip_filename, Zip::File::CREATE) do |zipfile|
64
64
  Executrix::Helper.transform_values!(records, attachment_keys) do |path|
65
- zipfile.add(Executrix::Helper.absolute_to_relative_path(path, ''), path)
65
+ relative_path = Executrix::Helper.absolute_to_relative_path(path, '')
66
+ zipfile.add(relative_path, path) rescue Zip::ZipEntryExistsError
66
67
  end
67
68
  tmp_filename = Dir::Tmpname.make_tmpname('request', '.txt')
68
69
  request_filename = "#{Dir.tmpdir}/#{tmp_filename}"
metadata CHANGED
@@ -1,114 +1,115 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: executrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
5
- prerelease:
4
+ version: 1.2.1
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jorge Valdivia
9
9
  - Leif Gensert
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-08-30 00:00:00.000000000 Z
13
+ date: 2013-09-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- version_requirements: !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
18
19
  requirements:
19
- - - '>='
20
+ - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
22
26
  none: false
23
- requirement: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - '>='
28
+ - - ! '>='
26
29
  - !ruby/object:Gem::Version
27
30
  version: '0'
28
- none: false
29
- prerelease: false
30
- type: :runtime
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: nori
33
- version_requirements: !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
34
35
  requirements:
35
36
  - - <
36
37
  - !ruby/object:Gem::Version
37
38
  version: '2.4'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
38
42
  none: false
39
- requirement: !ruby/object:Gem::Requirement
40
43
  requirements:
41
44
  - - <
42
45
  - !ruby/object:Gem::Version
43
46
  version: '2.4'
44
- none: false
45
- prerelease: false
46
- type: :runtime
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: nokogiri
49
- version_requirements: !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
50
51
  requirements:
51
52
  - - <
52
53
  - !ruby/object:Gem::Version
53
54
  version: '1.7'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
54
58
  none: false
55
- requirement: !ruby/object:Gem::Requirement
56
59
  requirements:
57
60
  - - <
58
61
  - !ruby/object:Gem::Version
59
62
  version: '1.7'
60
- none: false
61
- prerelease: false
62
- type: :runtime
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: rubyzip
65
- version_requirements: !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
66
67
  requirements:
67
68
  - - <
68
69
  - !ruby/object:Gem::Version
69
70
  version: '1.1'
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
70
74
  none: false
71
- requirement: !ruby/object:Gem::Requirement
72
75
  requirements:
73
76
  - - <
74
77
  - !ruby/object:Gem::Version
75
78
  version: '1.1'
76
- none: false
77
- prerelease: false
78
- type: :runtime
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: rspec
81
- version_requirements: !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
82
83
  requirements:
83
84
  - - <
84
85
  - !ruby/object:Gem::Version
85
86
  version: '2.15'
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
86
90
  none: false
87
- requirement: !ruby/object:Gem::Requirement
88
91
  requirements:
89
92
  - - <
90
93
  - !ruby/object:Gem::Version
91
94
  version: '2.15'
92
- none: false
93
- prerelease: false
94
- type: :development
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: webmock
97
- version_requirements: !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
98
99
  requirements:
99
100
  - - <
100
101
  - !ruby/object:Gem::Version
101
102
  version: '1.14'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
102
106
  none: false
103
- requirement: !ruby/object:Gem::Requirement
104
107
  requirements:
105
108
  - - <
106
109
  - !ruby/object:Gem::Version
107
110
  version: '1.14'
108
- none: false
109
- prerelease: false
110
- type: :development
111
- description: This gem provides a super simple interface for the Salesforce Bulk API. It provides support for insert, update, upsert, delete, and query.
111
+ description: This gem provides a super simple interface for the Salesforce Bulk API.
112
+ It provides support for insert, update, upsert, delete, and query.
112
113
  email:
113
114
  - jorge@valdivia.me
114
115
  - leif@propertybase.com
@@ -140,32 +141,32 @@ files:
140
141
  - spec/spec_helper.rb
141
142
  homepage: https://github.com/propertybase/executrix
142
143
  licenses: []
143
- post_install_message:
144
+ post_install_message:
144
145
  rdoc_options: []
145
146
  require_paths:
146
147
  - lib
147
148
  required_ruby_version: !ruby/object:Gem::Requirement
149
+ none: false
148
150
  requirements:
149
- - - '>='
151
+ - - ! '>='
150
152
  - !ruby/object:Gem::Version
153
+ version: '0'
151
154
  segments:
152
155
  - 0
153
- version: '0'
154
- hash: 2
155
- none: false
156
+ hash: -79452826815829491
156
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
+ none: false
157
159
  requirements:
158
- - - '>='
160
+ - - ! '>='
159
161
  - !ruby/object:Gem::Version
162
+ version: '0'
160
163
  segments:
161
164
  - 0
162
- version: '0'
163
- hash: 2
164
- none: false
165
+ hash: -79452826815829491
165
166
  requirements: []
166
167
  rubyforge_project: executrix
167
- rubygems_version: 1.8.24
168
- signing_key:
168
+ rubygems_version: 1.8.23
169
+ signing_key:
169
170
  specification_version: 3
170
171
  summary: Ruby support for the Salesforce Bulk API
171
172
  test_files: