acumatica 0.3.0 → 0.4.0

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
- SHA1:
3
- metadata.gz: cb833db217b873db5acfe1406fb696fed3b13f02
4
- data.tar.gz: ec61b48049ffed6c554e86683ccacc50a7b21e3b
2
+ SHA256:
3
+ metadata.gz: 2695cf1c82bb20ed0bea59a2c768dca14e86d0bfcf4cd3b94cede1c39b11ec97
4
+ data.tar.gz: 57d2657b1ad9aaa680e4d31671dffdf62cd5e50d2e2a6a2edb6baf2a22b6085d
5
5
  SHA512:
6
- metadata.gz: 3866b4fa45d5371be35b3d3f78540d427a267903f6abf1b78152038f8389d8561f7f1e84d4821113bab9ee291488e315153318c85a51869b126e3d4e213dd567
7
- data.tar.gz: 426d44d2311dda2c8cbddd3c27c017267a81595cb2c60927dc29076241a70d9a89ed5f5832e084d1feaa448664f1b5fb42cddecadd274edd9f155d3696bf8a2a
6
+ metadata.gz: 7f541135493a4de771222eadb61f867ab51b4aaa8f3d8fd65f0f9095a222787b568926468c5e6a2783c591d37df5abf09a6c3dfaa4cc01eef6db0c36e3fe037e
7
+ data.tar.gz: e48e19fcfe339d8eb67590b628cb6d4640ee35410702cd8f16737e2ef5e4fd647b9e9dcbaf5df2621bad686055ef98f8474dabe97c4aed7065959f40f7485ecd
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /_yardoc/
8
8
  /coverage/
9
9
  /doc/
10
+ /Gemfile.lock
10
11
  /pkg/
11
12
  /spec/reports/
12
13
  /tmp/
@@ -5,7 +5,6 @@ require: rubocop-rspec
5
5
  AllCops:
6
6
  TargetRubyVersion: 2.4
7
7
 
8
-
9
8
  Metrics/BlockLength:
10
9
  Exclude:
11
10
  - acumatica.gemspec
@@ -1,9 +1,9 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.2
5
- - 2.3
6
4
  - 2.4
5
+ - 2.5
6
+ - 2.6
7
7
 
8
8
  env:
9
9
  - ACUMATICA_URL=https://acumatica.example.org
data/Guardfile CHANGED
@@ -14,3 +14,8 @@ guard :rspec, cmd: "bin/rspec" do
14
14
  ruby = dsl.ruby
15
15
  dsl.watch_spec_files_for(ruby.lib_files)
16
16
  end
17
+
18
+ guard :rubocop do
19
+ watch(/.+\.rb$/)
20
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
21
+ end
@@ -1,4 +1,3 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
3
  lib = File.expand_path('lib', __dir__)
@@ -23,14 +22,18 @@ Gem::Specification.new do |spec|
23
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
23
  spec.require_paths = ["lib"]
25
24
 
26
- spec.add_development_dependency "bundler", "~> 1.16"
25
+ spec.required_ruby_version = '>= 2.4.0'
26
+
27
+ spec.add_development_dependency "bundler"
27
28
  spec.add_development_dependency "byebug"
28
29
  spec.add_development_dependency "dotenv"
29
30
  spec.add_development_dependency "guard-rspec"
31
+ spec.add_development_dependency "guard-rubocop"
30
32
  spec.add_development_dependency "rake", "~> 10.0"
31
33
  spec.add_development_dependency "rspec", "~> 3.7.0"
32
- spec.add_development_dependency "rubocop", "~> 0.55.0"
33
- spec.add_development_dependency 'rubocop-rspec'
34
+ spec.add_development_dependency "rubocop", "~> 0.68.0"
35
+ spec.add_development_dependency "rubocop-performance", "~> 1.1.0"
36
+ spec.add_development_dependency "rubocop-rspec", "~> 1.32.0"
34
37
  spec.add_development_dependency "vcr"
35
38
  spec.add_development_dependency "webmock"
36
39
 
@@ -2,7 +2,11 @@
2
2
 
3
3
  require "active_support/core_ext/string/inflections"
4
4
  require "active_support/core_ext/hash/keys"
5
- require "active_support/core_ext/hash/transform_values"
5
+
6
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0')
7
+ require "active_support/core_ext/hash/transform_values"
8
+ end
9
+
6
10
  require "ostruct"
7
11
 
8
12
  module Acumatica
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Acumatica
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acumatica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Moody
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-27 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rake
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,28 +114,42 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 0.55.0
117
+ version: 0.68.0
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 0.55.0
124
+ version: 0.68.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.1.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.1.0
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rubocop-rspec
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - ">="
143
+ - - "~>"
116
144
  - !ruby/object:Gem::Version
117
- version: '0'
145
+ version: 1.32.0
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - ">="
150
+ - - "~>"
123
151
  - !ruby/object:Gem::Version
124
- version: '0'
152
+ version: 1.32.0
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: vcr
127
155
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +262,6 @@ files:
234
262
  - ".travis.yml"
235
263
  - CODE_OF_CONDUCT.md
236
264
  - Gemfile
237
- - Gemfile.lock
238
265
  - Guardfile
239
266
  - LICENSE.txt
240
267
  - README.md
@@ -264,7 +291,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
291
  requirements:
265
292
  - - ">="
266
293
  - !ruby/object:Gem::Version
267
- version: '0'
294
+ version: 2.4.0
268
295
  required_rubygems_version: !ruby/object:Gem::Requirement
