fastlane-plugin-swiftformat 0.1.0 → 0.2.0

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
- SHA1:
3
- metadata.gz: e72acfd10fcf8470ad31b0201f0dd372f605b4e2
4
- data.tar.gz: 517c364dc1d4cb78c13ac15be61eff9bd5a8780d
2
+ SHA256:
3
+ metadata.gz: afe1e310db73da7c45eb62a95aca859f560064af391f68050a341ecc2639c013
4
+ data.tar.gz: b607f2eff15cde95d6ec7f45ea9adc99802ec8637481521a677f4be4a705ef68
5
5
  SHA512:
6
- metadata.gz: 71995b5bda7b711ca58d8c2dd0ace837ae1b9f39ceef2e4b10c18c7b8772b51317d2a2034e9b5e311baf1726c5e4b2f623412b2ae619bf66e53c16a690277d15
7
- data.tar.gz: 874f0c92fd85c735a46604201c2d0ab00c3d5268e7b61eb38d60695b7bd1466b3e297c7e2f126b7b3555089314041f9d0051be6a0e5641fe26265ccd7c977d08
6
+ metadata.gz: c48025cd991d76ae29bb3849d96cad406659a5b2739935d2960b47ffc39d1b5ecb36222ed3712b2c760b328b5ff69944e82d8f4837915c3bd932a45df86f702e
7
+ data.tar.gz: f456df0d2aeb4676486b5d4831bc008ac70877915cb70834a4889846ba5912c4cac5b4d0f400837bca1b4d97bb2d43f91e5b7e57bea4d137057bd020327a39f9
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-swiftformat`, add it to your project by running:
8
8
 
9
9
  ```bash
10
- gem "fastlane-plugin-swiftformat", git: "https://github.com/fxm90/fastlane-plugin-swiftformat"
10
+ gem 'fastlane-plugin-swiftformat'
11
11
  ```
12
12
 
13
13
  ## About fastlane-plugin-swiftformat
@@ -50,6 +50,7 @@ module Fastlane
50
50
  def self.available_options
51
51
  [
52
52
  FastlaneCore::ConfigItem.new(key: :executable,
53
+ env_name: "SWIFTFORMAT_EXECUTABLE",
53
54
  description: "Path to the `swiftformat` executable on your machine",
54
55
  is_string: true,
55
56
  optional: true,
@@ -57,6 +58,7 @@ module Fastlane
57
58
  UI.user_error!("Couldn't find path '#{File.expand_path(value)}'") unless File.exist?(value) || Helper.test?
58
59
  end),
59
60
  FastlaneCore::ConfigItem.new(key: :path,
61
+ env_name: "SWIFTFORMAT_PATH",
60
62
  description: "Path to format",
61
63
  is_string: true,
62
64
  optional: true,
@@ -64,22 +66,27 @@ module Fastlane
64
66
  UI.user_error!("Couldn't find path '#{File.expand_path(value)}'") unless File.exist?(value) || Helper.test?
65
67
  end),
66
68
  FastlaneCore::ConfigItem.new(key: :rules,
69
+ env_name: "SWIFTFORMAT_RULES",
67
70
  description: "Specify a whitelist of rules",
68
71
  is_string: false,
69
72
  optional: true),
70
73
  FastlaneCore::ConfigItem.new(key: :disable,
74
+ env_name: "SWIFTFORMAT_DISABLE",
71
75
  description: "Specify rules to disable",
72
76
  is_string: false,
73
77
  optional: true),
74
78
  FastlaneCore::ConfigItem.new(key: :enable,
79
+ env_name: "SWIFTFORMAT_ENABLE",
75
80
  description: "Specify rules to enable",
76
81
  is_string: false,
77
82
  optional: true),
78
83
  FastlaneCore::ConfigItem.new(key: :swiftversion,
84
+ env_name: "SWIFTFORMAT_SWIFTVERSION",
79
85
  description: "Specify swift version",
80
86
  is_string: false,
81
87
  optional: true),
82
88
  FastlaneCore::ConfigItem.new(key: :config,
89
+ env_name: "SWIFTFORMAT_CONFIG",
83
90
  description: "Path to configuration file",
84
91
  is_string: true,
85
92
  optional: true,
@@ -87,10 +94,12 @@ module Fastlane
87
94
  UI.user_error!("Couldn't find path '#{File.expand_path(value)}'") unless File.exist?(value) || Helper.test?
88
95
  end),
89
96
  FastlaneCore::ConfigItem.new(key: :dryrun,
97
+ env_name: "SWIFTFORMAT_DRYRUN",
90
98
  description: "Run in dry mode (without actually changing any files)",
91
99
  is_string: false,
92
100
  optional: true),
93
101
  FastlaneCore::ConfigItem.new(key: :lint,
102
+ env_name: "SWIFTFORMAT_LINT",
94
103
  description: "Like `--dryrun`, but returns an error if formatting is needed",
95
104
  is_string: false,
96
105
  optional: true)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Swiftformat
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-swiftformat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Mau
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2022-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.141.0
139
- description:
139
+ description:
140
140
  email: me@felix.hamburg
141
141
  executables: []
142
142
  extensions: []
@@ -152,7 +152,7 @@ homepage: https://github.com/fxm90/fastlane-plugin-swiftformat
152
152
  licenses:
153
153
  - MIT
154
154
  metadata: {}
155
- post_install_message:
155
+ post_install_message:
156
156
  rdoc_options: []
157
157
  require_paths:
158
158
  - lib
@@ -167,9 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubyforge_project:
171
- rubygems_version: 2.5.2.3
172
- signing_key:
170
+ rubygems_version: 3.1.2
171
+ signing_key:
173
172
  specification_version: 4
174
173
  summary: Run swift code formatting using SwiftFormat
175
174
  test_files: []