mimetype-xml 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mimetype_xml.rb +11 -0
- data/lib/mimetype_xml/generate.rb +0 -0
- data/lib/mimetype_xml/toml.rb +0 -0
- data/lib/mimetype_xml/xml.rb +0 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e6a46e448e542fb0b04608e327ac93cc7336829
|
4
|
+
data.tar.gz: 986450e06bdc33c10c40e9991af54cbc96f81c41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eb59f2d4e97ca7964148f4339189f78957ed55291e3c321e893eae363459eee9baa990f475516a9cc80e65e7209996f33857378135b53f36cc39fb386fb9bab
|
7
|
+
data.tar.gz: 2a4b85fdfabc68e8d06ab123b6d2ecdcc9fb372b38ba22df0f1d2700537a9ce6d285a4882ce3d205a82769ebe5a8ecde5b867edcaa77f56f216801c259e39155
|
data/lib/mimetype_xml.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require_relative 'mimetype_xml/toml'
|
2
|
+
require_relative 'mimetype_xml/xml'
|
3
|
+
require_relative 'mimetype_xml/generate'
|
4
|
+
|
5
|
+
module MimetypeXML
|
6
|
+
VERSIONS = { :major => 0, :minor => 1, :tiny => 0 }
|
7
|
+
|
8
|
+
def self.version *args
|
9
|
+
VERSIONS.flatten.select.with_index { |val, i| i.odd? }.join '.'
|
10
|
+
end
|
11
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mimetype-xml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Demonstrandum
|
@@ -21,6 +21,10 @@ files:
|
|
21
21
|
- LICENSE
|
22
22
|
- README.md
|
23
23
|
- bin/mimetype-xml
|
24
|
+
- lib/mimetype_xml.rb
|
25
|
+
- lib/mimetype_xml/generate.rb
|
26
|
+
- lib/mimetype_xml/toml.rb
|
27
|
+
- lib/mimetype_xml/xml.rb
|
24
28
|
homepage: https://github.com/Demonstrandum/mimetype-xml
|
25
29
|
licenses:
|
26
30
|
- GPL-2.0
|