easy-jsonapi 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 298f88b20aaa28eb454462307efff708596debb01ac01ced51cbee2ad9dee062
4
- data.tar.gz: d929641bc947432eae3fee0cdd807809ea72c68dfca3668552041f58959637f3
3
+ metadata.gz: 58524642bfadfab332d3cfa3cfc41be2374dbda4e7457af35db760cefbf1e0fb
4
+ data.tar.gz: c4ca6801f2223b56c08e6dfeecf7cc066d7a2e7a559992106dac33debdb35540
5
5
  SHA512:
6
- metadata.gz: befec3d31260ef314f461e6c8c0b59219d0bad1bcad2083412d1d6731253e8cd5bb35f555aa30f6336dfb56461a742cecf92b4b8a9c57f57f7928586455697f1
7
- data.tar.gz: ba0925a2372ccfeecc478803bb19219b9074e633e1166a77c54a7a581376b13867f62e88be16a8f617cf3587a1410e32961ed9e01ba966669535b8a0aa18d7a9
6
+ metadata.gz: ae67a74adb9e442b4b60d9d75a9d168dd9e5bef8ceb9391dcf414d57125e14915a1030f4d85d85a7001312457f0d3934c833e6fddf30e56a78e4c4ae97642dfc
7
+ data.tar.gz: 23066e22c16d571b639b6b5b1c687259de62f5c7fa090108b79705d8b66edda0e39a2fcb2951b15c45084ba5524164fc9c5780b29ef6a8d36d40264780023785
data/.dockerignore ADDED
@@ -0,0 +1,7 @@
1
+ .vscode
2
+ .gitignore
3
+ .rspec
4
+ .rspec_status
5
+ .solargraph.yml
6
+ .travis.yml
7
+ *.md
@@ -1,41 +1,35 @@
1
1
  name: Test Build and Publish
2
-
3
2
  on:
4
3
  push:
5
- branches: [ master ]
4
+ branches: [ production ]
6
5
  pull_request:
7
- branches: [ master ]
6
+ branches: [ production ]
8
7
  jobs:
9
8
  test:
10
-
11
9
  runs-on: ubuntu-latest
12
10
  strategy:
13
11
  matrix:
14
- ruby-version: ['2.7', '3.0']
15
-
12
+ ruby-version: ['2.5', '2.6', '2.7', '3.0']
16
13
  steps:
17
14
  - uses: actions/checkout@v2
18
15
  - name: Set up Ruby
19
16
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
17
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
- # uses: ruby/setup-ruby@v1
22
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
18
+ uses: ruby/setup-ruby@v1
23
19
  with:
24
20
  ruby-version: ${{ matrix.ruby-version }}
25
21
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
22
  - name: Run tests
27
23
  run: bundle exec rake
28
- build:
29
- name: Build + Publish
24
+ build_and_publish:
25
+ name: Build + Publish + Release
30
26
  runs-on: ubuntu-latest
31
-
32
27
  steps:
33
28
  - uses: actions/checkout@v2
34
29
  - name: Set up Ruby 3.0
35
30
  uses: actions/setup-ruby@v1
36
31
  with:
37
32
  ruby-version: 3.0.x
38
-
39
33
  - name: Publish to GPR
40
34
  run: |
41
35
  mkdir -p $HOME/.gem
@@ -47,7 +41,7 @@ jobs:
47
41
  env:
48
42
  GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
49
43
  OWNER: ${{ github.repository_owner }}
50
-
44
+
51
45
  - name: Publish to RubyGems
52
46
  run: |
53
47
  mkdir -p $HOME/.gem
@@ -58,3 +52,23 @@ jobs:
58
52
  gem push *.gem
59
53
  env:
60
54
  GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
