sf_migrate 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/export.rb +3 -1
  3. data/lib/sf_migrate.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTNkZTM5OWVjMDdkODA0MzNjMGE2OGU4ZmZjOWNhN2ZlNzMwZDQ5NQ==
4
+ NDU1MGY5YTAxYjY4YTlkNmYxNDg4YWYwZDg1M2ZlYmFhZWY5ZmFmNg==
5
5
  data.tar.gz: !binary |-
6
- NTNkNWZhNDYyNzc5ODc2NTFjZThlMWU1ZTBmZjY0MTVhNjIzOGM4NA==
6
+ NGNlNWFjNmQ2NzEyODllMTE4MTlhOTA0NDNhMWFjMjAzMjk3NjI0ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWMyZWNlMjA0NzMyMDc5ZWNiNmZhM2VhOTkzMjhlOWZjYTgwMGUwOGE0MTlj
10
- ODAxMzhmMTA5NGEyMjhjZDU4ZWZmNTA1NGZlZWFmMGVmYmZlNjE4NTc3MDA4
11
- YjQ0N2QyZGJmYzdlYmQwN2IzNzM4ZTBmZTczYTM3NjJjOTViMGQ=
9
+ MzcxNzNjNWRjMDBjM2E2YWE1OGIzNzlkMGY0MDY5NTliZjFkYjg4NzE3Mzkw
10
+ NTA0ODM1YzZjYjY0ZmU2MGM4ZGE5ZGI1NGNlZTMwMjRiMjY4MGE5YmJlY2E2
11
+ ZGM3NjI0NTJmYTEyZjk2NDQ3YjVkNTQyOTcyM2VhN2I1YmVmNDg=
12
12
  data.tar.gz: !binary |-
13
- YTEyMmEwYjIzZGEwOGQ0MzQ4NjdhYmE5YmFiNTJhNGVhYjg4NGU3OWFjZmVh
14
- MjQ4YTFiN2E3ODhmZTE3ZTE4MzQzYjliMjA5YzU3NDg0YWZhN2I2YTRmYWU0
15
- YWUwNGQyYWFlMWNjNDFiMzBlNDNkYWRhOTdjODBiMDA1YTRlZGI=
13
+ YWUxYzE2ZDViYTUwMTA0NDA5YzJmNGI5NzljMDAxYTQwNzNmOGQ5Njc2MmRj
14
+ YWYwZmExYTdlNWVjNDlmOTc3Y2IyZjJlOTRmMTM5MGMwYjFmZTc1MDZhZjlm
15
+ OGUyOGY4NWQzMjY2YzM1YTk4OWUwMjJlY2U2Mjg3NWNkZTI1ZmE=
@@ -84,11 +84,13 @@ module SalesforceMigration
84
84
  datetime = DateTime.parse(@last_modified_date)
85
85
  rescue
86
86
  if defined? @last_modified_date == nil
87
- datetime = DateTime.now
87
+ datetime = DateTime.now - 1
88
88
  else
89
89
  raise ArgumentError, "Invalid Date", caller
90
90
  end
91
91
  end
92
+ p datetime
93
+ exit
92
94
  records.query("lastmodifieddate >= #{datetime}")
93
95
  end
94
96
  end
@@ -47,7 +47,7 @@ module SalesforceMigration
47
47
  opts.on("-m", "--send_mail", "Send activation email to every new user") do |m|
48
48
  options[:send_mail] = m
49
49
  end
50
- opts.on( '-h', '--help', 'Display this screen' ) do
50
+ opts.on("-h", "--help", "Display this screen") do
51
51
  puts opts
52
52
  exit
53
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sf_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Petkov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-12 00:00:00.000000000 Z
12
+ date: 2014-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sugarcrm_emp