kinetic_sdk 5.0.14 → 5.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/gems/{mime-types-3.1/Code-of-Conduct.rdoc → mime-types-3.3.1/Code-of-Conduct.md} +19 -20
- data/gems/{mime-types-3.1/Contributing.rdoc → mime-types-3.3.1/Contributing.md} +67 -54
- data/gems/mime-types-3.3.1/History.md +240 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-3.3.1}/Licence.md +1 -1
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/Manifest.txt +4 -4
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/README.rdoc +5 -14
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/Rakefile +43 -13
- data/gems/mime-types-3.3.1/lib/mime-types.rb +3 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/type.rb +60 -46
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/type/columnar.rb +4 -2
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types.rb +11 -8
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/_columnar.rb +10 -9
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/cache.rb +7 -5
- data/gems/mime-types-3.3.1/lib/mime/types/columnar.rb +3 -0
- data/gems/mime-types-3.3.1/lib/mime/types/container.rb +96 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/deprecations.rb +3 -3
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/full.rb +2 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/loader.rb +2 -4
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/logger.rb +3 -1
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/lib/mime/types/registry.rb +12 -3
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/bad-fixtures/malformed +0 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/fixture/json.json +0 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/fixture/old-data +0 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/fixture/yaml.yaml +0 -0
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/minitest_helper.rb +1 -1
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_type.rb +33 -26
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_types.rb +33 -25
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_types_cache.rb +15 -6
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_types_class.rb +18 -14
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_types_lazy.rb +10 -4
- data/gems/{mime-types-3.1 → mime-types-3.3.1}/test/test_mime_types_loader.rb +1 -1
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/Code-of-Conduct.md +10 -10
- data/gems/mime-types-data-3.2021.0225/Contributing.md +224 -0
- data/gems/mime-types-data-3.2021.0225/History.md +468 -0
- data/gems/{mime-types-3.1/Licence.rdoc → mime-types-data-3.2021.0225/Licence.md} +3 -3
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/Manifest.txt +13 -0
- data/gems/mime-types-data-3.2021.0225/README.md +63 -0
- data/gems/mime-types-data-3.2021.0225/Rakefile +159 -0
- data/gems/mime-types-data-3.2021.0225/data/mime-types.json +1 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.content_type.column +364 -13
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.docs.column +351 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.encoding.column +351 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.flags.column +352 -1
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.friendly.column +351 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.pext.column +351 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.use_instead.column +351 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/data/mime.xrefs.column +480 -129
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/lib/mime-types-data.rb +0 -0
- data/gems/{mime-types-data-3.2016.0521 → mime-types-data-3.2021.0225}/lib/mime/types/data.rb +1 -1
- data/gems/mime-types-data-3.2021.0225/types/application.yaml +16933 -0
- data/gems/mime-types-data-3.2021.0225/types/audio.yaml +1714 -0
- data/gems/mime-types-data-3.2021.0225/types/chemical.yaml +71 -0
- data/gems/mime-types-data-3.2021.0225/types/conference.yaml +9 -0
- data/gems/mime-types-data-3.2021.0225/types/drawing.yaml +15 -0
- data/gems/mime-types-data-3.2021.0225/types/font.yaml +65 -0
- data/gems/mime-types-data-3.2021.0225/types/image.yaml +1251 -0
- data/gems/mime-types-data-3.2021.0225/types/message.yaml +200 -0
- data/gems/mime-types-data-3.2021.0225/types/model.yaml +331 -0
- data/gems/mime-types-data-3.2021.0225/types/multipart.yaml +179 -0
- data/gems/mime-types-data-3.2021.0225/types/text.yaml +1145 -0
- data/gems/mime-types-data-3.2021.0225/types/video.yaml +1094 -0
- data/gems/mime-types-data-3.2021.0225/types/world.yaml +8 -0
- data/kinetic_sdk.gemspec +3 -3
- data/lib/kinetic_sdk.rb +2 -2
- data/lib/kinetic_sdk/core/lib/teams.rb +12 -0
- data/lib/kinetic_sdk/core/lib/users.rb +12 -1
- data/lib/kinetic_sdk/utils/kinetic-http.rb +2 -4
- data/lib/kinetic_sdk/version.rb +1 -1
- metadata +72 -59
- data/gems/mime-types-3.1/History.rdoc +0 -658
- data/gems/mime-types-3.1/lib/mime-types.rb +0 -1
- data/gems/mime-types-3.1/lib/mime/types/columnar.rb +0 -1
- data/gems/mime-types-3.1/lib/mime/types/container.rb +0 -30
- data/gems/mime-types-data-3.2016.0521/Contributing.md +0 -157
- data/gems/mime-types-data-3.2016.0521/History.md +0 -351
- data/gems/mime-types-data-3.2016.0521/README.md +0 -61
- data/gems/mime-types-data-3.2016.0521/Rakefile +0 -80
- data/gems/mime-types-data-3.2016.0521/data/mime-types.json +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acb5d3a2da95c41ffb7d49b5835a14a857bb2f2b318ee2880e81f39e5316c146
|
4
|
+
data.tar.gz: ebe3d33d775cbaaef60a067f8a89da16d23aacc96fbb0ef81caec29222fd195f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c575065843f9aad4e45a1093287a4a4dd73b36580a7e473942630fe62fa42d9eecc1b9ed1ee2e13bbec1902daf5838f89be9d14258b9860565a464dc10de40a8
|
7
|
+
data.tar.gz: efd722169760c9d867d56fbec23844679c6ae1ecff30c5b329e9e133864704e13bd1d1233ab29d55f23b980ae1ec6fa7446db066673645212840735dd2bb76ea
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [5.0.19](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.19) (2021-04-27)
|
4
|
+
|
5
|
+
**Implemented enhancements:**
|
6
|
+
|
7
|
+
- Update mime-types and mime-types-data gems to support Ruby 3
|
8
|
+
|
9
|
+
## [5.0.18](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.18) (2021-03-25)
|
10
|
+
|
11
|
+
**Implemented enhancements:**
|
12
|
+
|
13
|
+
- Implemented method to enable searching for users against the system api (find_users_in_system)
|
14
|
+
|
15
|
+
## [5.0.17](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.17) (2021-02-25)
|
16
|
+
|
17
|
+
**Implemented enhancements:**
|
18
|
+
|
19
|
+
- Bug fix related to removing user from a team
|
20
|
+
|
21
|
+
## [5.0.16](https://github.com/kineticdata/kinetic-sdk-rb/tree/5.0.16) (2021-02-25)
|
22
|
+
|
23
|
+
**Implemented enhancements:**
|
24
|
+
|
25
|
+
- Implmented ability to remove user from a team
|
26
|
+
|
27
|
+
## [5.0.15](https://github.com/kineticdata/kinetic-sdk-rb/releases/tag/5.0.15) (2021-01-20)
|
28
|
+
|
29
|
+
**Implemented enhancements:**
|
30
|
+
|
31
|
+
- Bug Fixes
|
32
|
+
|
3
33
|
## [5.0.14](https://github.com/kineticdata/kinetic-sdk-rb/releases/tag/5.0.14) (2021-01-15)
|
4
34
|
|
5
35
|
**Implemented enhancements:**
|
@@ -1,15 +1,15 @@
|
|
1
|
-
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
2
|
|
3
3
|
## Our Pledge
|
4
4
|
|
5
5
|
In the interest of fostering an open and welcoming environment, we as
|
6
6
|
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age,
|
8
|
-
|
9
|
-
experience,
|
10
|
-
identity and orientation.
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9
|
+
level of experience, education, socio-economic status, nationality, personal
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
11
11
|
|
12
|
-
|
12
|
+
## Our Standards
|
13
13
|
|
14
14
|
Examples of behavior that contributes to creating a positive environment
|
15
15
|
include:
|
@@ -31,7 +31,7 @@ Examples of unacceptable behavior by participants include:
|
|
31
31
|
* Other conduct which could reasonably be considered inappropriate in a
|
32
32
|
professional setting
|
33
33
|
|
34
|
-
|
34
|
+
## Our Responsibilities
|
35
35
|
|
36
36
|
Project maintainers are responsible for clarifying the standards of acceptable
|
37
37
|
behavior and are expected to take appropriate and fair corrective action in
|
@@ -43,32 +43,31 @@ that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
43
|
permanently any contributor for other behaviors that they deem inappropriate,
|
44
44
|
threatening, offensive, or harmful.
|
45
45
|
|
46
|
-
|
46
|
+
## Scope
|
47
47
|
|
48
48
|
This Code of Conduct applies both within project spaces and in public spaces
|
49
49
|
when an individual is representing the project or its community. Examples of
|
50
50
|
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an
|
52
|
-
|
53
|
-
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
54
|
|
55
|
-
|
55
|
+
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
58
|
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an
|
62
|
-
|
63
|
-
separately.
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
64
63
|
|
65
64
|
Project maintainers who do not follow or enforce the Code of Conduct in good
|
66
65
|
faith may face temporary or permanent repercussions as determined by other
|
67
66
|
members of the project's leadership.
|
68
67
|
|
69
|
-
|
68
|
+
## Attribution
|
70
69
|
|
71
|
-
This Code of Conduct is adapted from the
|
72
|
-
|
73
|
-
|
74
|
-
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72
|
+
|
73
|
+
[homepage]: https://www.contributor-covenant.org
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
## Contributing
|
2
2
|
|
3
3
|
I value any contribution to mime-types you can provide: a bug report, a feature
|
4
4
|
request, or code contributions.
|
@@ -6,27 +6,25 @@ request, or code contributions.
|
|
6
6
|
There are a few guidelines for contributing to mime-types:
|
7
7
|
|
8
8
|
* Code changes *will* *not* be accepted without tests. The test suite is
|
9
|
-
written with
|
9
|
+
written with [minitest][].
|
10
10
|
* Match my coding style.
|
11
11
|
* Use a thoughtfully-named topic branch that contains your change. Rebase your
|
12
12
|
commits into logical chunks as necessary.
|
13
|
-
* Use
|
13
|
+
* Use [quality commit messages][].
|
14
14
|
* Do not change the version number; when your patch is accepted and a release
|
15
15
|
is made, the version will be updated at that point.
|
16
16
|
* Submit a GitHub pull request with your changes.
|
17
17
|
* New or changed behaviours require new or updated documentation.
|
18
18
|
|
19
|
-
|
19
|
+
### Adding or Modifying MIME Types
|
20
20
|
|
21
21
|
The mime-types registry is no longer contained in mime-types, but in
|
22
|
-
|
23
|
-
that project for contributions there.
|
22
|
+
[mime-types-data][]. Please see that project for contributions there.
|
24
23
|
|
25
|
-
|
24
|
+
### Test Dependencies
|
26
25
|
|
27
|
-
mime-types uses Ryan Davis’s
|
28
|
-
|
29
|
-
interested in:
|
26
|
+
mime-types uses Ryan Davis’s [Hoe][] to manage the release process, and it adds
|
27
|
+
a number of rake tasks. You will mostly be interested in:
|
30
28
|
|
31
29
|
$ rake
|
32
30
|
|
@@ -39,7 +37,7 @@ will do.
|
|
39
37
|
|
40
38
|
To assist with the installation of the development dependencies for mime-types,
|
41
39
|
I have provided the simplest possible Gemfile pointing to the (generated)
|
42
|
-
|
40
|
+
`mime-types.gemspec` file. This will permit you to do:
|
43
41
|
|
44
42
|
$ bundle install
|
45
43
|
|
@@ -55,7 +53,7 @@ You can run tests with code coverage analysis by running:
|
|
55
53
|
|
56
54
|
$ rake test:coverage
|
57
55
|
|
58
|
-
|
56
|
+
### Benchmarks
|
59
57
|
|
60
58
|
mime-types offers several benchmark tasks to measure different measures of
|
61
59
|
performance.
|
@@ -68,63 +66,78 @@ built-in benchmark library.
|
|
68
66
|
|
69
67
|
There are two allocation tracing benchmarks (for normal and columnar loads).
|
70
68
|
These can only be run on Ruby 2.1 or better and requires the
|
71
|
-
|
72
|
-
installed by default).
|
69
|
+
[allocation\_tracer][] gem (not installed by default).
|
73
70
|
|
74
71
|
$ rake benchmark:allocations
|
75
72
|
$ rake benchmark:allocations:columnar
|
76
73
|
|
77
74
|
There are two loaded object count benchmarks (for normal and columnar loads).
|
78
|
-
These use
|
75
|
+
These use `ObjectSpace.count_objects`.
|
79
76
|
|
80
77
|
$ rake benchmark:objects
|
81
78
|
$ rake benchmark:objects:columnar
|
82
79
|
|
83
|
-
|
80
|
+
### Workflow
|
84
81
|
|
85
82
|
Here's the most direct way to get your work merged into the project:
|
86
83
|
|
87
84
|
* Fork the project.
|
88
|
-
* Clone down your fork (
|
89
|
-
* Create a topic branch to contain your change (
|
85
|
+
* Clone down your fork (`git clone git://github.com/<username>/ruby-mime-types.git`).
|
86
|
+
* Create a topic branch to contain your change (`git checkout -b my_awesome_feature`).
|
90
87
|
* Hack away, add tests. Not necessarily in that order.
|
91
|
-
* Make sure everything still passes by running
|
88
|
+
* Make sure everything still passes by running `rake`.
|
92
89
|
* If necessary, rebase your commits into logical chunks, without errors.
|
93
|
-
* Push the branch up (
|
90
|
+
* Push the branch up (`git push origin my_awesome_feature`).
|
94
91
|
* Create a pull request against mime-types/ruby-mime-types and describe what
|
95
92
|
your change does and the why you think it should be merged.
|
96
93
|
|
97
|
-
|
98
|
-
|
99
|
-
*
|
100
|
-
|
101
|
-
Thanks to everyone else who has contributed to mime-types:
|
102
|
-
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
111
|
-
*
|
112
|
-
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
*
|
94
|
+
### Contributors
|
95
|
+
|
96
|
+
* Austin Ziegler created mime-types.
|
97
|
+
|
98
|
+
Thanks to everyone else who has contributed to mime-types over the years:
|
99
|
+
|
100
|
+
* Aaron Patterson
|
101
|
+
* Aggelos Avgerinos
|
102
|
+
* Al Snow
|
103
|
+
* Andre Pankratz
|
104
|
+
* Andy Brody
|
105
|
+
* Arnaud Meuret
|
106
|
+
* Brandon Galbraith
|
107
|
+
* Burke Libbey
|
108
|
+
* Chris Gat
|
109
|
+
* David Genord
|
110
|
+
* Dillon Welch
|
111
|
+
* Eric Marden
|
112
|
+
* Edward Betts
|
113
|
+
* Garret Alfert
|
114
|
+
* Godfrey Chan
|
115
|
+
* Greg Brockman
|
116
|
+
* Hans de Graaff
|
117
|
+
* Henrik Hodne
|
118
|
+
* Janko Marohnić
|
119
|
+
* Jean Boussier
|
120
|
+
* Jeremy Evans
|
121
|
+
* Juanito Fatas
|
122
|
+
* Jun Aruga
|
123
|
+
* Łukasz Śliwa
|
124
|
+
* Keerthi Siva
|
125
|
+
* Ken Ip
|
126
|
+
* Martin d'Allens
|
127
|
+
* Mauricio Linhares
|
128
|
+
* Nicolas Leger
|
129
|
+
* Nicholas La Roux
|
130
|
+
* nycvotes-dev
|
131
|
+
* Olle Jonsson
|
132
|
+
* Postmodern
|
133
|
+
* Richard Hirner
|
134
|
+
* Richard Hurt
|
135
|
+
* Richard Schneeman
|
136
|
+
* Tibor Szolár
|
137
|
+
* Todd Carrico
|
138
|
+
|
139
|
+
[minitest]: https://github.com/seattlerb/minitest
|
140
|
+
[quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
141
|
+
[mime-types-data]: https://github.com/mime-types/mime-types-data
|
142
|
+
[Hoe]: https://github.com/seattlerb/hoe
|
143
|
+
[allocation\_tracer]: https://github.com/ko1/allocation_tracer
|
@@ -0,0 +1,240 @@
|
|
1
|
+
## 3.3.1 / 2019-12-26
|
2
|
+
|
3
|
+
* 1 minor bugfix:
|
4
|
+
|
5
|
+
* Al Snow fixed a warning with MIME::Types::Logger producing a warning
|
6
|
+
because Ruby 2.7 introduces numbered block parameters. Because of the
|
7
|
+
way that the MIME::Types::Logger works for deprecation messages, the
|
8
|
+
initializer parameters had been named `_1`, `_2`, and `_3`. This has
|
9
|
+
now been resolved. [#146][]
|
10
|
+
|
11
|
+
* Administrivia:
|
12
|
+
|
13
|
+
* Olle Jonsson removed an outdated Travis configuration option (`sudo:
|
14
|
+
false`). [#142][]
|
15
|
+
|
16
|
+
## 3.3 / 2019-09-04
|
17
|
+
|
18
|
+
* 1 minor enhancement
|
19
|
+
|
20
|
+
* Jean Boussier reduced memory usage for Ruby versions 2.3 or higher by
|
21
|
+
interning various string values in each type. This is done with a
|
22
|
+
backwards-compatible call that _freezes_ the strings on older
|
23
|
+
versions of Ruby. [#141][]
|
24
|
+
|
25
|
+
* Administrivia:
|
26
|
+
|
27
|
+
* Nicholas La Roux updated Travis build configurations. [#139][]
|
28
|
+
|
29
|
+
## 3.2.2 / 2018-08-12
|
30
|
+
|
31
|
+
* Hiroto Fukui removed a stray `debugger` statement that I had used in
|
32
|
+
producing v3.2.1. [#137][]
|
33
|
+
|
34
|
+
## 3.2.1 / 2018-08-12
|
35
|
+
|
36
|
+
* A few bugs related to MIME::Types::Container and its use in the
|
37
|
+
mime-types-data helper tools reared their head because I released 3.2
|
38
|
+
before verifying against mime-types-data.
|
39
|
+
|
40
|
+
## 3.2 / 2018-08-12
|
41
|
+
|
42
|
+
* 2 minor enhancements
|
43
|
+
|
44
|
+
* Janko Marohnić contributed a change to `MIME::Type#priority_order` that
|
45
|
+
should improve on strict sorting when dealing with MIME types that
|
46
|
+
appear to be in the same family even if strict sorting would cause an
|
47
|
+
unregistered type to be sorted first. [#132][]
|
48
|
+
|
49
|
+
* Dillon Welch contributed a change that added `frozen_string_literal:
|
50
|
+
true` to files so that modern Rubies can automatically reduce duplicate
|
51
|
+
string allocations. [#135][]
|
52
|
+
|
53
|
+
* 2 bug fixes
|
54
|
+
|
55
|
+
* Burke Libbey fixed a problem with cached data loading. [#126][]
|
56
|
+
|
57
|
+
* Resolved an issue where Enumerable#inject returns +nil+ when provided
|
58
|
+
an empty enumerable and a default value has not been provided. This is
|
59
|
+
because when Enumerable#inject isn't provided a starting value, the
|
60
|
+
first value is used as the default value. In every case where this
|
61
|
+
error was happening, the result was supposed to be an array containing
|
62
|
+
Set objects so they can be reduced to a single Set. [#117][], [#127][],
|
63
|
+
[#134][].
|
64
|
+
|
65
|
+
* Fixed an uncontrolled growth bug in MIME::Types::Container where a key
|
66
|
+
miss would create a new entry with an empty Set in the container. This
|
67
|
+
was working as designed (this particular feature was heavily used
|
68
|
+
during MIME::Type registry construction), but the design was flawed in
|
69
|
+
that it did not have any way of determining the difference between
|
70
|
+
construction and querying. This would mean that, if you have a function
|
71
|
+
in your web app that queries the MIME::Types registry by extension, the
|
72
|
+
extension registry would grow uncontrollably. [#136][]
|
73
|
+
|
74
|
+
* Deprecations:
|
75
|
+
|
76
|
+
* Lazy loading (`$RUBY_MIME_TYPES_LAZY_LOAD`) has been deprecated.
|
77
|
+
|
78
|
+
* Documentation Changes:
|
79
|
+
|
80
|
+
* Supporting files are now Markdown instead of rdoc, except for the
|
81
|
+
README.
|
82
|
+
|
83
|
+
* The history file has been modified to remove all history prior to 3.0.
|
84
|
+
This history can be found in previous commits.
|
85
|
+
|
86
|
+
* A spelling error was corrected by Edward Betts ([#129][]).
|
87
|
+
|
88
|
+
* Administrivia:
|
89
|
+
|
90
|
+
* CI configuration for more modern versions of Ruby were added by Nicolas
|
91
|
+
Leger ([#130][]), Jun Aruga ([#125][]), and Austin Ziegler. Removed
|
92
|
+
ruby-head-clang and rbx (Rubinius) from CI.
|
93
|
+
|
94
|
+
* Fixed tests which were asserting equality against nil, which will
|
95
|
+
become an error in Minitest 6.
|
96
|
+
|
97
|
+
## 3.1 / 2016-05-22
|
98
|
+
|
99
|
+
* 1 documentation change:
|
100
|
+
|
101
|
+
* Tim Smith (@tas50) updated the build badges to be SVGs to improve
|
102
|
+
readability on high-density (retina) screens with pull request
|
103
|
+
[#112][].
|
104
|
+
|
105
|
+
* 3 bug fixes
|
106
|
+
|
107
|
+
* A test for `MIME::Types::Cache` fails under Ruby 2.3 because of frozen
|
108
|
+
strings, [#118][]. This has been fixed.
|
109
|
+
|
110
|
+
* The JSON data has been incorrectly encoded since the release of
|
111
|
+
mime-types 3 on the `xrefs` field, because of the switch to using a Set
|
112
|
+
to store cross-reference information. This has been fixed.
|
113
|
+
|
114
|
+
* A tentative fix for [#117][] has been applied, removing the only
|
115
|
+
circular require dependencies that exist (and for which there was code
|
116
|
+
to prevent, but the current fix is simpler). I have no way to verify
|
117
|
+
this fix and depending on how things are loaded by `delayed_job`, this
|
118
|
+
fix may not be sufficient.
|
119
|
+
|
120
|
+
* 1 governance change
|
121
|
+
|
122
|
+
* Updated to Contributor Covenant 1.4.
|
123
|
+
|
124
|
+
## 3.0 / 2015-11-21
|
125
|
+
|
126
|
+
* 2 governance changes
|
127
|
+
|
128
|
+
* This project and the related mime-types-data project are now
|
129
|
+
exclusively MIT licensed. Resolves [#95][].
|
130
|
+
|
131
|
+
* All projects under the mime-types organization now have a standard code
|
132
|
+
of conduct adapted from the [Contributor Covenant][]. This text can be
|
133
|
+
found in the [Code-of-Conduct.md][] file.
|
134
|
+
|
135
|
+
* 3 major changes
|
136
|
+
|
137
|
+
* All methods deprecated in mime-types 2.x have been removed.
|
138
|
+
|
139
|
+
* mime-types now requires Ruby 2.0 compatibility or later. Resolves
|
140
|
+
[#97][].
|
141
|
+
|
142
|
+
* The registry data has been removed from mime-types and put into
|
143
|
+
mime-types-data, maintained and released separately. It can be found at
|
144
|
+
[mime-types-data][].
|
145
|
+
|
146
|
+
* 17 minor changes:
|
147
|
+
|
148
|
+
* `MIME::Type` changes:
|
149
|
+
|
150
|
+
* Changed the way that simplified types representations are created
|
151
|
+
to reflect the fact that `x-` prefixes are no longer considered
|
152
|
+
special according to IANA. A simplified MIME type is case-folded to
|
153
|
+
lowercase. A new keyword parameter, `remove_x_prefix`, can be
|
154
|
+
provided to remove `x-` prefixes.
|
155
|
+
|
156
|
+
* Improved initialization with an Array works so that extensions do
|
157
|
+
not need to be wrapped in another array. This means that
|
158
|
+
`%w(text/yaml yaml yml)` works in the same way that
|
159
|
+
`['text/yaml', %w(yaml yml)]` did (and still does).
|
160
|
+
|
161
|
+
* Changed `priority_compare` to conform with attributes that no
|
162
|
+
longer exist.
|
163
|
+
|
164
|
+
* Changed the internal implementation of extensions to use a frozen
|
165
|
+
Set.
|
166
|
+
|
167
|
+
* When extensions are set or modified with `add_extensions`, the
|
168
|
+
primary registry will be informed of a need to reindex extensions.
|
169
|
+
Resolves [#84][].
|
170
|
+
|
171
|
+
* The preferred extension can be set explicitly. If not set, it will
|
172
|
+
be the first extension. If the preferred extension is not in the
|
173
|
+
extension list, it will be added.
|
174
|
+
|
175
|
+
* Improved how xref URLs are generated.
|
176
|
+
|
177
|
+
* Converted `obsolete`, `registered` and `signature` to
|
178
|
+
`attr_accessors`.
|
179
|
+
|
180
|
+
* `MIME::Types` changes:
|
181
|
+
|
182
|
+
* Modified `MIME::Types.new` to track instances of `MIME::Types` so
|
183
|
+
that they can be told to reindex the extensions as necessary.
|
184
|
+
|
185
|
+
* Removed `data_version` attribute.
|
186
|
+
|
187
|
+
* Changed `#[]` so that the `complete` and `registered` flags are
|
188
|
+
keywords instead of a generic options parameter.
|
189
|
+
|
190
|
+
* Extracted the class methods to a separate file.
|
191
|
+
|
192
|
+
* Changed the container implementation to use a Set instead of an
|
193
|
+
Array to prevent data duplication. Resolves [#79][].
|
194
|
+
|
195
|
+
* `MIME::Types::Cache` changes:
|
196
|
+
|
197
|
+
* Caching is now based on the data gem version instead of the
|
198
|
+
mime-types version.
|
199
|
+
|
200
|
+
* Caching is compatible with columnar registry stores.
|
201
|
+
|
202
|
+
* `MIME::Types::Loader` changes:
|
203
|
+
|
204
|
+
* `MIME::Types::Loader::PATH` has been removed and replaced with
|
205
|
+
`MIME::Types::Data::PATH` from the mime-types-data gem. The
|
206
|
+
environment variable `RUBY_MIME_TYPES_DATA` is still used.
|
207
|
+
|
208
|
+
* Support for the long-deprecated mime-types v1 format has been
|
209
|
+
removed.
|
210
|
+
|
211
|
+
* The registry is default loaded from the columnar store by default.
|
212
|
+
The internal format of the columnar store has changed; many of the
|
213
|
+
boolean flags are now loaded from a single file. Resolves [#85][].
|
214
|
+
|
215
|
+
[#79]: https://github.com/mime-types/ruby-mime-types/pull/79
|
216
|
+
[#84]: https://github.com/mime-types/ruby-mime-types/pull/84
|
217
|
+
[#85]: https://github.com/mime-types/ruby-mime-types/pull/85
|
218
|
+
[#95]: https://github.com/mime-types/ruby-mime-types/pull/95
|
219
|
+
[#97]: https://github.com/mime-types/ruby-mime-types/pull/97
|
220
|
+
[#112]: https://github.com/mime-types/ruby-mime-types/pull/112
|
221
|
+
[#117]: https://github.com/mime-types/ruby-mime-types/issues/117
|
222
|
+
[#118]: https://github.com/mime-types/ruby-mime-types/pull/118
|
223
|
+
[#125]: https://github.com/mime-types/ruby-mime-types/pull/125
|
224
|
+
[#126]: https://github.com/mime-types/ruby-mime-types/pull/126
|
225
|
+
[#127]: https://github.com/mime-types/ruby-mime-types/issues/127
|
226
|
+
[#129]: https://github.com/mime-types/ruby-mime-types/pull/129
|
227
|
+
[#130]: https://github.com/mime-types/ruby-mime-types/pull/130
|
228
|
+
[#127]: https://github.com/mime-types/ruby-mime-types/issues/127
|
229
|
+
[#132]: https://github.com/mime-types/ruby-mime-types/pull/132
|
230
|
+
[#134]: https://github.com/mime-types/ruby-mime-types/issues/134
|
231
|
+
[#135]: https://github.com/mime-types/ruby-mime-types/pull/135
|
232
|
+
[#136]: https://github.com/mime-types/ruby-mime-types/issues/136
|
233
|
+
[#137]: https://github.com/mime-types/ruby-mime-types/pull/137
|
234
|
+
[#139]: https://github.com/mime-types/ruby-mime-types/pull/139
|
235
|
+
[#141]: https://github.com/mime-types/ruby-mime-types/pull/141
|
236
|
+
[#142]: https://github.com/mime-types/ruby-mime-types/pull/142
|
237
|
+
[#146]: https://github.com/mime-types/ruby-mime-types/pull/146
|
238
|
+
[Code-of-Conduct.md]: Code-of-Conduct_md.html
|
239
|
+
[Contributor Covenant]: http://contributor-covenant.org
|
240
|
+
[mime-types-data]: https://github.com/mime-types/mime-types-data
|