55
+ release:
56
+ name: Create Release
57
+ runs-on: ubuntu-latest
58
+ steps:
59
+ - name: Checkout code
60
+ uses: actions/checkout@v2
61
+ - name: Create Release
62
+ id: create_release
63
+ uses: actions/create-release@v1
64
+ env:
65
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
66
+ with:
67
+ tag_name: ${{ github.ref }}
68
+ release_name: Release ${{ github.ref }}
69
+ body: |
70
+ Changes in this Release
71
+ - First Change
72
+ - Second Change
73
+ draft: false
74
+ prerelease: false
data/.gitignore ADDED
@@ -0,0 +1,37 @@
1
+ *.gem
2
+ /doc/
3
+ *.rbc
4
+ /.config
5
+ /coverage/
6
+ /InstalledFiles
7
+ /pkg/
8
+ /tmp/
9
+
10
+ # Used by dotenv library to load environment variables.
11
+ # .env
12
+
13
+ ## Documentation cache and generated files:
14
+ /.yardoc/
15
+ /_yardoc/
16
+
17
+ ## Environment normalization:
18
+ /.bundle/
19
+ /vendor/bundle
20
+ /lib/bundler/man/
21
+
22
+ # for a library or gem, you might want to ignore these files since the code is
23
+ # intended to run in multiple environments; otherwise, check them in:
24
+ # Gemfile.lock
25
+ # .ruby-version
26
+ # .ruby-gemset
27
+
28
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
29
+ .rvmrc
30
+
31
+ # /bin/
32
+
33
+ # for vscode
34
+ /.vscode/
35
+
36
+ .solargraph.yml
37
+ .DS_Store
data/.rspec_status ADDED
@@ -0,0 +1,520 @@
1
+ example_id | status | run_time |
2
+ -------------------------------------------------------------------------- | ------ | --------------- |
3
+ ./spec/collection_spec.rb[1:1:1:1] | passed | 0.00092 seconds |
4
+ ./spec/collection_spec.rb[1:1:1:2] | passed | 0.00012 seconds |
5
+ ./spec/collection_spec.rb[1:1:2:1] | passed | 0.00082 seconds |
6
+ ./spec/collection_spec.rb[1:1:3:1] | passed | 0.00012 seconds |
7
+ ./spec/collection_spec.rb[1:1:3:2] | passed | 0.00014 seconds |
8
+ ./spec/collection_spec.rb[1:1:4:1] | passed | 0.00008 seconds |
9
+ ./spec/collection_spec.rb[1:1:4:2] | passed | 0.00008 seconds |
10
+ ./spec/collection_spec.rb[1:1:4:3] | passed | 0.00207 seconds |
11
+ ./spec/collection_spec.rb[1:1:5:1:1] | passed | 0.00011 seconds |
12
+ ./spec/collection_spec.rb[1:1:5:1:2] | passed | 0.00027 seconds |
13
+ ./spec/collection_spec.rb[1:1:5:1:3] | passed | 0.00022 seconds |
14
+ ./spec/collection_spec.rb[1:1:5:1:4] | passed | 0.00018 seconds |
15
+ ./spec/collection_spec.rb[1:1:6:1] | passed | 0.00011 seconds |
16
+ ./spec/collection_spec.rb[1:1:6:2] | passed | 0.00018 seconds |
17
+ ./spec/collection_spec.rb[1:1:7:1] | passed | 0.00033 seconds |
18
+ ./spec/collection_spec.rb[1:1:7:2] | passed | 0.00021 seconds |
19
+ ./spec/collection_spec.rb[1:1:7:3] | passed | 0.00012 seconds |
20
+ ./spec/collection_spec.rb[1:1:8:1] | passed | 0.0001 seconds |
21
+ ./spec/collection_spec.rb[1:1:8:2] | passed | 0.00011 seconds |
22
+ ./spec/collection_spec.rb[1:1:9:1] | passed | 0.00009 seconds |
23
+ ./spec/collection_spec.rb[1:1:10:1] | passed | 0.00015 seconds |
24
+ ./spec/collection_spec.rb[1:1:11:1] | passed | 0.00014 seconds |
25
+ ./spec/collection_spec.rb[1:1:12:1] | passed | 0.00015 seconds |
26
+ ./spec/collection_spec.rb[1:2:1] | passed | 0.00011 seconds |
27
+ ./spec/config_manager/config_spec.rb[1:1:1] | passed | 0.00012 seconds |
28
+ ./spec/config_manager/config_spec.rb[1:2:1] | passed | 0.00013 seconds |
29
+ ./spec/config_manager/config_spec.rb[1:2:2] | passed | 0.0001 seconds |
30
+ ./spec/config_manager_spec.rb[1:1:1] | passed | 0.00011 seconds |
31
+ ./spec/config_manager_spec.rb[1:2:1:1] | passed | 0.00011 seconds |
32
+ ./spec/config_manager_spec.rb[1:2:1:2] | passed | 0.00013 seconds |
33
+ ./spec/config_manager_spec.rb[1:2:1:3] | passed | 0.00009 seconds |
34
+ ./spec/config_manager_spec.rb[1:2:1:4] | passed | 0.00014 seconds |
35
+ ./spec/config_manager_spec.rb[1:3:1] | passed | 0.00007 seconds |
36
+ ./spec/config_manager_spec.rb[1:3:2] | passed | 0.00013 seconds |
37
+ ./spec/config_manager_spec.rb[1:3:3] | passed | 0.00007 seconds |
38
+ ./spec/config_manager_spec.rb[1:4:1] | passed | 0.0001 seconds |
39
+ ./spec/config_manager_spec.rb[1:4:2] | passed | 0.00014 seconds |
40
+ ./spec/config_manager_spec.rb[1:5:1] | passed | 0.00017 seconds |
41
+ ./spec/config_manager_spec.rb[1:5:2] | passed | 0.00013 seconds |
42
+ ./spec/config_manager_spec.rb[1:5:3] | passed | 0.00012 seconds |
43
+ ./spec/config_manager_spec.rb[1:6:1] | passed | 0.00015 seconds |
44
+ ./spec/config_manager_spec.rb[1:6:2] | passed | 0.00015 seconds |
45
+ ./spec/config_manager_spec.rb[1:7:1] | passed | 0.00022 seconds |
46
+ ./spec/config_manager_spec.rb[1:7:2] | passed | 0.00013 seconds |
47
+ ./spec/config_manager_spec.rb[1:8:1] | passed | 0.00016 seconds |
48
+ ./spec/config_manager_spec.rb[1:8:2] | passed | 0.00023 seconds |
49
+ ./spec/config_manager_spec.rb[1:8:3] | passed | 0.0001 seconds |
50
+ ./spec/config_manager_spec.rb[1:9:1] | passed | 0.00122 seconds |
51
+ ./spec/config_manager_spec.rb[1:9:2] | passed | 0.00008 seconds |
52
+ ./spec/config_manager_spec.rb[1:9:3] | passed | 0.00007 seconds |
53
+ ./spec/config_manager_spec.rb[1:10:1] | passed | 0.00009 seconds |
54
+ ./spec/config_manager_spec.rb[1:11:1] | passed | 0.0001 seconds |
55
+ ./spec/config_manager_spec.rb[1:12:1] | passed | 0.00007 seconds |
56
+ ./spec/document/error/error_member_spec.rb[1:1:1:1:1] | passed | 0.00008 seconds |
57
+ ./spec/document/error/error_member_spec.rb[1:1:1:2:1] | passed | 0.0001 seconds |
58
+ ./spec/document/error/error_member_spec.rb[1:1:1:2:2] | passed | 0.00079 seconds |
59
+ ./spec/document/error/error_member_spec.rb[1:1:1:3:1] | passed | 0.00012 seconds |
60
+ ./spec/document/error/error_member_spec.rb[1:1:1:3:2] | passed | 0.00013 seconds |
61
+ ./spec/document/error/error_member_spec.rb[1:1:1:4:1] | passed | 0.00087 seconds |
62
+ ./spec/document/error/error_member_spec.rb[1:1:2] | passed | 0.00014 seconds |
63
+ ./spec/document/error_spec.rb[1:1:1:1:1] | passed | 0.0001 seconds |
64
+ ./spec/document/error_spec.rb[1:1:1:1:2] | passed | 0.00011 seconds |
65
+ ./spec/document/error_spec.rb[1:1:1:2:1] | passed | 0.00014 seconds |
66
+ ./spec/document/error_spec.rb[1:1:1:3:1] | passed | 0.0001 seconds |
67
+ ./spec/document/error_spec.rb[1:1:1:3:2] | passed | 0.0001 seconds |
68
+ ./spec/document/error_spec.rb[1:1:1:4:1] | passed | 0.00156 seconds |
69
+ ./spec/document/error_spec.rb[1:1:1:4:2] | passed | 0.00017 seconds |
70
+ ./spec/document/error_spec.rb[1:1:1:4:3] | passed | 0.00016 seconds |
71
+ ./spec/document/error_spec.rb[1:1:1:5:1:1] | passed | 0.00016 seconds |
72
+ ./spec/document/error_spec.rb[1:1:1:5:1:2] | passed | 0.00014 seconds |
73
+ ./spec/document/error_spec.rb[1:1:1:5:1:3] | passed | 0.00012 seconds |
74
+ ./spec/document/error_spec.rb[1:1:1:5:1:4] | passed | 0.00008 seconds |
75
+ ./spec/document/error_spec.rb[1:1:1:6:1] | passed | 0.00017 seconds |
76
+ ./spec/document/error_spec.rb[1:1:1:6:2] | passed | 0.00141 seconds |
77
+ ./spec/document/error_spec.rb[1:1:1:7:1] | passed | 0.0001 seconds |
78
+ ./spec/document/error_spec.rb[1:1:1:7:2] | passed | 0.00009 seconds |
79
+ ./spec/document/error_spec.rb[1:1:1:7:3] | passed | 0.00011 seconds |
80
+ ./spec/document/error_spec.rb[1:1:1:8:1] | passed | 0.00015 seconds |
81
+ ./spec/document/error_spec.rb[1:1:1:8:2] | passed | 0.00011 seconds |
82
+ ./spec/document/error_spec.rb[1:1:1:9:1] | passed | 0.0001 seconds |
83
+ ./spec/document/error_spec.rb[1:1:1:10:1] | passed | 0.00009 seconds |
84
+ ./spec/document/error_spec.rb[1:1:1:11:1] | passed | 0.00015 seconds |
85
+ ./spec/document/error_spec.rb[1:1:1:12:1] | passed | 0.00016 seconds |
86
+ ./spec/document/error_spec.rb[1:1:2:1] | passed | 0.00013 seconds |
87
+ ./spec/document/error_spec.rb[1:2:1] | passed | 0.00009 seconds |
88
+ ./spec/document/error_spec.rb[1:2:2] | passed | 0.0001 seconds |
89
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:1:1] | passed | 0.00012 seconds |
90
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:2:1] | passed | 0.00012 seconds |
91
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:2:2] | passed | 0.00106 seconds |
92
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:3:1] | passed | 0.0002 seconds |
93
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:3:2] | passed | 0.00016 seconds |
94
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:1:4:1] | passed | 0.00024 seconds |
95
+ ./spec/document/jsonapi/jsonapi_member_spec.rb[1:1:2] | passed | 0.0001 seconds |
96
+ ./spec/document/jsonapi_spec.rb[1:1:1:1:1] | passed | 0.00014 seconds |
97
+ ./spec/document/jsonapi_spec.rb[1:1:1:1:2] | passed | 0.00019 seconds |
98
+ ./spec/document/jsonapi_spec.rb[1:1:1:2:1] | passed | 0.00017 seconds |
99
+ ./spec/document/jsonapi_spec.rb[1:1:1:3:1] | passed | 0.00048 seconds |
100
+ ./spec/document/jsonapi_spec.rb[1:1:1:3:2] | passed | 0.00022 seconds |
101
+ ./spec/document/jsonapi_spec.rb[1:1:1:4:1] | passed | 0.00042 seconds |
102
+ ./spec/document/jsonapi_spec.rb[1:1:1:4:2] | passed | 0.00019 seconds |
103
+ ./spec/document/jsonapi_spec.rb[1:1:1:4:3] | passed | 0.00048 seconds |
104
+ ./spec/document/jsonapi_spec.rb[1:1:1:5:1:1] | passed | 0.00017 seconds |
105
+ ./spec/document/jsonapi_spec.rb[1:1:1:5:1:2] | passed | 0.00015 seconds |
106
+ ./spec/document/jsonapi_spec.rb[1:1:1:5:1:3] | passed | 0.00013 seconds |
107
+ ./spec/document/jsonapi_spec.rb[1:1:1:5:1:4] | passed | 0.00011 seconds |
108
+ ./spec/document/jsonapi_spec.rb[1:1:1:6:1] | passed | 0.00012 seconds |
109
+ ./spec/document/jsonapi_spec.rb[1:1:1:6:2] | passed | 0.00013 seconds |
110
+ ./spec/document/jsonapi_spec.rb[1:1:1:7:1] | passed | 0.00011 seconds |
111
+ ./spec/document/jsonapi_spec.rb[1:1:1:7:2] | passed | 0.00012 seconds |
112
+ ./spec/document/jsonapi_spec.rb[1:1:1:7:3] | passed | 0.0001 seconds |
113
+ ./spec/document/jsonapi_spec.rb[1:1:1:8:1] | passed | 0.00014 seconds |
114
+ ./spec/document/jsonapi_spec.rb[1:1:1:8:2] | passed | 0.00014 seconds |
115
+ ./spec/document/jsonapi_spec.rb[1:1:1:9:1] | passed | 0.00012 seconds |
116
+ ./spec/document/jsonapi_spec.rb[1:1:1:10:1] | passed | 0.00016 seconds |
117
+ ./spec/document/jsonapi_spec.rb[1:1:1:11:1] | passed | 0.00013 seconds |
118
+ ./spec/document/jsonapi_spec.rb[1:1:1:12:1] | passed | 0.00014 seconds |
119
+ ./spec/document/jsonapi_spec.rb[1:1:2:1] | passed | 0.00016 seconds |
120
+ ./spec/document/links/link_spec.rb[1:1:1:1:1] | passed | 0.00017 seconds |
121
+ ./spec/document/links/link_spec.rb[1:1:1:2:1] | passed | 0.00017 seconds |
122
+ ./spec/document/links/link_spec.rb[1:1:1:2:2] | passed | 0.00018 seconds |
123
+ ./spec/document/links/link_spec.rb[1:1:1:3:1] | passed | 0.00021 seconds |
124
+ ./spec/document/links/link_spec.rb[1:1:1:3:2] | passed | 0.00018 seconds |
125
+ ./spec/document/links/link_spec.rb[1:1:1:4:1] | passed | 0.00012 seconds |
126
+ ./spec/document/links/link_spec.rb[1:1:2] | passed | 0.0003 seconds |
127
+ ./spec/document/links_spec.rb[1:1:1:1:1] | passed | 0.00013 seconds |
128
+ ./spec/document/links_spec.rb[1:1:1:1:2] | passed | 0.00025 seconds |
129
+ ./spec/document/links_spec.rb[1:1:1:2:1] | passed | 0.00018 seconds |
130
+ ./spec/document/links_spec.rb[1:1:1:3:1] | passed | 0.00015 seconds |
131
+ ./spec/document/links_spec.rb[1:1:1:3:2] | passed | 0.0002 seconds |
132
+ ./spec/document/links_spec.rb[1:1:1:4:1] | passed | 0.00014 seconds |
133
+ ./spec/document/links_spec.rb[1:1:1:4:2] | passed | 0.00012 seconds |
134
+ ./spec/document/links_spec.rb[1:1:1:4:3] | passed | 0.00016 seconds |
135
+ ./spec/document/links_spec.rb[1:1:1:5:1:1] | passed | 0.00017 seconds |
136
+ ./spec/document/links_spec.rb[1:1:1:5:1:2] | passed | 0.00012 seconds |
137
+ ./spec/document/links_spec.rb[1:1:1:5:1:3] | passed | 0.00013 seconds |
138
+ ./spec/document/links_spec.rb[1:1:1:5:1:4] | passed | 0.00014 seconds |
139
+ ./spec/document/links_spec.rb[1:1:1:6:1] | passed | 0.00014 seconds |
140
+ ./spec/document/links_spec.rb[1:1:1:6:2] | passed | 0.00014 seconds |
141
+ ./spec/document/links_spec.rb[1:1:1:7:1] | passed | 0.00012 seconds |
142
+ ./spec/document/links_spec.rb[1:1:1:7:2] | passed | 0.00013 seconds |
143
+ ./spec/document/links_spec.rb[1:1:1:7:3] | passed | 0.00014 seconds |
144
+ ./spec/document/links_spec.rb[1:1:1:8:1] | passed | 0.00016 seconds |
145
+ ./spec/document/links_spec.rb[1:1:1:8:2] | passed | 0.00014 seconds |
146
+ ./spec/document/links_spec.rb[1:1:1:9:1] | passed | 0.00013 seconds |
147
+ ./spec/document/links_spec.rb[1:1:1:10:1] | passed | 0.00017 seconds |
148
+ ./spec/document/links_spec.rb[1:1:1:11:1] | passed | 0.00013 seconds |
149
+ ./spec/document/links_spec.rb[1:1:1:12:1] | passed | 0.00016 seconds |
150
+ ./spec/document/links_spec.rb[1:1:2:1] | passed | 0.00017 seconds |
151
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:1:1] | passed | 0.00012 seconds |
152
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:2:1] | passed | 0.00019 seconds |
153
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:2:2] | passed | 0.00017 seconds |
154
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:3:1] | passed | 0.00026 seconds |
155
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:3:2] | passed | 0.00017 seconds |
156
+ ./spec/document/meta/meta_member_spec.rb[1:1:1:4:1] | passed | 0.00012 seconds |
157
+ ./spec/document/meta/meta_member_spec.rb[1:1:2] | passed | 0.00013 seconds |
158
+ ./spec/document/meta_spec.rb[1:1:1:1:1] | passed | 0.00016 seconds |
159
+ ./spec/document/meta_spec.rb[1:1:1:1:2] | passed | 0.00012 seconds |
160
+ ./spec/document/meta_spec.rb[1:1:1:2:1] | passed | 0.00014 seconds |
161
+ ./spec/document/meta_spec.rb[1:1:1:3:1] | passed | 0.00012 seconds |
162
+ ./spec/document/meta_spec.rb[1:1:1:3:2] | passed | 0.00016 seconds |
163
+ ./spec/document/meta_spec.rb[1:1:1:4:1] | passed | 0.00012 seconds |
164
+ ./spec/document/meta_spec.rb[1:1:1:4:2] | passed | 0.00011 seconds |
165
+ ./spec/document/meta_spec.rb[1:1:1:4:3] | passed | 0.00013 seconds |
166
+ ./spec/document/meta_spec.rb[1:1:1:5:1:1] | passed | 0.00012 seconds |
167
+ ./spec/document/meta_spec.rb[1:1:1:5:1:2] | passed | 0.00011 seconds |
168
+ ./spec/document/meta_spec.rb[1:1:1:5:1:3] | passed | 0.00011 seconds |
169
+ ./spec/document/meta_spec.rb[1:1:1:5:1:4] | passed | 0.00011 seconds |
170
+ ./spec/document/meta_spec.rb[1:1:1:6:1] | passed | 0.00012 seconds |
171
+ ./spec/document/meta_spec.rb[1:1:1:6:2] | passed | 0.00013 seconds |
172
+ ./spec/document/meta_spec.rb[1:1:1:7:1] | passed | 0.00011 seconds |
173
+ ./spec/document/meta_spec.rb[1:1:1:7:2] | passed | 0.00012 seconds |
174
+ ./spec/document/meta_spec.rb[1:1:1:7:3] | passed | 0.00018 seconds |
175
+ ./spec/document/meta_spec.rb[1:1:1:8:1] | passed | 0.00014 seconds |
176
+ ./spec/document/meta_spec.rb[1:1:1:8:2] | passed | 0.00027 seconds |
177
+ ./spec/document/meta_spec.rb[1:1:1:9:1] | passed | 0.00015 seconds |
178
+ ./spec/document/meta_spec.rb[1:1:1:10:1] | passed | 0.00013 seconds |
179
+ ./spec/document/meta_spec.rb[1:1:1:11:1] | passed | 0.00022 seconds |
180
+ ./spec/document/meta_spec.rb[1:1:1:12:1] | passed | 0.00014 seconds |
181
+ ./spec/document/meta_spec.rb[1:1:2:1] | passed | 0.00012 seconds |
182
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:1:1] | passed | 0.00076 seconds |
183
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:2:1] | passed | 0.00012 seconds |
184
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:2:2] | passed | 0.00014 seconds |
185
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:3:1] | passed | 0.00018 seconds |
186
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:3:2] | passed | 0.00016 seconds |
187
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:1:4:1] | passed | 0.00012 seconds |
188
+ ./spec/document/resource/attributes/attribute_spec.rb[1:1:2] | passed | 0.00012 seconds |
189
+ ./spec/document/resource/attributes/attribute_spec.rb[1:2:1] | passed | 0.0001 seconds |
190
+ ./spec/document/resource/attributes/attribute_spec.rb[1:2:2] | passed | 0.00009 seconds |
191
+ ./spec/document/resource/attributes/attribute_spec.rb[1:2:3] | passed | 0.00009 seconds |
192
+ ./spec/document/resource/attributes_spec.rb[1:1:1:1:1] | passed | 0.00014 seconds |
193
+ ./spec/document/resource/attributes_spec.rb[1:1:1:1:2] | passed | 0.00013 seconds |
194
+ ./spec/document/resource/attributes_spec.rb[1:1:1:2:1] | passed | 0.00018 seconds |
195
+ ./spec/document/resource/attributes_spec.rb[1:1:1:3:1] | passed | 0.00014 seconds |
196
+ ./spec/document/resource/attributes_spec.rb[1:1:1:3:2] | passed | 0.0002 seconds |
197
+ ./spec/document/resource/attributes_spec.rb[1:1:1:4:1] | passed | 0.00014 seconds |
198
+ ./spec/document/resource/attributes_spec.rb[1:1:1:4:2] | passed | 0.00012 seconds |
199
+ ./spec/document/resource/attributes_spec.rb[1:1:1:4:3] | passed | 0.00014 seconds |
200
+ ./spec/document/resource/attributes_spec.rb[1:1:1:5:1:1] | passed | 0.00013 seconds |
201
+ ./spec/document/resource/attributes_spec.rb[1:1:1:5:1:2] | passed | 0.00014 seconds |
202
+ ./spec/document/resource/attributes_spec.rb[1:1:1:5:1:3] | passed | 0.00018 seconds |
203
+ ./spec/document/resource/attributes_spec.rb[1:1:1:5:1:4] | passed | 0.00019 seconds |
204
+ ./spec/document/resource/attributes_spec.rb[1:1:1:6:1] | passed | 0.00015 seconds |
205
+ ./spec/document/resource/attributes_spec.rb[1:1:1:6:2] | passed | 0.00014 seconds |
206
+ ./spec/document/resource/attributes_spec.rb[1:1:1:7:1] | passed | 0.00011 seconds |
207
+ ./spec/document/resource/attributes_spec.rb[1:1:1:7:2] | passed | 0.00012 seconds |
208
+ ./spec/document/resource/attributes_spec.rb[1:1:1:7:3] | passed | 0.00017 seconds |
209
+ ./spec/document/resource/attributes_spec.rb[1:1:1:8:1] | passed | 0.00014 seconds |
210
+ ./spec/document/resource/attributes_spec.rb[1:1:1:8:2] | passed | 0.00014 seconds |
211
+ ./spec/document/resource/attributes_spec.rb[1:1:1:9:1] | passed | 0.00011 seconds |
212
+ ./spec/document/resource/attributes_spec.rb[1:1:1:10:1] | passed | 0.00012 seconds |
213
+ ./spec/document/resource/attributes_spec.rb[1:1:1:11:1] | passed | 0.00012 seconds |
214
+ ./spec/document/resource/attributes_spec.rb[1:1:1:12:1] | passed | 0.00015 seconds |
215
+ ./spec/document/resource/attributes_spec.rb[1:1:2:1] | passed | 0.00012 seconds |
216
+ ./spec/document/resource/relationships/relationship_spec.rb[1:1:1] | passed | 0.00041 seconds |
217
+ ./spec/document/resource/relationships/relationship_spec.rb[1:2:1] | passed | 0.00023 seconds |
218
+ ./spec/document/resource/relationships/relationship_spec.rb[1:2:2] | passed | 0.00014 seconds |
219
+ ./spec/document/resource/relationships/relationship_spec.rb[1:2:3] | passed | 0.0002 seconds |
220
+ ./spec/document/resource/relationships/relationship_spec.rb[1:3:1] | passed | 0.0002 seconds |
221
+ ./spec/document/resource/relationships_spec.rb[1:1:1:1:1] | passed | 0.00013 seconds |
222
+ ./spec/document/resource/relationships_spec.rb[1:1:1:1:2] | passed | 0.0002 seconds |
223
+ ./spec/document/resource/relationships_spec.rb[1:1:1:2:1] | passed | 0.00017 seconds |
224
+ ./spec/document/resource/relationships_spec.rb[1:1:1:3:1] | passed | 0.00017 seconds |
225
+ ./spec/document/resource/relationships_spec.rb[1:1:1:3:2] | passed | 0.0004 seconds |
226
+ ./spec/document/resource/relationships_spec.rb[1:1:1:4:1] | passed | 0.00022 seconds |
227
+ ./spec/document/resource/relationships_spec.rb[1:1:1:4:2] | passed | 0.00017 seconds |
228
+ ./spec/document/resource/relationships_spec.rb[1:1:1:4:3] | passed | 0.00023 seconds |
229
+ ./spec/document/resource/relationships_spec.rb[1:1:1:5:1:1] | passed | 0.00031 seconds |
230
+ ./spec/document/resource/relationships_spec.rb[1:1:1:5:1:2] | passed | 0.00017 seconds |
231
+ ./spec/document/resource/relationships_spec.rb[1:1:1:5:1:3] | passed | 0.00017 seconds |
232
+ ./spec/document/resource/relationships_spec.rb[1:1:1:5:1:4] | passed | 0.00026 seconds |
233
+ ./spec/document/resource/relationships_spec.rb[1:1:1:6:1] | passed | 0.00017 seconds |
234
+ ./spec/document/resource/relationships_spec.rb[1:1:1:6:2] | passed | 0.00026 seconds |
235
+ ./spec/document/resource/relationships_spec.rb[1:1:1:7:1] | passed | 0.00009 seconds |
236
+ ./spec/document/resource/relationships_spec.rb[1:1:1:7:2] | passed | 0.00016 seconds |
237
+ ./spec/document/resource/relationships_spec.rb[1:1:1:7:3] | passed | 0.0002 seconds |
238
+ ./spec/document/resource/relationships_spec.rb[1:1:1:8:1] | passed | 0.00016 seconds |
239
+ ./spec/document/resource/relationships_spec.rb[1:1:1:8:2] | passed | 0.00016 seconds |
240
+ ./spec/document/resource/relationships_spec.rb[1:1:1:9:1] | passed | 0.00016 seconds |
241
+ ./spec/document/resource/relationships_spec.rb[1:1:1:10:1] | passed | 0.0002 seconds |
242
+ ./spec/document/resource/relationships_spec.rb[1:1:1:11:1] | passed | 0.00021 seconds |
243
+ ./spec/document/resource/relationships_spec.rb[1:1:1:12:1] | passed | 0.00015 seconds |
244
+ ./spec/document/resource/relationships_spec.rb[1:1:2:1] | passed | 0.00015 seconds |
245
+ ./spec/document/resource_id_spec.rb[1:1] | passed | 0.00007 seconds |
246
+ ./spec/document/resource_id_spec.rb[1:2] | passed | 0.00005 seconds |
247
+ ./spec/document/resource_id_spec.rb[1:3] | passed | 0.00005 seconds |
248
+ ./spec/document/resource_spec.rb[1:1:1] | passed | 0.00015 seconds |
249
+ ./spec/document/resource_spec.rb[1:1:2] | passed | 0.00008 seconds |
250
+ ./spec/document/resource_spec.rb[1:2:1] | passed | 0.0002 seconds |
251
+ ./spec/document/resource_spec.rb[1:3:1] | passed | 0.00014 seconds |
252
+ ./spec/document_spec.rb[1:1:1] | passed | 0.00009 seconds |
253
+ ./spec/document_spec.rb[1:1:2] | passed | 0.00028 seconds |
254
+ ./spec/document_spec.rb[1:1:3] | passed | 0.00024 seconds |
255
+ ./spec/document_spec.rb[1:2:1] | passed | 0.00064 seconds |
256
+ ./spec/document_spec.rb[1:2:2] | passed | 0.00025 seconds |
257
+ ./spec/document_spec.rb[1:3:1] | passed | 0.00043 seconds |
258
+ ./spec/document_spec.rb[1:4:1] | passed | 0.00079 seconds |
259
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:1:1] | passed | 0.0006 seconds |
260
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:1:2] | passed | 0.00018 seconds |
261
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:1] | passed | 0.00029 seconds |
262
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:2] | passed | 0.00016 seconds |
263
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:3] | passed | 0.0002 seconds |
264
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:4] | passed | 0.00013 seconds |
265
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:5] | passed | 0.00013 seconds |
266
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:1:2:6] | passed | 0.00013 seconds |
267
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:1] | passed | 0.00034 seconds |
268
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:2] | passed | 0.00022 seconds |
269
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:1] | passed | 0.00021 seconds |
270
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:1] | passed | 0.00029 seconds |
271
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:2] | passed | 0.0003 seconds |
272
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:3] | passed | 0.00036 seconds |
273
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:4] | passed | 0.00034 seconds |
274
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:5] | passed | 0.00041 seconds |
275
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:2:6] | passed | 0.00021 seconds |
276
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:3:1] | passed | 0.00026 seconds |
277
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:3:2] | passed | 0.0002 seconds |
278
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:1] | passed | 0.00023 seconds |
279
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:2] | passed | 0.00015 seconds |
280
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:3] | passed | 0.00023 seconds |
281
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:1:1] | passed | 0.00099 seconds |
282
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:1:2] | passed | 0.00041 seconds |
283
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:1] | passed | 0.00015 seconds |
284
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:2:1] | passed | 0.00011 seconds |
285
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:2:2] | passed | 0.00026 seconds |
286
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:2:3] | passed | 0.00015 seconds |
287
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:2:4] | passed | 0.00012 seconds |
288
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:2:2:5] | passed | 0.00011 seconds |
289
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:4:4:3:1] | passed | 0.00011 seconds |
290
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:5:1] | passed | 0.00011 seconds |
291
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:5:2] | passed | 0.00023 seconds |
292
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:1:3:6:1] | passed | 0.00016 seconds |
293
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:2:1] | passed | 0.00031 seconds |
294
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:2:2] | passed | 0.00019 seconds |
295
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:2:3] | passed | 0.00016 seconds |
296
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:3:1] | passed | 0.0001 seconds |
297
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:3:2] | passed | 0.00009 seconds |
298
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:4:1] | passed | 0.00015 seconds |
299
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:4:2] | passed | 0.0001 seconds |
300
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:4:3] | passed | 0.00021 seconds |
301
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:4:4] | passed | 0.00025 seconds |
302
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:5:1] | passed | 0.00015 seconds |
303
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:5:2] | passed | 0.00012 seconds |
304
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:5:3] | passed | 0.00011 seconds |
305
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:5:4] | passed | 0.00017 seconds |
306
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:6:1] | passed | 0.00018 seconds |
307
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:6:2] | passed | 0.00015 seconds |
308
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:1:6:3] | passed | 0.0001 seconds |
309
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:2:1] | passed | 0.00024 seconds |
310
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:2:2] | passed | 0.00034 seconds |
311
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:2:2:3] | passed | 0.00056 seconds |
312
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:3:1:1] | passed | 0.00019 seconds |
313
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:3:1:2] | passed | 0.00017 seconds |
314
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:3:2:1] | passed | 0.00016 seconds |
315
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:3:2:2] | passed | 0.00015 seconds |
316
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:4:1] | passed | 0.00022 seconds |
317
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:4:2] | passed | 0.00038 seconds |
318
+ ./spec/exceptions/document_exceptions_spec.rb[1:1:4:3] | passed | 0.00036 seconds |
319
+ ./spec/exceptions/headers_exceptions_spec.rb[1:1:1] | passed | 0.0002 seconds |
320
+ ./spec/exceptions/headers_exceptions_spec.rb[1:1:2] | passed | 0.00021 seconds |
321
+ ./spec/exceptions/headers_exceptions_spec.rb[1:2:1] | passed | 0.00031 seconds |
322
+ ./spec/exceptions/headers_exceptions_spec.rb[1:2:2] | passed | 0.00051 seconds |
323
+ ./spec/exceptions/headers_exceptions_spec.rb[1:2:3] | passed | 0.00028 seconds |
324
+ ./spec/exceptions/naming_exceptions_spec.rb[1:1:1] | passed | 0.00014 seconds |
325
+ ./spec/exceptions/naming_exceptions_spec.rb[1:1:2] | passed | 0.00009 seconds |
326
+ ./spec/exceptions/naming_exceptions_spec.rb[1:2:1] | passed | 0.00009 seconds |
327
+ ./spec/exceptions/naming_exceptions_spec.rb[1:2:2] | passed | 0.0001 seconds |
328
+ ./spec/exceptions/query_params_exceptions_spec.rb[1:1:1] | passed | 0.00013 seconds |
329
+ ./spec/exceptions/query_params_exceptions_spec.rb[1:1:2] | passed | 0.00015 seconds |
330
+ ./spec/exceptions/query_params_exceptions_spec.rb[1:1:3] | passed | 0.00009 seconds |
331
+ ./spec/exceptions/query_params_exceptions_spec.rb[1:1:4] | passed | 0.00009 seconds |
332
+ ./spec/exceptions/query_params_exceptions_spec.rb[1:1:5] | passed | 0.00011 seconds |
333
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:1:1] | passed | 0.00019 seconds |
334
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:2:1] | passed | 0.00017 seconds |
335
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:2:2] | passed | 0.00016 seconds |
336
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:2:3] | passed | 0.0001 seconds |
337
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:2:4] | passed | 0.00015 seconds |
338
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:2:5] | passed | 0.00049 seconds |
339
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:3:1] | passed | 0.00015 seconds |
340
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:1:3:2] | passed | 0.00011 seconds |
341
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:2:1:1] | passed | 0.00018 seconds |
342
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:2:1:2] | passed | 0.00012 seconds |
343
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:3:1] | passed | 0.00014 seconds |
344
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:3:2] | passed | 0.0001 seconds |
345
+ ./spec/exceptions/user_define_exceptions_spec.rb[1:3:3] | passed | 0.00011 seconds |
346
+ ./spec/field_spec.rb[1:1:1] | passed | 0.00014 seconds |
347
+ ./spec/header_collection/header_spec.rb[1:1:1:1:1] | passed | 0.00012 seconds |
348
+ ./spec/header_collection/header_spec.rb[1:1:1:2:1] | passed | 0.00009 seconds |
349
+ ./spec/header_collection/header_spec.rb[1:1:1:2:2] | passed | 0.00012 seconds |
350
+ ./spec/header_collection/header_spec.rb[1:1:1:3:1] | passed | 0.00018 seconds |
351
+ ./spec/header_collection/header_spec.rb[1:1:1:3:2] | passed | 0.00021 seconds |
352
+ ./spec/header_collection/header_spec.rb[1:1:1:4:1] | passed | 0.00013 seconds |
353
+ ./spec/header_collection/header_spec.rb[1:1:2] | passed | 0.00013 seconds |
354
+ ./spec/header_collection_spec.rb[1:1:1:1:1] | passed | 0.00038 seconds |
355
+ ./spec/header_collection_spec.rb[1:1:1:1:2] | passed | 0.00014 seconds |
356
+ ./spec/header_collection_spec.rb[1:1:1:2:1] | passed | 0.00014 seconds |
357
+ ./spec/header_collection_spec.rb[1:1:1:3:1] | passed | 0.00014 seconds |
358
+ ./spec/header_collection_spec.rb[1:1:1:3:2] | passed | 0.00018 seconds |
359
+ ./spec/header_collection_spec.rb[1:1:1:4:1] | passed | 0.00016 seconds |
360
+ ./spec/header_collection_spec.rb[1:1:1:4:2] | passed | 0.00013 seconds |
361
+ ./spec/header_collection_spec.rb[1:1:1:4:3] | passed | 0.00016 seconds |
362
+ ./spec/header_collection_spec.rb[1:1:1:5:1:1] | passed | 0.00024 seconds |
363
+ ./spec/header_collection_spec.rb[1:1:1:5:1:2] | passed | 0.00014 seconds |
364
+ ./spec/header_collection_spec.rb[1:1:1:5:1:3] | passed | 0.00013 seconds |
365
+ ./spec/header_collection_spec.rb[1:1:1:5:1:4] | passed | 0.00017 seconds |
366
+ ./spec/header_collection_spec.rb[1:1:1:6:1] | passed | 0.00011 seconds |
367
+ ./spec/header_collection_spec.rb[1:1:1:6:2] | passed | 0.0001 seconds |
368
+ ./spec/header_collection_spec.rb[1:1:1:7:1] | passed | 0.0002 seconds |
369
+ ./spec/header_collection_spec.rb[1:1:1:7:2] | passed | 0.00015 seconds |
370
+ ./spec/header_collection_spec.rb[1:1:1:7:3] | passed | 0.00016 seconds |
371
+ ./spec/header_collection_spec.rb[1:1:1:8:1] | passed | 0.00031 seconds |
372
+ ./spec/header_collection_spec.rb[1:1:1:8:2] | passed | 0.00018 seconds |
373
+ ./spec/header_collection_spec.rb[1:1:1:9:1] | passed | 0.0002 seconds |
374
+ ./spec/header_collection_spec.rb[1:1:1:10:1] | passed | 0.00014 seconds |
375
+ ./spec/header_collection_spec.rb[1:1:1:11:1] | passed | 0.00029 seconds |
376
+ ./spec/header_collection_spec.rb[1:1:1:12:1] | passed | 0.00019 seconds |
377
+ ./spec/header_collection_spec.rb[1:2:1] | passed | 0.0002 seconds |
378
+ ./spec/header_collection_spec.rb[1:3:1] | passed | 0.00016 seconds |
379
+ ./spec/item_spec.rb[1:1:1:1] | passed | 0.00015 seconds |
380
+ ./spec/item_spec.rb[1:1:1:2] | passed | 0.0002 seconds |
381
+ ./spec/item_spec.rb[1:1:2:1] | passed | 0.00012 seconds |
382
+ ./spec/item_spec.rb[1:1:2:2] | passed | 0.00011 seconds |
383
+ ./spec/item_spec.rb[1:1:3:1] | passed | 0.00018 seconds |
384
+ ./spec/item_spec.rb[1:1:4:1] | passed | 0.00011 seconds |
385
+ ./spec/middleware_spec.rb[1:1:1:1] | passed | 0.00061 seconds |
386
+ ./spec/middleware_spec.rb[1:1:2] | passed | 0.00019 seconds |
387
+ ./spec/middleware_spec.rb[1:1:3] | passed | 0.00014 seconds |
388
+ ./spec/middleware_spec.rb[1:1:4] | passed | 0.0013 seconds |
389
+ ./spec/middleware_spec.rb[1:1:5:1] | passed | 0.00056 seconds |
390
+ ./spec/middleware_spec.rb[1:1:5:2] | passed | 0.00048 seconds |
391
+ ./spec/middleware_spec.rb[1:1:6:1] | passed | 0.00043 seconds |
392
+ ./spec/middleware_spec.rb[1:1:6:2] | passed | 0.00049 seconds |
393
+ ./spec/middleware_spec.rb[1:1:7:1] | passed | 0.00028 seconds |
394
+ ./spec/middleware_spec.rb[1:1:7:2] | passed | 0.00021 seconds |
395
+ ./spec/middleware_spec.rb[1:1:7:3] | passed | 0.00016 seconds |
396
+ ./spec/middleware_spec.rb[1:1:8:1] | passed | 0.00029 seconds |
397
+ ./spec/middleware_spec.rb[1:1:9:1] | passed | 0.00039 seconds |
398
+ ./spec/middleware_spec.rb[1:1:9:2] | passed | 0.00041 seconds |
399
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:1:1] | passed | 0.00012 seconds |
400
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:1:2] | passed | 0.00013 seconds |
401
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:2:1] | passed | 0.00014 seconds |
402
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:3:1] | passed | 0.00014 seconds |
403
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:3:2] | passed | 0.00016 seconds |
404
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:4:1] | passed | 0.00014 seconds |
405
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:4:2] | passed | 0.00013 seconds |
406
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:4:3] | passed | 0.00014 seconds |
407
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:5:1:1] | passed | 0.00012 seconds |
408
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:5:1:2] | passed | 0.00012 seconds |
409
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:5:1:3] | passed | 0.00011 seconds |
410
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:5:1:4] | passed | 0.00013 seconds |
411
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:6:1] | passed | 0.00018 seconds |
412
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:6:2] | passed | 0.00016 seconds |
413
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:7:1] | passed | 0.00016 seconds |
414
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:7:2] | passed | 0.00014 seconds |
415
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:7:3] | passed | 0.00009 seconds |
416
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:8:1] | passed | 0.00016 seconds |
417
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:8:2] | passed | 0.00016 seconds |
418
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:9:1] | passed | 0.00013 seconds |
419
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:10:1] | passed | 0.00012 seconds |
420
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:11:1] | passed | 0.00016 seconds |
421
+ ./spec/name_value_pair_collection_spec.rb[1:1:1:12:1] | passed | 0.00016 seconds |
422
+ ./spec/name_value_pair_collection_spec.rb[1:2:1] | passed | 0.00011 seconds |
423
+ ./spec/name_value_pair_collection_spec.rb[1:3:1] | passed | 0.00013 seconds |
424
+ ./spec/name_value_pair_collection_spec.rb[1:3:2] | passed | 0.0001 seconds |
425
+ ./spec/name_value_pair_spec.rb[1:1:1:1:1] | passed | 0.00011 seconds |
426
+ ./spec/name_value_pair_spec.rb[1:1:1:2:1] | passed | 0.0001 seconds |
427
+ ./spec/name_value_pair_spec.rb[1:1:1:2:2] | passed | 0.00016 seconds |
428
+ ./spec/name_value_pair_spec.rb[1:1:1:3:1] | passed | 0.00021 seconds |
429
+ ./spec/name_value_pair_spec.rb[1:1:1:3:2] | passed | 0.00026 seconds |
430
+ ./spec/name_value_pair_spec.rb[1:1:1:4:1] | passed | 0.00013 seconds |
431
+ ./spec/name_value_pair_spec.rb[1:1:2] | passed | 0.00012 seconds |
432
+ ./spec/parser/document_parser_spec.rb[1:1:1] | passed | 0.00011 seconds |
433
+ ./spec/parser/document_parser_spec.rb[1:1:2] | passed | 0.00062 seconds |
434
+ ./spec/parser/document_parser_spec.rb[1:1:3] | passed | 0.00034 seconds |
435
+ ./spec/parser/header_parser_spec.rb[1:1:1] | passed | 0.00022 seconds |
436
+ ./spec/parser/header_parser_spec.rb[1:1:2] | passed | 0.00022 seconds |
437
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:1] | passed | 0.00023 seconds |
438
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:2] | passed | 0.0002 seconds |
439
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:3] | passed | 0.00023 seconds |
440
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:4] | passed | 0.00023 seconds |
441
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:5] | passed | 0.00024 seconds |
442
+ ./spec/parser/rack_req_params_parser_spec.rb[1:1:6] | passed | 0.00031 seconds |
443
+ ./spec/parser_spec.rb[1:1:1] | passed | 0.0001 seconds |
444
+ ./spec/parser_spec.rb[1:1:2:1] | passed | 0.00009 seconds |
445
+ ./spec/request/query_param_collection/fields_param/fieldset_spec.rb[1:1:1] | passed | 0.00012 seconds |
446
+ ./spec/request/query_param_collection/fields_param/fieldset_spec.rb[1:1:2] | passed | 0.00018 seconds |
447
+ ./spec/request/query_param_collection/fields_param/fieldset_spec.rb[1:2:1] | passed | 0.0001 seconds |
448
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:1:1] | passed | 0.00016 seconds |
449
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:2:1] | passed | 0.00024 seconds |
450
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:2:2] | passed | 0.0002 seconds |
451
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:3:1] | passed | 0.00022 seconds |
452
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:3:2] | passed | 0.00018 seconds |
453
+ ./spec/request/query_param_collection/fields_param_spec.rb[1:1:1:4:1] | passed | 0.00026 seconds |
454
+ ./spec/request/query_param_collection/filter_param/fitler_spec.rb[1:1:1] | passed | 0.0001 seconds |
455
+ ./spec/request/query_param_collection/filter_param/fitler_spec.rb[1:1:2] | passed | 0.0001 seconds |
456
+ ./spec/request/query_param_collection/filter_param/fitler_spec.rb[1:2:1] | passed | 0.00009 seconds |
457
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:1:1] | passed | 0.00019 seconds |
458
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:2:1] | passed | 0.00014 seconds |
459
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:2:2] | passed | 0.00019 seconds |
460
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:3:1] | passed | 0.00019 seconds |
461
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:3:2] | passed | 0.00015 seconds |
462
+ ./spec/request/query_param_collection/filter_param_spec.rb[1:1:1:4:1] | passed | 0.00013 seconds |
463
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:1:1] | passed | 0.00021 seconds |
464
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:2:1] | passed | 0.0002 seconds |
465
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:2:2] | passed | 0.0002 seconds |
466
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:3:1] | passed | 0.00023 seconds |
467
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:3:2] | passed | 0.00018 seconds |
468
+ ./spec/request/query_param_collection/include_param_spec.rb[1:1:1:4:1] | passed | 0.00014 seconds |
469
+ ./spec/request/query_param_collection/page_param_spec.rb[1:1] | passed | 0.00015 seconds |
470
+ ./spec/request/query_param_collection/page_param_spec.rb[1:2] | passed | 0.00014 seconds |
471
+ ./spec/request/query_param_collection/page_param_spec.rb[1:3] | passed | 0.0001 seconds |
472
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:1:1] | passed | 0.00013 seconds |
473
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:2:1] | passed | 0.00011 seconds |
474
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:2:2] | passed | 0.00016 seconds |
475
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:3:1] | passed | 0.00016 seconds |
476
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:3:2] | passed | 0.00012 seconds |
477
+ ./spec/request/query_param_collection/query_param_spec.rb[1:1:1:4:1] | passed | 0.00009 seconds |
478
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:1:1] | passed | 0.00015 seconds |
479
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:2:1] | passed | 0.00011 seconds |
480
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:2:2] | passed | 0.00012 seconds |
481
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:3:1] | passed | 0.00017 seconds |
482
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:3:2] | passed | 0.00013 seconds |
483
+ ./spec/request/query_param_collection/sort_param_spec.rb[1:1:1:4:1] | passed | 0.0001 seconds |
484
+ ./spec/request/query_param_collection_spec.rb[1:1:1:1:1] | passed | 0.00014 seconds |
485
+ ./spec/request/query_param_collection_spec.rb[1:1:1:1:2] | passed | 0.00016 seconds |
486
+ ./spec/request/query_param_collection_spec.rb[1:1:1:2:1] | passed | 0.00012 seconds |
487
+ ./spec/request/query_param_collection_spec.rb[1:1:1:3:1] | passed | 0.0001 seconds |
488
+ ./spec/request/query_param_collection_spec.rb[1:1:1:3:2] | passed | 0.00014 seconds |
489
+ ./spec/request/query_param_collection_spec.rb[1:1:1:4:1] | passed | 0.00011 seconds |
490
+ ./spec/request/query_param_collection_spec.rb[1:1:1:4:2] | passed | 0.00009 seconds |
491
+ ./spec/request/query_param_collection_spec.rb[1:1:1:4:3] | passed | 0.00018 seconds |
492
+ ./spec/request/query_param_collection_spec.rb[1:1:1:5:1:1] | passed | 0.00018 seconds |
493
+ ./spec/request/query_param_collection_spec.rb[1:1:1:5:1:2] | passed | 0.00018 seconds |
494
+ ./spec/request/query_param_collection_spec.rb[1:1:1:5:1:3] | passed | 0.00032 seconds |
495
+ ./spec/request/query_param_collection_spec.rb[1:1:1:5:1:4] | passed | 0.00158 seconds |
496
+ ./spec/request/query_param_collection_spec.rb[1:1:1:6:1] | passed | 0.00018 seconds |
497
+ ./spec/request/query_param_collection_spec.rb[1:1:1:6:2] | passed | 0.00022 seconds |
498
+ ./spec/request/query_param_collection_spec.rb[1:1:1:7:1] | passed | 0.00079 seconds |
499
+ ./spec/request/query_param_collection_spec.rb[1:1:1:7:2] | passed | 0.0002 seconds |
500
+ ./spec/request/query_param_collection_spec.rb[1:1:1:7:3] | passed | 0.00084 seconds |
501
+ ./spec/request/query_param_collection_spec.rb[1:1:1:8:1] | passed | 0.0006 seconds |
502
+ ./spec/request/query_param_collection_spec.rb[1:1:1:8:2] | passed | 0.00067 seconds |
503
+ ./spec/request/query_param_collection_spec.rb[1:1:1:9:1] | passed | 0.00062 seconds |
504
+ ./spec/request/query_param_collection_spec.rb[1:1:1:10:1] | passed | 0.0006 seconds |
505
+ ./spec/request/query_param_collection_spec.rb[1:1:1:11:1] | passed | 0.00052 seconds |
506
+ ./spec/request/query_param_collection_spec.rb[1:1:1:12:1] | passed | 0.00025 seconds |
507
+ ./spec/request/query_param_collection_spec.rb[1:2:1] | passed | 0.00135 seconds |
508
+ ./spec/request_spec.rb[1:1:1] | passed | 0.00115 seconds |
509
+ ./spec/request_spec.rb[1:1:2] | passed | 0.00073 seconds |
510
+ ./spec/request_spec.rb[1:1:3] | passed | 0.00085 seconds |
511
+ ./spec/response_spec.rb[1:1:1] | passed | 0.00088 seconds |
512
+ ./spec/response_spec.rb[1:1:2] | passed | 0.00016 seconds |
513
+ ./spec/response_spec.rb[1:1:3] | passed | 0.00071 seconds |
514
+ ./spec/utility_spec.rb[1:7:1] | passed | 0.00012 seconds |
515
+ ./spec/utility_spec.rb[1:8:1] | passed | 0.00026 seconds |
516
+ ./spec/utility_spec.rb[1:8:2] | passed | 0.00008 seconds |
517
+ ./spec/utility_spec.rb[1:9:1] | passed | 0.00019 seconds |
518
+ ./spec/utility_spec.rb[1:9:2] | passed | 0.0002 seconds |
519
+ ./spec/utility_spec.rb[1:10:1] | passed | 0.00009 seconds |
520
+ ./spec/utility_spec.rb[1:10:2] | passed | 0.00011 seconds |
data/.rubocop.yml ADDED
@@ -0,0 +1,64 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ TargetRubyVersion: '2.7.0'
4
+ SuggestExtensions: false
5
+
6
+ Metrics/AbcSize:
7
+ Enabled: false
8
+
9
+ Layout/TrailingWhitespace:
10
+ Enabled: false
11
+
12
+ Layout/EmptyLinesAroundModuleBody:
13
+ Enabled: false
14
+
15
+ Layout/EmptyLines:
16
+ Enabled: false
17
+
18
+ Layout/EmptyLinesAroundClassBody:
19
+ Enabled: false
20
+
21
+ Metrics/BlockLength:
22
+ Enabled: false
23
+
24
+ Metrics/MethodLength:
25
+ Enabled: false
26
+
27
+ Metrics/ParameterLists:
28
+ Enabled: false
29
+
30
+ Bundler/OrderedGems:
31
+ Enabled: false
32
+
33
+ Layout/EmptyLinesAroundBlockBody:
34
+ Enabled: false
35
+
36
+ Layout/EmptyLineAfterGuardClause:
37
+ Enabled: false
38
+
39
+ Style/WordArray:
40
+ Enabled: false
41
+
42
+ Style/StringConcatenation:
43
+ Enabled: false
44
+
45
+ Layout/EmptyLinesAroundMethodBody:
46
+ Enabled: false
47
+
48
+ Style/StringLiterals:
49
+ Enabled: false
50
+
51
+ Style/IfUnlessModifier:
52
+ Enabled: false
53
+
54
+ Layout/LineLength:
55
+ Enabled: false
56
+
57
+ Gemspec/OrderedDependencies:
58
+ Enabled: false
59
+
60
+ Metrics/ModuleLength:
61
+ Enabled: false
62
+
63
+ Layout/ArgumentAlignment:
64
+ Enabled: false
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ easy-jsonapi
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.1 - 2020-03-25
4
+
5
+ - Updated README and fix READE broken links
6
+ - Reorganization of README files into docs file.
7
+ - Make easy-jsonapi compatible with ruby versions >= 2.5
8
+
3
9
  ## 1.0.0 - 2020-03-24
