ead 0.4.1 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ead.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 521bf231cf8fd799589f9a95abb7c12d30fab37ea1cc4829b81f2f516a49ed0f
|
4
|
+
data.tar.gz: e855abd1586c963eaf182e89f4fac8af6f7a4ef30dccc5b692afea3261320173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02530f8d06d43e5e55b10acb4d92a2ff3b9931aabc45f468805b798366f35dd87a60722c9b5e8d788e3862b53196a4b747bdb8d90b8396e7c89fb9cdcf05c4a5
|
7
|
+
data.tar.gz: b37b8c574101446d2bdb997d80c67d4da0ffa9aef271f6ef26ea7e34550000138d8105f88051a623793c4c158fd6a21e87f27572b685fdac4cc5c4a6f57b2ca8
|
data/lib/ead.rb
CHANGED
@@ -7,7 +7,7 @@ class EAD
|
|
7
7
|
def import_JSON(user_arguments)
|
8
8
|
file = File.read(user_arguments[0] || './EAD.json')
|
9
9
|
|
10
|
-
unless ['0.4.0', '0.4.1'].include? JSON.parse(file)['version']
|
10
|
+
unless ['0.4.0', '0.4.1', '0.4.2', '0.4.2', '0.4.3', '0.4.4'].include? JSON.parse(file)['version']
|
11
11
|
puts "\n\n----------------"
|
12
12
|
puts "\e[31m#{
|
13
13
|
'Versions of your EAD file and the gem are not compatible.'\
|
@@ -65,7 +65,7 @@ class EAD
|
|
65
65
|
def check_latest_version
|
66
66
|
response = JSON.parse RestClient.get 'https://api.github.com/repos/ozovalihasan/ead/tags'
|
67
67
|
|
68
|
-
unless response.first['name'] == 'v0.4.
|
68
|
+
unless response.first['name'] == 'v0.4.4'
|
69
69
|
puts "\n\n----------------"
|
70
70
|
puts "\n\e[33m#{
|
71
71
|
'A new version of this gem has been released.'\
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ead
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hasan Ozovali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|