269
296
  requirements:
270
297
  - - ">="
@@ -272,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
299
  version: '0'
273
300
  requirements: []
274
301
  rubyforge_project:
275
- rubygems_version: 2.5.2.2
302
+ rubygems_version: 2.7.9
276
303
  signing_key:
277
304
  specification_version: 4
278
305
  summary: A wrapper for the acumatica API
@@ -1,142 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- acumatica (0.3.0)
5
- activesupport
6
- faraday
7
- faraday-cookie_jar
8
- faraday_middleware
9
- json
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- activesupport (5.2.0)
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
16
- i18n (>= 0.7, < 2)
17
- minitest (~> 5.1)
18
- tzinfo (~> 1.1)
19
- addressable (2.5.2)
20
- public_suffix (>= 2.0.2, < 4.0)
21
- ast (2.4.0)
22
- byebug (10.0.0)
23
- coderay (1.1.2)
24
- concurrent-ruby (1.0.5)
25
- crack (0.4.3)
26
- safe_yaml (~> 1.0.0)
27
- diff-lcs (1.3)
28
- domain_name (0.5.20180417)
29
- unf (>= 0.0.5, < 1.0.0)
30
- dotenv (2.2.2)
31
- faraday (0.15.0)
32
- multipart-post (>= 1.2, < 3)
33
- faraday-cookie_jar (0.0.6)
34
- faraday (>= 0.7.4)
35
- http-cookie (~> 1.0.0)
36
- faraday_middleware (0.12.2)
37
- faraday (>= 0.7.4, < 1.0)
38
- ffi (1.9.23)
39
- formatador (0.2.5)
40
- guard (2.14.2)
41
- formatador (>= 0.2.4)
42
- listen (>= 2.7, < 4.0)
43
- lumberjack (>= 1.0.12, < 2.0)
44
- nenv (~> 0.1)
45
- notiffany (~> 0.0)
46
- pry (>= 0.9.12)
47
- shellany (~> 0.0)
48
- thor (>= 0.18.1)
49
- guard-compat (1.2.1)
50
- guard-rspec (4.7.3)
51
- guard (~> 2.1)
52
- guard-compat (~> 1.1)
53
- rspec (>= 2.99.0, < 4.0)
54
- hashdiff (0.3.7)
55
- http-cookie (1.0.3)
56
- domain_name (~> 0.5)
57
- i18n (1.0.1)
58
- concurrent-ruby (~> 1.0)
59
- json (2.1.0)
60
- listen (3.1.5)
61
- rb-fsevent (~> 0.9, >= 0.9.4)
62
- rb-inotify (~> 0.9, >= 0.9.7)
63
- ruby_dep (~> 1.2)
64
- lumberjack (1.0.13)
65
- method_source (0.9.0)
66
- minitest (5.11.3)
67
- multipart-post (2.0.0)
68
- nenv (0.3.0)
69
- notiffany (0.1.1)
70
- nenv (~> 0.1)
71
- shellany (~> 0.0)
72
- parallel (1.12.1)
73
- parser (2.5.1.0)
74
- ast (~> 2.4.0)
75
- powerpack (0.1.1)
76
- pry (0.11.3)
77
- coderay (~> 1.1.0)
78
- method_source (~> 0.9.0)
79
- public_suffix (3.0.2)
80
- rainbow (3.0.0)
81
- rake (10.5.0)
82
- rb-fsevent (0.10.3)
83
- rb-inotify (0.9.10)
84
- ffi (>= 0.5.0, < 2)
85
- rspec (3.7.0)
86
- rspec-core (~> 3.7.0)
87
- rspec-expectations (~> 3.7.0)
88
- rspec-mocks (~> 3.7.0)
89
- rspec-core (3.7.1)
90
- rspec-support (~> 3.7.0)
91
- rspec-expectations (3.7.0)
92
- diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.7.0)
94
- rspec-mocks (3.7.0)
95
- diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (~> 3.7.0)
97
- rspec-support (3.7.1)
98
- rubocop (0.55.0)
99
- parallel (~> 1.10)
100
- parser (>= 2.5)
101
- powerpack (~> 0.1)
102
- rainbow (>= 2.2.2, < 4.0)
103
- ruby-progressbar (~> 1.7)
104
- unicode-display_width (~> 1.0, >= 1.0.1)
105
- rubocop-rspec (1.25.1)
106
- rubocop (>= 0.53.0)
107
- ruby-progressbar (1.9.0)
108
- ruby_dep (1.5.0)
109
- safe_yaml (1.0.4)
110
- shellany (0.0.1)
111
- thor (0.20.0)
112
- thread_safe (0.3.6)
113
- tzinfo (1.2.5)
114
- thread_safe (~> 0.1)
115
- unf (0.1.4)
116
- unf_ext
117
- unf_ext (0.0.7.5)
118
- unicode-display_width (1.3.2)
119
- vcr (4.0.0)
120
- webmock (3.3.0)
121
- addressable (>= 2.3.6)
122
- crack (>= 0.3.2)
123
- hashdiff
124
-
125
- PLATFORMS
126
- ruby
127
-
128
- DEPENDENCIES
129
- acumatica!
130
- bundler (~> 1.16)
131
- byebug
132
- dotenv
133
- guard-rspec
134
- rake (~> 10.0)
135
- rspec (~> 3.7.0)
136
- rubocop (~> 0.55.0)
137
- rubocop-rspec
138
- vcr
139
- webmock
140
-
141
- BUNDLED WITH
142
- 1.16.1