4
10
 
5
11
  - This is the first release with a version of 1.0.0. All main features supported, but user configurations can be developed to provide greater adherence to the spec and more developer features.
data/Gemfile.lock CHANGED
@@ -10,20 +10,16 @@ GEM
10
10
  ast (2.4.2)
11
11
  backport (1.1.2)
12
12
  benchmark (0.1.1)
13
+ codecov (0.5.1)
14
+ simplecov (>= 0.15, < 0.22)
13
15
  diff-lcs (1.4.4)
16
+ docile (1.3.5)
14
17
  e2mmap (0.1.0)
15
18
  jaro_winkler (1.5.4)
16
19
  kramdown (2.3.1)
17
20
  rexml
18
21
  kramdown-parser-gfm (1.1.0)
19
22
  kramdown (~> 2.0)
20
- license_finder (6.12.0)
21
- bundler
22
- rubyzip (>= 1, < 3)
23
- thor (~> 1.0.1)
24
- tomlrb (>= 1.3, < 2.1)
25
- with_env (= 1.1.0)
26
- xml-simple (~> 1.1.5)
27
23
  mini_portile2 (2.5.0)
28
24
  nokogiri (1.11.2)
29
25
  mini_portile2 (~> 2.5.0)
@@ -66,7 +62,12 @@ GEM
66
62
  rubocop-ast (1.4.1)
