mifiel 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mifiel/version.rb +1 -1
- data/mifiel.gemspec +0 -5
- metadata +1 -64
- data/bump +0 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2ae81be4469bad8b4e6c50570d30d6db02799192d21a3851ab2d188fbc80399
|
4
|
+
data.tar.gz: f22502f1a80a508cb2af45b9e8f2872a151409b891390059642bed642f61ac4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5eed38acc15d60d738770aace88ec3506ffad3ba8882396ed3bcc643ababb03b61cbcebbaa6a90f89992571adeb22587e1778feb3b439aef1225290b3e6c3a6
|
7
|
+
data.tar.gz: accb7089bb9401eedc4e587d02915b28af583a786df590432ac153ba112a865e3ccbb108925513263f470c4fa1eedc5f245e5e691048cade50b74668a322f0ae
|
data/lib/mifiel/version.rb
CHANGED
data/mifiel.gemspec
CHANGED
@@ -19,17 +19,12 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
spec.required_ruby_version = '>= 2.6'
|
21
21
|
|
22
|
-
spec.add_runtime_dependency 'activesupport'
|
23
|
-
|
24
22
|
# 1.4 fixes a security MITM issue
|
25
23
|
# 2.5 is actually a breaking change: it changes the MD5 header
|
26
24
|
spec.add_runtime_dependency 'api-auth', '>= 1.4', '< 2.5'
|
27
25
|
spec.add_runtime_dependency 'flexirest', '~> 1.6'
|
28
|
-
spec.add_runtime_dependency 'json', '>= 1.8'
|
29
|
-
spec.add_runtime_dependency 'rest-client', '>= 1.8'
|
30
26
|
|
31
27
|
spec.add_development_dependency 'appraisal'
|
32
|
-
spec.add_development_dependency 'bump', '~> 0.5', '>= 0.5.3'
|
33
28
|
spec.add_development_dependency 'bundler'
|
34
29
|
spec.add_development_dependency 'rake'
|
35
30
|
spec.add_development_dependency 'rspec'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mifiel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genaro Madrid
|
@@ -10,20 +10,6 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: activesupport
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: api-auth
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,34 +44,6 @@ dependencies:
|
|
58
44
|
- - "~>"
|
59
45
|
- !ruby/object:Gem::Version
|
60
46
|
version: '1.6'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: json
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '1.8'
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '1.8'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rest-client
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.8'
|
82
|
-
type: :runtime
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.8'
|
89
47
|
- !ruby/object:Gem::Dependency
|
90
48
|
name: appraisal
|
91
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,26 +58,6 @@ dependencies:
|
|
100
58
|
- - ">="
|
101
59
|
- !ruby/object:Gem::Version
|
102
60
|
version: '0'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: bump
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0.5'
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 0.5.3
|
113
|
-
type: :development
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '0.5'
|
120
|
-
- - ">="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 0.5.3
|
123
61
|
- !ruby/object:Gem::Dependency
|
124
62
|
name: bundler
|
125
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,7 +159,6 @@ files:
|
|
221
159
|
- LICENSE.txt
|
222
160
|
- README.md
|
223
161
|
- Rakefile
|
224
|
-
- bump
|
225
162
|
- gemfiles/rails_5.gemfile
|
226
163
|
- gemfiles/rails_6.gemfile
|
227
164
|
- gemfiles/rails_7.gemfile
|
data/bump
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
#!/usr/bin/env python
|
2
|
-
import re, glob, sys, os
|
3
|
-
|
4
|
-
__USAGE__ = \
|
5
|
-
"""BUMP is a semantic versioning bump script which accepts the following
|
6
|
-
mutually exclusive arguments:
|
7
|
-
-m - a "major" version bump equal to +1.0.0
|
8
|
-
-n - a "minor" version bump equal to +0.1.0
|
9
|
-
-p - a "patch" version bump equal to +0.0.1
|
10
|
-
-h - a "hot fix" version bump equal to +0.0.1
|
11
|
-
|
12
|
-
All of these options allow for the -r flag, which indicates that the state
|
13
|
-
is a RELEASE not a SNAPSHOT. If -r is not specified, then -SNAPSHOT is
|
14
|
-
appended to the updated version string."""
|
15
|
-
|
16
|
-
__INITIAL__ = ['0', '0', '1']
|
17
|
-
|
18
|
-
|
19
|
-
if __name__ == "__main__":
|
20
|
-
v = []
|
21
|
-
try:
|
22
|
-
version_file = glob.glob("lib/*/version.rb")[0]
|
23
|
-
raw_v = re.search(r'VERSION = \'(.*)\'', open(version_file).read(), re.M|re.I|re.S).group(1)
|
24
|
-
v = re.split(re.compile("\.|-"), raw_v)
|
25
|
-
v = v[0:3]
|
26
|
-
map(int, v)
|
27
|
-
|
28
|
-
except ValueError:
|
29
|
-
print("failed to parse the existing VERSION file, assuming v 0.0.1")
|
30
|
-
v = ['0', '0', '1']
|
31
|
-
|
32
|
-
except FileNotFoundError:
|
33
|
-
print("failed to find a VERSION file, assuming v 0.0.0")
|
34
|
-
v = ['0', '0', '0']
|
35
|
-
|
36
|
-
op = ''
|
37
|
-
try:
|
38
|
-
op = sys.argv[1]
|
39
|
-
except:
|
40
|
-
print(__USAGE__)
|
41
|
-
sys.exit(-1)
|
42
|
-
|
43
|
-
if(op == '-m'):
|
44
|
-
v = [str(int(v[0])+1), '0', '0']
|
45
|
-
|
46
|
-
elif(op == '-n'):
|
47
|
-
v = [v[0], str(int(v[1])+1), '0']
|
48
|
-
|
49
|
-
elif(op == '-p' or op == '-h'):
|
50
|
-
v = [v[0], v[1], str(int(v[2])+1)]
|
51
|
-
|
52
|
-
else:
|
53
|
-
print(__USAGE__)
|
54
|
-
sys.exit(-1)
|
55
|
-
|
56
|
-
v = '.'.join(v)
|
57
|
-
|
58
|
-
if(op == '-h'):
|
59
|
-
os.system("git checkout -b hotfix/v%s master" % v)
|
60
|
-
|
61
|
-
else:
|
62
|
-
os.system("git checkout -b release/v%s develop" % v)
|
63
|
-
|
64
|
-
os.system("bump set %s" % v)
|
65
|
-
|
66
|
-
v += "\n"
|
67
|
-
|
68
|
-
print(v)
|
69
|
-
|
70
|
-
sys.exit(0)
|