freshsales 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d54635b139964c033e9532c4b1974e7fa293e74c
4
- data.tar.gz: b4d785ec4f4231c9790b875dd26ad190127fcde0
3
+ metadata.gz: 67c9817c0617a6ee3f16a69c72e0af9fbf6b1a37
4
+ data.tar.gz: f084907f2a605712069f8f24d379ba8c5dcee7f7
5
5
  SHA512:
6
- metadata.gz: 0fb676c8e26e2f2d3a8ad4cbe2791b6d8921ef73f92599fd6ff36a5d77eb98b7cb9eb25d596e9ec6aac6837f99f5b3ff5f2e086abe17198d89b868333d94a885
7
- data.tar.gz: 92bab7498a879736d76417dcc71083c8ab68fe9958be9a3a9c9f884def51da56007f375913f180d23a965ba614c841afb8a0df055a8e1fce223d16a5ebd68283
6
+ metadata.gz: 3dcb15b5c1061e54ebabc2f6e43e193055ef729e8f009423ea083fff9c8c77bb19991fa48aa7e05c086c7f357b5659c0f6c857dcd94718ace2169596ff22f2c5
7
+ data.tar.gz: ab2381a0b28bde81dcac3ec7029b65bb288db4c29204d963acb4046256af80a791939654d210f8421e0f35ebeda6fcd505b8f3e93eaf10593272457ffa544257
@@ -1,2 +1,2 @@
1
- future-release=v0.0.2
1
+ future-release=v0.0.3
2
2
  exclude-labels=nochangelog,question
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freshsales (0.0.2)
4
+ freshsales (0.0.3)
5
5
  faraday (~> 0.9.1)
6
6
  multi_json (~> 1.11.0)
7
7
 
data/Rakefile CHANGED
@@ -28,7 +28,7 @@ require 'logger'
28
28
  require 'colored'
29
29
  require 'highline/import'
30
30
  module UI
31
- # raised from crash!
31
+ # raised from crash!
32
32
  class UICrash < StandardError
33
33
  end
34
34
 
@@ -66,10 +66,10 @@ module UI
66
66
 
67
67
  def format_string(datetime = Time.now, severity = "")
68
68
  timestamp ||= if verbose?
69
- '%Y-%m-%d %H:%M:%S.%2N'
70
- else
71
- '%H:%M:%S'
72
- end
69
+ '%Y-%m-%d %H:%M:%S.%2N'
70
+ else
71
+ '%H:%M:%S'
72
+ end
73
73
  s = []
74
74
  s << "#{severity} " if verbose? && severity && !severity.empty?
75
75
  s << "[#{datetime.strftime(timestamp)}] " if timestamp
@@ -82,7 +82,7 @@ module UI
82
82
  end
83
83
 
84
84
  def user_error!(message)
85
- raise StandardError.new(message.to_s.red)
85
+ raise StandardError, message.to_s.red
86
86
  end
87
87
 
88
88
  def input(message)
@@ -27,16 +27,14 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  # Development only
29
29
  spec.add_development_dependency "bundler", "~> 1.13"
30
+ spec.add_development_dependency "colored", '>= 1.2', '< 2.0.0'
30
31
  spec.add_development_dependency "coveralls"
31
32
  spec.add_development_dependency "github_changelog_generator"
33
+ spec.add_development_dependency "highline", "~> 1.7.10"
32
34
  spec.add_development_dependency "pry-byebug"
33
35
  spec.add_development_dependency "rake", "~> 10.0"
34
36
  spec.add_development_dependency "rspec", "~> 3.1.0"
35
37
  spec.add_development_dependency 'rspec_junit_formatter', '~> 0.2.3'
36
38
  spec.add_development_dependency 'rubocop', '~> 0.52.1'
37
39
  spec.add_development_dependency "webmock", "~> 3.3.0"
38
- spec.add_development_dependency "colored", '>= 1.2', '< 2.0.0'
39
- spec.add_development_dependency "highline", "~> 1.7.10"
40
-
41
-
42
40
  end
@@ -1,3 +1,3 @@
1
1
  module Freshsales
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshsales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Lacoste
@@ -52,6 +52,26 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.13'
55
+ - !ruby/object:Gem::Dependency
56
+ name: colored
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: 2.0.0
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '1.2'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.0
55
75
  - !ruby/object:Gem::Dependency
56
76
  name: coveralls
57
77
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +100,20 @@ dependencies:
80
100
  - - ">="
81
101
  - !ruby/object:Gem::Version
82
102
  version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: highline
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 1.7.10
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: 1.7.10
83
117
  - !ruby/object:Gem::Dependency
84
118
  name: pry-byebug
85
119
  requirement: !ruby/object:Gem::Requirement
@@ -164,40 +198,6 @@ dependencies:
164
198
  - - "~>"
165
199
  - !ruby/object:Gem::Version
166
200
  version: 3.3.0
167
- - !ruby/object:Gem::Dependency
168
- name: colored
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '1.2'
174
- - - "<"
175
- - !ruby/object:Gem::Version
176
- version: 2.0.0
177
- type: :development
178
- prerelease: false
179
- version_requirements: !ruby/object:Gem::Requirement
180
- requirements:
181
- - - ">="
182
- - !ruby/object:Gem::Version
183
- version: '1.2'
184
- - - "<"
185
- - !ruby/object:Gem::Version
186
- version: 2.0.0
187
- - !ruby/object:Gem::Dependency
188
- name: highline
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: 1.7.10
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: 1.7.10
201
201
  description: A wrapper for Freshsales API
202
202
  email: jerome@wewanttoknow.com
203
203
  executables: []