freshsales 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github_changelog_generator +3 -1
- data/.gitignore +1 -0
- data/CHANGELOG.md +33 -2
- data/Gemfile.lock +10 -10
- data/Rakefile +2 -2
- data/lib/freshsales/client.rb +1 -1
- data/lib/freshsales/cursor.rb +2 -2
- data/lib/freshsales/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d66e6ff67d655304db6cdaad56957285fabda5740c12f2267663dba81e053acc
|
4
|
+
data.tar.gz: 21f8c241b4ae68902628ce4320086f81781a6df00d294caa870e344e71e84f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1067478fa01ec89eec1cf7df3b135ed63685bc0704181770d0161e96ff93586d47305ccf5a16151eca770737ba9486fcad4f1a27ac1297f111e790d67819c5f6
|
7
|
+
data.tar.gz: cc91fad6a045273d4b8eaacf71faf9cbf9aed9a292e55ae7a436983038a2c4631aa63c679a2a406ed6ab97c07499cede8790fb7deb77ea62680d6c06143a6689
|
data/.github_changelog_generator
CHANGED
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,32 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v0.0.7](https://github.com/DragonBox/freshsales/tree/v0.0.7) (2023-10-20)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.6...v0.0.7)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Increase compatibility with newer ruby version [\#16](https://github.com/DragonBox/freshsales/issues/16)
|
10
|
+
|
11
|
+
## [v0.0.6](https://github.com/DragonBox/freshsales/tree/v0.0.6) (2021-04-18)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.5...v0.0.6)
|
14
|
+
|
15
|
+
**Merged pull requests:**
|
16
|
+
|
17
|
+
- Fix dependencies - dependabot warning [\#11](https://github.com/DragonBox/freshsales/pull/11) ([lacostej](https://github.com/lacostej))
|
18
|
+
- Fix/upgrade dependencies [\#8](https://github.com/DragonBox/freshsales/pull/8) ([lacostej](https://github.com/lacostej))
|
19
|
+
|
20
|
+
## [v0.0.5](https://github.com/DragonBox/freshsales/tree/v0.0.5) (2018-10-25)
|
21
|
+
|
22
|
+
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.4...v0.0.5)
|
23
|
+
|
24
|
+
**Merged pull requests:**
|
25
|
+
|
26
|
+
- Fix typo in README [\#7](https://github.com/DragonBox/freshsales/pull/7) ([nfedyashev](https://github.com/nfedyashev))
|
2
27
|
|
3
28
|
## [v0.0.4](https://github.com/DragonBox/freshsales/tree/v0.0.4) (2018-04-11)
|
29
|
+
|
4
30
|
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.3...v0.0.4)
|
5
31
|
|
6
32
|
**Closed issues:**
|
@@ -8,9 +34,11 @@
|
|
8
34
|
- Relax dependencies [\#5](https://github.com/DragonBox/freshsales/issues/5)
|
9
35
|
|
10
36
|
## [v0.0.3](https://github.com/DragonBox/freshsales/tree/v0.0.3) (2018-04-10)
|
37
|
+
|
11
38
|
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.2...v0.0.3)
|
12
39
|
|
13
40
|
## [v0.0.2](https://github.com/DragonBox/freshsales/tree/v0.0.2) (2018-04-10)
|
41
|
+
|
14
42
|
[Full Changelog](https://github.com/DragonBox/freshsales/compare/v0.0.1...v0.0.2)
|
15
43
|
|
16
44
|
**Implemented enhancements:**
|
@@ -21,5 +49,8 @@
|
|
21
49
|
|
22
50
|
## [v0.0.1](https://github.com/DragonBox/freshsales/tree/v0.0.1) (2018-04-07)
|
23
51
|
|
52
|
+
[Full Changelog](https://github.com/DragonBox/freshsales/compare/66dfd112bbc33471f81df446f8dc3e5ff19fdfc8...v0.0.1)
|
53
|
+
|
54
|
+
|
24
55
|
|
25
|
-
\* *This
|
56
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
freshsales (0.0.
|
4
|
+
freshsales (0.0.7)
|
5
5
|
faraday (>= 0.16.0)
|
6
6
|
multi_json (>= 1.11.0)
|
7
7
|
|
@@ -13,8 +13,8 @@ GEM
|
|
13
13
|
i18n (>= 0.7, < 2)
|
14
14
|
minitest (~> 5.1)
|
15
15
|
tzinfo (~> 1.1)
|
16
|
-
addressable (2.
|
17
|
-
public_suffix (>= 2.0.2, <
|
16
|
+
addressable (2.8.5)
|
17
|
+
public_suffix (>= 2.0.2, < 6.0)
|
18
18
|
ast (2.4.2)
|
19
19
|
builder (3.2.4)
|
20
20
|
byebug (11.1.3)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
crack (0.4.5)
|
31
31
|
rexml
|
32
32
|
diff-lcs (1.4.4)
|
33
|
-
docile (1.
|
33
|
+
docile (1.4.0)
|
34
34
|
faraday (1.4.1)
|
35
35
|
faraday-excon (~> 1.1)
|
36
36
|
faraday-net_http (~> 1.0)
|
@@ -54,7 +54,7 @@ GEM
|
|
54
54
|
highline (1.7.10)
|
55
55
|
i18n (1.8.10)
|
56
56
|
concurrent-ruby (~> 1.0)
|
57
|
-
json (2.
|
57
|
+
json (2.6.3)
|
58
58
|
method_source (1.0.0)
|
59
59
|
minitest (5.14.4)
|
60
60
|
multi_json (1.15.0)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
pry-byebug (3.9.0)
|
73
73
|
byebug (~> 11.0)
|
74
74
|
pry (~> 0.13.0)
|
75
|
-
public_suffix (
|
75
|
+
public_suffix (5.0.3)
|
76
76
|
rainbow (3.0.0)
|
77
77
|
rake (13.0.3)
|
78
78
|
retriable (3.1.2)
|
@@ -113,11 +113,11 @@ GEM
|
|
113
113
|
sync (0.5.0)
|
114
114
|
term-ansicolor (1.7.1)
|
115
115
|
tins (~> 1.0)
|
116
|
-
thor (1.
|
116
|
+
thor (1.3.0)
|
117
117
|
thread_safe (0.3.6)
|
118
|
-
tins (1.
|
118
|
+
tins (1.32.1)
|
119
119
|
sync
|
120
|
-
tzinfo (1.2.
|
120
|
+
tzinfo (1.2.11)
|
121
121
|
thread_safe (~> 0.1)
|
122
122
|
unicode-display_width (1.7.0)
|
123
123
|
webmock (3.3.0)
|
@@ -143,4 +143,4 @@ DEPENDENCIES
|
|
143
143
|
webmock (~> 3.3.0)
|
144
144
|
|
145
145
|
BUNDLED WITH
|
146
|
-
2.
|
146
|
+
2.3.13
|
data/Rakefile
CHANGED
@@ -247,7 +247,7 @@ task bump: 'ensure_git_clean' do
|
|
247
247
|
UI.user_error! "Bump version stopped by user" unless UI.confirm("Next version will be #{nextversion}. Confirm?")
|
248
248
|
FreshsalesCode.version = nextversion
|
249
249
|
GithubChangelogGenerator.future_release = nextversion
|
250
|
-
sh 'rspec'
|
250
|
+
sh 'bundle exec rspec'
|
251
251
|
sh 'git add .github_changelog_generator lib/freshsales/version.rb Gemfile.lock'
|
252
252
|
sh "git commit -m 'Bump version to #{nextversion}'"
|
253
253
|
sh 'git push'
|
@@ -271,7 +271,7 @@ task :test_all do
|
|
271
271
|
formatter += ' --pattern "./spec/**/*_spec.rb"'
|
272
272
|
rspec_args = formatter
|
273
273
|
end
|
274
|
-
sh "rspec #{rspec_args}"
|
274
|
+
sh "bundle exec rspec #{rspec_args}"
|
275
275
|
end
|
276
276
|
|
277
277
|
task default: %i[rubocop test_all]
|
data/lib/freshsales/client.rb
CHANGED
data/lib/freshsales/cursor.rb
CHANGED
@@ -19,7 +19,7 @@ module Freshsales
|
|
19
19
|
(@args[:params] || {})
|
20
20
|
end
|
21
21
|
|
22
|
-
def each(start = 0)
|
22
|
+
def each(start = 0, &block)
|
23
23
|
return to_enum(:each, start) unless block_given?
|
24
24
|
|
25
25
|
Array(@collection[start..-1]).each do |element|
|
@@ -32,7 +32,7 @@ module Freshsales
|
|
32
32
|
|
33
33
|
fetch_next_page
|
34
34
|
|
35
|
-
each(start, &
|
35
|
+
each(start, &block)
|
36
36
|
end
|
37
37
|
|
38
38
|
private
|
data/lib/freshsales/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freshsales
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Lacoste
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -247,8 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: '0'
|
249
249
|
requirements: []
|
250
|
-
|
251
|
-
rubygems_version: 2.6.14
|
250
|
+
rubygems_version: 3.1.6
|
252
251
|
signing_key:
|
253
252
|
specification_version: 4
|
254
253
|
summary: Freshsales
|