highrise_assist 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f45ff55e126a63dc5559ef8bab1eb2af68989d79
4
+ data.tar.gz: 0d756ef1eb282a680319f0cee989ab6e2e4b59a9
5
+ SHA512:
6
+ metadata.gz: ae2cdd1a27136aedb11e6e7be5b3e83b91b49ee122c92a59cd6520d76dd27a2b13504917490886079cce36e12af15bea5b1ade086bbd109bd8bc12817c18c96c
7
+ data.tar.gz: 1f5405ee64edafcece91176d69954c8c9c2cf7fb09d2fc72f8c15b4bb689634eec33c5835d2a6d80d104f86dd40c01a3ae7bb312fe2793f9150326db3099b6b0
@@ -164,7 +164,11 @@ module HighriseAssist
164
164
  def casedeal_parties(casedeal)
165
165
  parties = []
166
166
  parties += casedeal.parties
167
- parties.push(casedeal.party) if casedeal.is_a?(Highrise::Deal)
167
+
168
+ if casedeal.is_a?(Highrise::Deal) and casedeal.respond_to?(:party)
169
+ parties.push(casedeal.party)
170
+ end
171
+
168
172
  parties.compact!
169
173
  parties.uniq!
170
174
  parties
@@ -184,7 +188,7 @@ module HighriseAssist
184
188
  FileUtils.mkdir_p(destination_dir)
185
189
  Dir.chdir(destination_dir) do
186
190
  log " Symlink #{source_name} to #{destination_name}"
187
- FileUtils.ln_s(source_path, source_name)
191
+ FileUtils.ln_s(source_path, source_name, :force => true)
188
192
  end
189
193
  end
190
194
 
@@ -1,3 +1,3 @@
1
1
  module HighriseAssist
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,38 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highrise_assist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andriy Yanko
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-08 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: highrise
16
- requirement: &20955460 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *20955460
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: net-http-persistent
27
- requirement: &20970620 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '2.3'
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *20970620
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.3'
36
41
  description: Assist for 37signals' highrise
37
42
  email:
38
43
  - andriy.yanko@gmail.com
@@ -41,7 +46,7 @@ executables:
41
46
  extensions: []
42
47
  extra_rdoc_files: []
43
48
  files:
44
- - .gitignore
49
+ - ".gitignore"
45
50
  - Gemfile
46
51
  - README.md
47
52
  - Rakefile
@@ -57,26 +62,25 @@ files:
57
62
  - lib/highrise_ext.rb
58
63
  homepage: https://github.com/railsware/highrise_assist
59
64
  licenses: []
65
+ metadata: {}
60
66
  post_install_message:
61
67
  rdoc_options: []
62
68
  require_paths:
63
69
  - lib
64
70
  required_ruby_version: !ruby/object:Gem::Requirement
65
- none: false
66
71
  requirements:
67
- - - ! '>='
72
+ - - ">="
68
73
  - !ruby/object:Gem::Version
69
74
  version: '0'
70
75
  required_rubygems_version: !ruby/object:Gem::Requirement
71
- none: false
72
76
  requirements:
73
- - - ! '>='
77
+ - - ">="
74
78
  - !ruby/object:Gem::Version
75
79
  version: '0'
76
80
  requirements: []
77
81
  rubyforge_project: highrise_assist
78
- rubygems_version: 1.8.15
82
+ rubygems_version: 2.2.2
79
83
  signing_key:
80
- specification_version: 3
84
+ specification_version: 4
81
85
  summary: Assist for 37signals' highrise
82
86
  test_files: []