rentvine 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +10 -4
- data/Gemfile.lock +65 -10
- data/README.md +8 -0
- data/examples/accounts.rb +3 -0
- data/examples/applications.rb +3 -0
- data/examples/associations.rb +3 -0
- data/examples/balances.rb +3 -0
- data/examples/bills.rb +3 -0
- data/examples/diagnostics.rb +3 -0
- data/examples/files.rb +3 -0
- data/examples/inspections.rb +3 -0
- data/examples/leases.rb +10 -0
- data/examples/ledgers.rb +3 -0
- data/examples/object_types.rb +3 -0
- data/examples/owners.rb +3 -0
- data/examples/portfolios.rb +3 -0
- data/examples/properties.rb +3 -0
- data/examples/tenants.rb +3 -0
- data/examples/transaction_entries.rb +3 -0
- data/examples/transactions.rb +3 -0
- data/examples/units.rb +3 -0
- data/examples/vendor_trades.rb +3 -0
- data/examples/vendors.rb +3 -0
- data/examples/work_order_statuses.rb +3 -0
- data/examples/work_orders.rb +3 -0
- data/lib/rentvine/client/leases.rb +1 -1
- data/lib/rentvine/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f64e12efafdda086983240a494aedfe2acefef651b3cdd932fbdd19681f37fba
|
4
|
+
data.tar.gz: 20fcb13e53f3f735de7f87558d798e25d1a8891def7dadca74c3f3d5c5daacba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2abdde0f7a6ddd903096789e52ec72cbf0f072fff03fe78b1c4ddc5b6f2cd2c7d65298764886c5ff0c040e41eb32979fba3b63231d9be58111463b2f7a66345
|
7
|
+
data.tar.gz: c967448d599bbd6b900ccf578359158ebd330e6f1a4cfdc230d23448038ff9129e53028640ecc305066945ecc624f2c176e0751eb49b8072496c83ecfffc58b0
|
data/.gitignore
ADDED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -5,7 +5,13 @@ source 'https://rubygems.org'
|
|
5
5
|
# Specify your gem's dependencies in buildium.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
gem '
|
11
|
-
|
8
|
+
group :development do
|
9
|
+
gem 'pry-byebug', '~> 3.10'
|
10
|
+
gem 'dotenv', '~> 3.1'
|
11
|
+
gem 'rake', '~> 13.0'
|
12
|
+
gem 'rspec', '~> 3.13'
|
13
|
+
gem 'rubocop', '~> 1.69'
|
14
|
+
gem 'simplecov', '~> 0.22'
|
15
|
+
gem 'vcr', '~> 6.3'
|
16
|
+
gem 'webmock', '~> 3.24'
|
17
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rentvine (0.3.
|
4
|
+
rentvine (0.3.1)
|
5
5
|
awrence (~> 3.0)
|
6
6
|
json (~> 2.7)
|
7
7
|
plissken (~> 3.0)
|
@@ -10,8 +10,20 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
+
addressable (2.8.7)
|
14
|
+
public_suffix (>= 2.0.2, < 7.0)
|
13
15
|
ast (2.4.2)
|
14
16
|
awrence (3.0.0)
|
17
|
+
base64 (0.2.0)
|
18
|
+
bigdecimal (3.1.8)
|
19
|
+
byebug (11.1.3)
|
20
|
+
coderay (1.1.3)
|
21
|
+
crack (1.0.0)
|
22
|
+
bigdecimal
|
23
|
+
rexml
|
24
|
+
diff-lcs (1.5.1)
|
25
|
+
docile (1.4.1)
|
26
|
+
dotenv (3.1.7)
|
15
27
|
ethon (0.16.0)
|
16
28
|
ffi (>= 1.15.0)
|
17
29
|
ffi (1.17.0)
|
@@ -25,33 +37,70 @@ GEM
|
|
25
37
|
ffi (1.17.0-x86_64-darwin)
|
26
38
|
ffi (1.17.0-x86_64-linux-gnu)
|
27
39
|
ffi (1.17.0-x86_64-linux-musl)
|
40
|
+
hashdiff (1.1.2)
|
28
41
|
json (2.7.2)
|
29
42
|
language_server-protocol (3.17.0.3)
|
43
|
+
method_source (1.1.0)
|
30
44
|
parallel (1.26.3)
|
31
|
-
parser (3.3.
|
45
|
+
parser (3.3.6.0)
|
32
46
|
ast (~> 2.4.1)
|
33
47
|
racc
|
34
48
|
plissken (3.0.0)
|
49
|
+
pry (0.14.2)
|
50
|
+
coderay (~> 1.1)
|
51
|
+
method_source (~> 1.0)
|
52
|
+
pry-byebug (3.10.1)
|
53
|
+
byebug (~> 11.0)
|
54
|
+
pry (>= 0.13, < 0.15)
|
55
|
+
public_suffix (6.0.1)
|
35
56
|
racc (1.8.1)
|
36
57
|
rainbow (3.1.1)
|
37
58
|
rake (13.2.1)
|
38
|
-
regexp_parser (2.9.
|
39
|
-
|
59
|
+
regexp_parser (2.9.3)
|
60
|
+
rexml (3.4.0)
|
61
|
+
rspec (3.13.0)
|
62
|
+
rspec-core (~> 3.13.0)
|
63
|
+
rspec-expectations (~> 3.13.0)
|
64
|
+
rspec-mocks (~> 3.13.0)
|
65
|
+
rspec-core (3.13.2)
|
66
|
+
rspec-support (~> 3.13.0)
|
67
|
+
rspec-expectations (3.13.3)
|
68
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
+
rspec-support (~> 3.13.0)
|
70
|
+
rspec-mocks (3.13.2)
|
71
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
+
rspec-support (~> 3.13.0)
|
73
|
+
rspec-support (3.13.2)
|
74
|
+
rubocop (1.69.2)
|
40
75
|
json (~> 2.3)
|
41
76
|
language_server-protocol (>= 3.17.0)
|
42
77
|
parallel (~> 1.10)
|
43
78
|
parser (>= 3.3.0.2)
|
44
79
|
rainbow (>= 2.2.2, < 4.0)
|
45
|
-
regexp_parser (>= 2.
|
46
|
-
rubocop-ast (>= 1.
|
80
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
81
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
47
82
|
ruby-progressbar (~> 1.7)
|
48
|
-
unicode-display_width (>= 2.4.0, <
|
49
|
-
rubocop-ast (1.
|
83
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
84
|
+
rubocop-ast (1.37.0)
|
50
85
|
parser (>= 3.3.1.0)
|
51
86
|
ruby-progressbar (1.13.0)
|
87
|
+
simplecov (0.22.0)
|
88
|
+
docile (~> 1.1)
|
89
|
+
simplecov-html (~> 0.11)
|
90
|
+
simplecov_json_formatter (~> 0.1)
|
91
|
+
simplecov-html (0.13.1)
|
92
|
+
simplecov_json_formatter (0.1.4)
|
52
93
|
typhoeus (1.4.1)
|
53
94
|
ethon (>= 0.9.0)
|
54
|
-
unicode-display_width (
|
95
|
+
unicode-display_width (3.1.2)
|
96
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
97
|
+
unicode-emoji (4.0.4)
|
98
|
+
vcr (6.3.1)
|
99
|
+
base64
|
100
|
+
webmock (3.24.0)
|
101
|
+
addressable (>= 2.8.0)
|
102
|
+
crack (>= 0.3.2)
|
103
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
55
104
|
|
56
105
|
PLATFORMS
|
57
106
|
aarch64-linux-gnu
|
@@ -67,9 +116,15 @@ PLATFORMS
|
|
67
116
|
x86_64-linux-musl
|
68
117
|
|
69
118
|
DEPENDENCIES
|
119
|
+
dotenv (~> 3.1)
|
120
|
+
pry-byebug (~> 3.10)
|
70
121
|
rake (~> 13.0)
|
71
122
|
rentvine!
|
72
|
-
|
123
|
+
rspec (~> 3.13)
|
124
|
+
rubocop (~> 1.69)
|
125
|
+
simplecov (~> 0.22)
|
126
|
+
vcr (~> 6.3)
|
127
|
+
webmock (~> 3.24)
|
73
128
|
|
74
129
|
BUNDLED WITH
|
75
130
|
2.5.18
|
data/README.md
CHANGED
@@ -24,6 +24,14 @@ TODO: Write usage instructions here
|
|
24
24
|
|
25
25
|
## Development
|
26
26
|
|
27
|
+
You will need to add a .env file to the root of the project with the following variables:
|
28
|
+
|
29
|
+
```
|
30
|
+
RENTVINE_ACCOUNT_CODE=your_account_code
|
31
|
+
RENTVINE_API_KEY=your_api_key
|
32
|
+
RENTVINE_API_SECRET=your_api_secret
|
33
|
+
```
|
34
|
+
|
27
35
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
28
36
|
|
29
37
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
data/examples/accounts.rb
CHANGED
data/examples/applications.rb
CHANGED
data/examples/associations.rb
CHANGED
data/examples/balances.rb
CHANGED
data/examples/bills.rb
CHANGED
data/examples/diagnostics.rb
CHANGED
data/examples/files.rb
CHANGED
data/examples/inspections.rb
CHANGED
data/examples/leases.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require 'pry-byebug'
|
2
|
+
require 'dotenv'
|
2
3
|
require_relative '../lib/rentvine'
|
3
4
|
|
5
|
+
Dotenv.load('../.env')
|
6
|
+
|
4
7
|
auth = {
|
5
8
|
account_code: ENV['RENTVINE_ACCOUNT_CODE'],
|
6
9
|
api_key: ENV['RENTVINE_API_KEY'],
|
@@ -21,3 +24,10 @@ end
|
|
21
24
|
lease_id = 7
|
22
25
|
rv_obj = rv_client.lease(lease_id)
|
23
26
|
puts rv_obj.address
|
27
|
+
|
28
|
+
===========================
|
29
|
+
|
30
|
+
rv_client.export_leases.each do |lease|
|
31
|
+
binding.pry
|
32
|
+
adsf=3
|
33
|
+
end
|
data/examples/ledgers.rb
CHANGED
data/examples/object_types.rb
CHANGED
data/examples/owners.rb
CHANGED
data/examples/portfolios.rb
CHANGED
data/examples/properties.rb
CHANGED
data/examples/tenants.rb
CHANGED
data/examples/transactions.rb
CHANGED
data/examples/units.rb
CHANGED
data/examples/vendor_trades.rb
CHANGED
data/examples/vendors.rb
CHANGED
data/examples/work_orders.rb
CHANGED
data/lib/rentvine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rentvine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wes Hays
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -74,6 +74,7 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
+
- ".gitignore"
|
77
78
|
- ".rspec"
|
78
79
|
- ".rubocop.yml"
|
79
80
|
- ".ruby-gemset"
|