67
63
  parser (>= 2.7.1.5)
68
64
  ruby-progressbar (1.11.0)
69
- rubyzip (2.3.0)
65
+ simplecov (0.21.2)
66
+ docile (~> 1.1)
67
+ simplecov-html (~> 0.11)
68
+ simplecov_json_formatter (~> 0.1)
69
+ simplecov-html (0.12.3)
70
+ simplecov_json_formatter (0.1.2)
70
71
  solargraph (0.40.4)
71
72
  backport (~> 1.1)
72
73
  benchmark
@@ -83,18 +84,15 @@ GEM
83
84
  yard (~> 0.9, >= 0.9.24)
84
85
  thor (1.0.1)
85
86
  tilt (2.0.10)
86
- tomlrb (2.0.1)
87
87
  unicode-display_width (2.0.0)
88
- with_env (1.1.0)
89
- xml-simple (1.1.8)
90
88
  yard (0.9.26)
91
89
 
92
90
  PLATFORMS
93
91
  ruby
94
92
 
95
93
  DEPENDENCIES
94
+ codecov (~> 0.4)
96
95
  easy-jsonapi!
97
- license_finder (~> 6.10)
98
96
  rack (~> 2.2)
99
97
  rake (~> 13.0)
100
98
  redcarpet (~> 3.5)
