fastlane-plugin-gs_versioning 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: fdfb732e715604c448fa7bce2399a7badf48b9ab
4
- data.tar.gz: 0456e92083952a4646e13ec9241a27047173befe
3
+ metadata.gz: 7b405263b5984f70e7facd46853c7c8fea4a769e
4
+ data.tar.gz: 36b56fac51fe64d0be291665a152041657c17807
5
5
  SHA512:
6
- metadata.gz: c523d829c123027e156924ca2961ffaa60b2162f67834feff35e3f4337df1e9db6e386bade1c49901f7dc067866e14243368e2c6e8abdc3dc45d0cdf10366f3b
7
- data.tar.gz: ba002481f248c1f439e93ef8dd1b6222b0d28f91692cde04f07e28a3f5feb9722e29be5a0fa43a7e166ce4a5742958e7e2064aa01e6efbb6e33f3a8ed3f59000
6
+ metadata.gz: 352caecd61e04bb1fca06acf9e7f217970cdf52ba1205bcccf72c71e0f18d07a1bff1c46a000db1dae13c0d464b601ef49cff9a6bca11b5dae029c190413fba5
7
+ data.tar.gz: 977204c2720bd4be215a76a4d5d088081a0b86a1ba2f4227362ac7e74f8b47a6858948f93c5c74d79fb734d7c50a517cf0de654bcec93044d43705ab7fd6fc46
@@ -7,6 +7,9 @@ module Fastlane
7
7
  UI.message(jsonstr)
8
8
  json = JSON.parse(jsonstr)
9
9
  v = Version.parse(json[params[:project_name]])
10
+ UI.message("beta: " + v["beta"].to_s)
11
+ UI.message("rc: " + v["rc"].to_s)
12
+ UI.message("release: " + v["release"].to_s)
10
13
  v["beta"]
11
14
  end
12
15
 
@@ -11,6 +11,9 @@ module Fastlane
11
11
  #TODO: впилить проверку на правильный формат
12
12
  {"beta" => self.parse_beta(parsed), "rc" => self.parse_rc(parsed),"release" => self.parse_release(parsed)}
13
13
  end
14
+ def to_s
15
+ self.major.to_s + "." + self.minor.to_s + "." + self.build.to_s
16
+ end
14
17
  def self.parse_beta(parsed)
15
18
  beta_version = parsed["beta"]
16
19
  self.parse_string(beta_version)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsVersioning
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - SAVeselovskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-25 00:00:00.000000000 Z
11
+ date: 2017-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane-plugin-versioning
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: fastlane
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: 1.107.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.107.0
111
111
  description:
@@ -114,9 +114,6 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
- - LICENSE
118
- - README.md
119
- - lib/fastlane/plugin/gs_versioning.rb
120
117
  - lib/fastlane/plugin/gs_versioning/actions/gs_get_beta_version.rb
121
118
  - lib/fastlane/plugin/gs_versioning/actions/gs_get_rc_version.rb
122
119
  - lib/fastlane/plugin/gs_versioning/actions/gs_get_release_version.rb
@@ -129,6 +126,9 @@ files:
129
126
  - lib/fastlane/plugin/gs_versioning/actions/gs_save_release_version.rb
130
127
  - lib/fastlane/plugin/gs_versioning/helper/gs_versioning_helper.rb
131
128
  - lib/fastlane/plugin/gs_versioning/version.rb
129
+ - lib/fastlane/plugin/gs_versioning.rb
130
+ - README.md
131
+ - LICENSE
132
132
  homepage: https://github.com/SAVeselovskiy/gs_versioning
133
133
  licenses:
134
134
  - MIT
@@ -139,18 +139,19 @@ require_paths:
139
139
  - lib
140
140
  required_ruby_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ">="
142
+ - - '>='
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - ">="
147
+ - - '>='
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.6.8
152
+ rubygems_version: 2.0.14.1
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Plugin for GradoService versioning system
156
156
  test_files: []
157
+ has_rdoc: