From 150087bd83d91fcdedbc6878a403b7721f090ac5 Mon Sep 17 00:00:00 2001 From: Claire Peyron Date: Fri, 5 Jul 2024 09:27:48 +0200 Subject: [PATCH] update some doc and add makefiles --- README.md | 2 + danger-ad_licenselint/Gemfile.lock | 159 +++++++++++------- danger-ad_licenselint/Makefile | 11 ++ .../lib/ad_licenselint/gem_version.rb | 2 +- fastlane-plugin-ad_licenselint/Makefile | 14 ++ .../fastlane/plugin/ad_licenselint/version.rb | 2 +- 6 files changed, 125 insertions(+), 65 deletions(-) create mode 100644 danger-ad_licenselint/Makefile create mode 100644 fastlane-plugin-ad_licenselint/Makefile diff --git a/README.md b/README.md index 889a902..b45867b 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,8 @@ Run `make tests` to run the tests. 2. Create a `release` branch 3. Update the version in field `s.version` from file `ad_licenselint.gemspec` 4. Execute `make publish` +5. Update `VERSION` from file `danger-ad_lincenselint/lib/ad_licencelint/gem_version.rb` and `fatlane-plugin-ad_licenselint/lib/fastlane/plugin/ad_licencelint/gem_version.rb` +6. Go to `danger-ad_lincenselint` and `fastlane-plugin-ad_licenselint` to publish them as well You may need to configure your account at step `4.` if you've never pushed any gem. You can find all the informations you need on [the official documentation](https://guides.rubygems.org/make-your-own-gem/#your-first-gem). diff --git a/danger-ad_licenselint/Gemfile.lock b/danger-ad_licenselint/Gemfile.lock index 5b88824..48b42c2 100644 --- a/danger-ad_licenselint/Gemfile.lock +++ b/danger-ad_licenselint/Gemfile.lock @@ -1,93 +1,114 @@ PATH remote: . specs: - danger-ad_licenselint (1.0.1) + danger-ad_licenselint (1.5.0) ad_licenselint (~> 1.1) danger-plugin-api (~> 1.0) GEM remote: https://rubygems.org/ specs: - activesupport (6.1.4.1) + CFPropertyList (3.0.7) + base64 + nkf + rexml + activesupport (5.2.8.1) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - zeitwerk (~> 2.3) - ad_licenselint (1.2.0) - cocoapods-core (~> 1.9) - colorize (~> 0.8) - terminal-table (~> 1.8) - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + ad_licenselint (1.5.0) + cocoapods (~> 1.9) + colorize (~> 1.0) + terminal-table (~> 3.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) algoliasearch (1.27.5) httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) ast (2.4.2) - claide (1.0.3) + atomos (0.1.3) + base64 (0.2.0) + claide (1.1.0) claide-plugins (0.9.2) cork nap open4 (~> 1.3) - cocoapods-core (1.11.0) - activesupport (>= 5.0, < 7) - addressable (~> 2.8) + cocoapods (1.10.2) + addressable (~> 2.6) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.10.2) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 1.4.0, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.4.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.6.6) + nap (~> 1.0) + ruby-macho (~> 1.4) + xcodeproj (>= 1.19.0, < 2.0) + cocoapods-core (1.10.2) + activesupport (> 5.0, < 6) + addressable (~> 2.6) algoliasearch (~> 1.0) concurrent-ruby (~> 1.1) fuzzy_match (~> 2.0.4) nap (~> 1.0) netrc (~> 0.11) - public_suffix (~> 4.0) + public_suffix typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (1.6.3) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) coderay (1.1.3) colored2 (3.1.2) - colorize (0.8.1) - concurrent-ruby (1.1.9) + colorize (1.1.0) + concurrent-ruby (1.3.3) cork (0.3.0) colored2 (~> 3.1) - danger (8.3.1) + danger (9.4.3) claide (~> 1.0) claide-plugins (>= 0.9.2) colored2 (~> 3.1) cork (~> 0.1) - faraday (>= 0.9.0, < 2.0) + faraday (>= 0.9.0, < 3.0) faraday-http-cache (~> 2.0) - git (~> 1.7) + git (~> 1.13) kramdown (~> 2.3) kramdown-parser-gfm (~> 1.0) no_proxy_fix - octokit (~> 4.7) + octokit (>= 4.0) terminal-table (>= 1, < 4) danger-plugin-api (1.0.0) danger (> 2.0) diff-lcs (1.4.4) - ethon (0.14.0) + escape (0.0.4) + ethon (0.16.0) ffi (>= 1.15.0) - faraday (1.7.1) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) - ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-http-cache (2.2.0) + faraday (2.9.2) + faraday-net_http (>= 2.0, < 3.2) + faraday-http-cache (2.5.1) faraday (>= 0.8) - faraday-httpclient (1.0.1) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) + faraday-net_http (3.1.0) + net-http ffi (1.15.4) formatador (0.3.0) + fourflusher (2.3.1) fuzzy_match (2.0.4) - git (1.9.1) + gh_inspector (1.1.3) + git (1.19.1) + addressable (~> 2.8) rchardet (~> 1.8) guard (2.18.0) formatador (>= 0.2.4) @@ -104,10 +125,10 @@ GEM guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) httpclient (2.8.3) - i18n (1.8.10) + i18n (1.14.5) concurrent-ruby (~> 1.0) - json (2.5.1) - kramdown (2.3.1) + json (2.7.2) + kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) @@ -116,18 +137,22 @@ GEM rb-inotify (>= 0.9.7) lumberjack (1.2.8) method_source (1.0.0) - minitest (5.14.4) - multipart-post (2.1.1) + minitest (5.24.1) + molinillo (0.6.6) + nanaimo (0.3.0) nap (1.1.0) nenv (0.3.0) + net-http (0.4.1) + uri netrc (0.11.0) + nkf (0.2.0) no_proxy_fix (0.1.2) notiffany (0.1.3) nenv (~> 0.1) shellany (~> 0.0) - octokit (4.21.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + octokit (9.1.0) + faraday (>= 1, < 3) + sawyer (~> 0.9) open4 (1.3.4) parallel (1.20.1) parser (3.0.2.0) @@ -135,7 +160,7 @@ GEM pry (0.14.1) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (4.0.6) + public_suffix (6.0.0) rainbow (3.0.0) rake (10.5.0) rb-fsevent (0.11.0) @@ -168,22 +193,30 @@ GEM unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.11.0) parser (>= 3.0.1.1) + ruby-macho (1.4.0) ruby-progressbar (1.11.0) - ruby2_keywords (0.0.5) - sawyer (0.8.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) + faraday (>= 0.17.3, < 3) shellany (0.0.1) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) thor (1.1.0) - typhoeus (1.4.0) + thread_safe (0.3.6) + typhoeus (1.4.1) ethon (>= 0.9.0) - tzinfo (2.0.4) - concurrent-ruby (~> 1.0) + tzinfo (1.2.11) + thread_safe (~> 0.1) unicode-display_width (1.7.0) + uri (0.13.0) + xcodeproj (1.24.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (~> 3.2.4) yard (0.9.26) - zeitwerk (2.4.2) PLATFORMS ruby diff --git a/danger-ad_licenselint/Makefile b/danger-ad_licenselint/Makefile new file mode 100644 index 0000000..71c7553 --- /dev/null +++ b/danger-ad_licenselint/Makefile @@ -0,0 +1,11 @@ +build: + gem build danger-ad_licenselint.gemspec + +install: clean build + gem install danger-ad_licenselint-*.gem + +publish: clean build + gem push danger-ad_licenselint-*.gem + +clean: + rm -f danger-ad_licenselint-*.gem diff --git a/danger-ad_licenselint/lib/ad_licenselint/gem_version.rb b/danger-ad_licenselint/lib/ad_licenselint/gem_version.rb index 67fa771..2e38c8e 100644 --- a/danger-ad_licenselint/lib/ad_licenselint/gem_version.rb +++ b/danger-ad_licenselint/lib/ad_licenselint/gem_version.rb @@ -1,3 +1,3 @@ module AdLicenselint - VERSION = "1.0.1".freeze + VERSION = "1.5.0".freeze end diff --git a/fastlane-plugin-ad_licenselint/Makefile b/fastlane-plugin-ad_licenselint/Makefile new file mode 100644 index 0000000..81611f2 --- /dev/null +++ b/fastlane-plugin-ad_licenselint/Makefile @@ -0,0 +1,14 @@ +build: + gem build fastlane-plugin-ad_licenselint.gemspec + +install: clean build + gem install fastlane-plugin-ad_licenselint-*.gem + +publish: clean build + gem push fastlane-plugin-ad_licenselint-*.gem + +clean: + rm -f fastlane-plugin-ad_licenselint-*.gem + +tests: + bundle exec rake test \ No newline at end of file diff --git a/fastlane-plugin-ad_licenselint/lib/fastlane/plugin/ad_licenselint/version.rb b/fastlane-plugin-ad_licenselint/lib/fastlane/plugin/ad_licenselint/version.rb index 8bad32a..4ce52eb 100644 --- a/fastlane-plugin-ad_licenselint/lib/fastlane/plugin/ad_licenselint/version.rb +++ b/fastlane-plugin-ad_licenselint/lib/fastlane/plugin/ad_licenselint/version.rb @@ -1,5 +1,5 @@ module Fastlane module AdLicenselint - VERSION = "1.1.1" + VERSION = "1.5.0" end end