@@ -103,4 +101,4 @@ DEPENDENCIES
103
101
  solargraph (~> 0.39)
104
102
 
105
103
  BUNDLED WITH
106
- 2.2.11
104
+ 2.2.15
data/README.md CHANGED
@@ -7,7 +7,9 @@
7
7
 
8
8
  [![Gem Version](https://badge.fury.io/rb/easy-jsonapi.svg)](https://badge.fury.io/rb/easy-jsonapi)
9
9
  ![](https://ruby-gem-downloads-badge.herokuapp.com/easy-jsonapi?type=total&color=brightgreen)
10
- <!-- [![Build Status](https://secure.travis-ci.org/jsonapi-rb/jsonapi-parser.svg?branch=master)](http://travis-ci.org/jsonapi-rb/parser?branch=master) -->
10
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
11
+ [![License](https://img.shields.io/github/license/Curatess/easy-jsonapi)](https://img.shields.io)
12
+ <!-- [![Build Status](https://secure.travis-ci.org/ -->
11
13
 
12
14
  The gem that makes using [JSON:API](https://jsonapi.org/) ***EASY***!
13
15
 
@@ -23,13 +25,13 @@ As a bonus, flexible user configurations can be added to the middleware providin
23
25
 
24
26
  ## Links
25
27
 
26
- - [*Documentation*](tbd)
28
+ - [*Documentation*](https://rubydoc.info/github/Curatess/easy-jsonapi/production)
27
29
 
28
- - [*RubyGems* *repo*](tbd)
30
+ - [*RubyGems* *Repository*](https://rubygems.org/search?query=easy-jsonapi)
29
31
 
30
32
  ## Installation
31
33
 
32
- Add this ine to your applications' Gemfile:
34
+ Add this line to your applications' Gemfile:
33
35
 
34
36
  ```bash
35
37
  # Gemfile
@@ -84,7 +86,7 @@ $ gem install easy-jsonapi
84
86
 
85
87
  Add the middleware to the stack in order to activate it.
86
88
 
87
- Sintra:
89
+ Sinatra:
88
90
 
89
91
  ```ruby
90
92
  # app.rb
@@ -135,7 +137,7 @@ If `ENV['RACK_ENV']` is set to something other than `:development`, then the mi
135
137
 
136
138
  ### User Configurations
137
139
 
138
- ***easy-jsonapi*** has a fair amount of flexibility when it comes to user configurations and plenty of room for extending the current user configurations to include more features. To see the currently available configurations see [UsingUserConfigurations](https://github.com/Curatess/easy-jsonapi/UsingUserConfigurations.md) and to propose a new feature create a pull request or ticket on [the github repository](https://github.com/Curatess/easy-jsonapi)
140
+ ***easy-jsonapi*** has a fair amount of flexibility when it comes to user configurations and plenty of room for extending the current user configurations to include more features. To see the currently available configurations see [UsingUserConfigurations](https://github.com/Curatess/easy-jsonapi/blob/production/docs/UsingUserConfigurations.md) and to propose a new feature create a pull request or ticket on [the github repository](https://github.com/Curatess/easy-jsonapi)
139
141
 
140
142
  ## Using the Request Parser
141
143
 
@@ -167,7 +169,7 @@ require 'easy/jsonapi'
167
169
  jsonapi_req = JSONAPI::Parser.parse_request(env)
168
170
  ```
169
171
 
170
- This returns a `JSONAPI::Request` object that can be used to access the collection of query params, collection of headers, and the body of the request. To see example usage, see [Using the Request Object](https://github.com/Curatess/easy-jsonapi/UsingTheRequestObject.md).
172
+ This returns a `JSONAPI::Request` object that can be used to access the collection of query params, collection of headers, and the body of the request. To see example usage, see [Using the Request Object](https://github.com/Curatess/easy-jsonapi/blob/production/docs/UsingTheRequestObject.md).
171
173
 
172
174
  ## Using the Serialized Response Validator
173
175
 
@@ -190,11 +192,15 @@ end
190
192
  The `headers` param is a hash of `String => String` or `Symbol => String` of the header keys and values.
191
193
  The `body` param is either the JSON body or a ruby hash representation of the body.
192
194
 
193
- See the [rubydocs](tbd) for more on the Serialized Response Validator.
195
+ See the [rubydocs](https://rubydoc.info/github/Curatess/easy-jsonapi/proudction) for more on the Serialized Response Validator.
196
+
197
+ ## Acknowledgements
198
+
199
+ The exception checking strategy for `JSONAPI::Exceptions::DocumentExceptions` and some innitial compliance checks are based off [jsonapi-parser](https://github.com/jsonapi-rb/jsonapi-parser). We would like to thank the [jsonapi-rb](https://github.com/jsonapi-rb) team for the document validation work and to all our contributors and users for the continuous support!
194
200
 
195
201
  ## Releases
196
202
 
197
- See [{file:CHANGELOG.md}](https://github.com/Curatess/easy-jsonapi/CHANGELOG.md)
203
+ See [{file:CHANGELOG.md}](https://github.com/Curatess/easy-jsonapi/blob/production/CHANGELOG.md).
198
204
 
199
205
  ## License
200
206
 
@@ -202,8 +208,8 @@ See [{file:CHANGELOG.md}](https://github.com/Curatess/easy-jsonapi/CHANGELOG.md)
202
208
 
203
209
  ## Contributing
204
210
 
205
- Bug reports and pull requests are welcome on GitHub at https://github.com/Curatess/easy-jsonapi. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Curatess/easy-jsonapi/blob/master/CODE_OF_CONDUCT.md).
211
+ Bug reports and pull requests are welcome [here on Github](https://github.com/Curatess/easy-jsonapi). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Code of Conduct](https://github.com/Curatess/easy-jsonapi/blob/production/CODE_OF_CONDUCT.md).
206
212
 
207
213
  ## Code of Conduct
208
214
 
209
- Everyone interacting in the easy-jsonapi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Curatess/easy-jsonapi/blob/master/CODE_OF_CONDUCT.md).
215
+ Everyone interacting in the easy-jsonapi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [Code of Conduct](https://github.com/Curatess/easy-jsonapi/blob/production/CODE_OF_CONDUCT.md).
data/easy-jsonapi.gemspec CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'easy-jsonapi'
5
- spec.version = '1.0.0'
5
+ spec.version = '1.0.1'
6
6
  spec.authors = ['Joshua DeMoss, Joe Viscomi']
7
7
  spec.email = ['demoss.joshua@gmail.com']
8
8
 
9
9
  spec.summary = 'Middleware, Parser, and Validator for JSONAPI requests and serialized resopnses'
10
10
  spec.description = 'Middleware to screen non-JSONAPI-compliant requests, a parser to provide Object Oriented access to requests, and a validator for validating JSONAPI Serialized responses.'
11
11
  spec.homepage = 'https://rubygems.org/gems/easy-jsonapi'
12
- spec.required_ruby_version = '>= 2.7'
12
+ spec.required_ruby_version = '>= 2.5'
13
13
 
14
14
  spec.metadata["source_code_uri"] = "https://github.com/Curatess/easy-jsonapi"
15
15
  spec.metadata["changelog_uri"] = "https://github.com/Curatess/easy-jsonapi/CHANGELOG.mg"
@@ -24,13 +24,13 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  # Dev Dependencies
27
- spec.add_development_dependency 'license_finder', '~> 6.10'
28
27
  spec.add_development_dependency 'rack', '~> 2.2'
29
28
  spec.add_development_dependency 'rake', '~> 13.0'
30
29
  spec.add_development_dependency 'redcarpet', '~> 3.5'
31
30
  spec.add_development_dependency 'rspec', '~> 3.9'
32
31
  spec.add_development_dependency 'rubocop', '~> 1.11'
33
32
  spec.add_development_dependency 'solargraph', '~> 0.39'
33
+ spec.add_development_dependency 'codecov', '~> 0.4'
34
34
 
35
35
  # Dependencies
36
36
  spec.add_dependency 'oj', '~> 3.10'
@@ -35,8 +35,8 @@ module JSONAPI
35
35
  # dynamically creates accessor methods for instance variables
36
36
  # created in the initialize
37
37
  def method_missing(method_name, *args, &block)
38
- super unless READER_METHODS.include?(method_name.to_s[..-2].to_sym)
39
- instance_variable_set("@#{method_name}"[..-2].to_sym, args[0])
38
+ super unless READER_METHODS.include?(method_name.to_s[0..-2].to_sym)
39
+ instance_variable_set("@#{method_name}"[0..-2].to_sym, args[0])
40
40
  @default = false
41
41
  end
42
42
 
@@ -49,7 +49,7 @@ module JSONAPI
49
49
  return super unless is_a? JSONAPI::Item
50
50
  return super unless @item.is_a? Hash
51
51
  if should_update_var?(method_name)
52
- @item[method_name[..-2].to_sym] = args[0]
52
+ @item[method_name[0..-2].to_sym] = args[0]
53
53
  elsif should_get_var?(method_name)
54
54
  @item[method_name]
55
55
  else
@@ -75,7 +75,7 @@ module JSONAPI
75
75
  # variable.
76
76
  # @param (see #method_missing)
77
77
  def should_update_var?(method_name)
78
- method_name.to_s[-1] == '=' && @item[method_name[..-2].to_sym].nil? == false
78
+ method_name.to_s[-1] == '=' && @item[method_name[0..-2].to_sym].nil? == false
79
79
  end
80
80
 
81
81
  # Checks to see if the method has the same name as an existing instance
@@ -20,7 +20,7 @@ module JSONAPI
20
20
  h_collection = JSONAPI::HeaderCollection.new
21
21
  env.each_key do |k|
22
22
  if k.start_with?('HTTP_') && (k != 'HTTP_VERSION')
23
- h_collection << JSONAPI::HeaderCollection::Header.new(k[5..], env[k])
23
+ h_collection << JSONAPI::HeaderCollection::Header.new(k[5..-1], env[k])
24
24
  elsif k == 'CONTENT_TYPE'
25
25
  h_collection << JSONAPI::HeaderCollection::Header.new(k, env[k])
26
26
  end
@@ -82,7 +82,7 @@ module JSONAPI
82
82
  add_member(loc_in_h, res_name, included: true)
83
83
  else
84
84
  add_member(loc_in_h, res_name, included: res_included?(i_arr))
85
- store_include(loc_in_h[res_name][:relationships], i_arr[2..])
85
+ store_include(loc_in_h[res_name][:relationships], i_arr[2..-1])
86
86
  end
87
87
  end
88
88
 
@@ -151,7 +151,7 @@ module JSONAPI
151
151
  def all_hash_path?(hash, args)
152
152
  return false if (args.size.positive? && !hash.is_a?(Hash)) || hash.nil?
153
153
  return true if args.size.zero? && !hash.nil?
154
- all_hash_path?(hash[args.first], args[1..])
154
+ all_hash_path?(hash[args.first], args[1..-1])
155
155
  end
156
156
  end
157
157
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy-jsonapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua DeMoss, Joe Viscomi
@@ -10,20 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: license_finder
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '6.10'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '6.10'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rack
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +94,20 @@ dependencies:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0.39'
97
+ - !ruby/object:Gem::Dependency
98
+ name: codecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.4'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.4'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: oj
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -131,9 +131,13 @@ executables: []
131
131
  extensions: []
132
132
  extra_rdoc_files: []
133
133
  files:
134
+ - ".dockerignore"
134
135
  - ".github/workflows/publish-gem.yml"
135
- - ".github/workflows/rake.yml"
136
+ - ".gitignore"
136
137
  - ".rspec"
138
+ - ".rspec_status"
139
+ - ".rubocop.yml"
140
+ - ".ruby-gemset"
137
141
  - ".ruby-version"
138
142
  - CHANGELOG.md
139
143
  - CODE_OF_CONDUCT.md
@@ -142,8 +146,6 @@ files:
142
146
  - LICENSE.txt
143
147
  - README.md
144
148
  - Rakefile
145
- - UsingTheRequestObject.md
146
- - UsingUserConfigurations.md
147
149
  - bin/bundle
148
150
  - bin/console
149
151
  - bin/htmldiff
@@ -170,6 +172,8 @@ files:
170
172
  - bin/yard
171
173
  - bin/yardoc
172
174
  - bin/yri
175
+ - docs/UsingTheRequestObject.md
176
+ - docs/UsingUserConfigurations.md
173
177
  - easy-jsonapi.gemspec
174
178
  - lib/easy/jsonapi.rb
175
179
  - lib/easy/jsonapi/collection.rb
@@ -234,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
238
  requirements:
235
239
  - - ">="
236
240
  - !ruby/object:Gem::Version
237
- version: '2.7'
241
+ version: '2.5'
238
242
  required_rubygems_version: !ruby/object:Gem::Requirement
239
243
  requirements:
240
244
  - - ">="
@@ -1,35 +0,0 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
- name: Ruby
9
-
10
- on:
11
- push:
12
- branches: [ master ]
13
- pull_request:
14
- branches: [ master ]
15
-
16
- jobs:
17
- test:
18
-
19
- runs-on: ubuntu-latest
20
- strategy:
21
- matrix:
22
- ruby-version: ['2.7', '3.0']
23
-
24
- steps:
25
- - uses: actions/checkout@v2
26
- - name: Set up Ruby
27
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
- # uses: ruby/setup-ruby@v1
30
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31
- with:
32
- ruby-version: ${{ matrix.ruby-version }}
33
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34
- - name: Run tests
35
- run: bundle exec rake