gonative-cli 1.3.1 → 1.3.3

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
  SHA256:
3
- metadata.gz: c9448c80c2d7e7d3b728e8ef8c78e192466c5e8e90426db993e71cc1c9a77392
4
- data.tar.gz: 3d8f81f771da0fbc1a71fdbb00ba8bbbb9d46d7c117fc27aa148019eb4871dee
3
+ metadata.gz: 77f0aeb4229e0af2b2ea4a4923c4e8719721fd06fffcebcdf928ff555a8709f5
4
+ data.tar.gz: f99f29d065fbf8d76364bd0154bd942214a6bf7138f6e641da446b705e9873c4
5
5
  SHA512:
6
- metadata.gz: 8ddde02e555ca85340c00e2387faac84f367e97f08cff929b20b1fcf8d54cae601fbe0ed6f56ea03e0423b71bf372c8382a173b62a30cccbb188677caef37227
7
- data.tar.gz: 108b46e0213133bb6e154ee14be0a04d7c24e0212987966d7d262fc1941d151efaae264c6f692a035a137832119d749bfdf925bd37577c93cfad2af478e9e84b
6
+ metadata.gz: bf7702e3c3588a2f65145b3ad669133ae502e2af414e96cf5f924f847c0aead6222d9a5fad043ba7e55ee2c9dde31099a15e202afe312448ffcd529b4c32eb83
7
+ data.tar.gz: cfce7cfd10dad1db9be77dfcb9e67bc17c304a6386229d57bf5c71576e5ad991ec1204aa818b15eed6191419b5d2e0e0a2604f2e4901c9db6621eff8aa52a204
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gonative-cli (1.3.1)
4
+ gonative-cli (1.3.3)
5
5
  activesupport (~> 6.0)
6
6
  cocoapods (~> 1.10)
7
7
  colorize (~> 0.8.0)
@@ -29,12 +29,12 @@ GEM
29
29
  atomos (0.1.3)
30
30
  byebug (11.1.3)
31
31
  claide (1.1.0)
32
- cocoapods (1.13.0)
32
+ cocoapods (1.14.2)
33
33
  addressable (~> 2.8)
34
34
  claide (>= 1.0.2, < 2.0)
35
- cocoapods-core (= 1.13.0)
35
+ cocoapods-core (= 1.14.2)
36
36
  cocoapods-deintegrate (>= 1.0.3, < 2.0)
37
- cocoapods-downloader (>= 1.6.0, < 2.0)
37
+ cocoapods-downloader (>= 2.0)
38
38
  cocoapods-plugins (>= 1.0.0, < 2.0)
39
39
  cocoapods-search (>= 1.0.0, < 2.0)
40
40
  cocoapods-trunk (>= 1.6.0, < 2.0)
@@ -47,7 +47,7 @@ GEM
47
47
  nap (~> 1.0)
48
48
  ruby-macho (>= 2.3.0, < 3.0)
49
49
  xcodeproj (>= 1.23.0, < 2.0)
50
- cocoapods-core (1.13.0)
50
+ cocoapods-core (1.14.2)
51
51
  activesupport (>= 5.0, < 8)
52
52
  addressable (~> 2.8)
53
53
  algoliasearch (~> 1.0)
@@ -58,7 +58,7 @@ GEM
58
58
  public_suffix (~> 4.0)
59
59
  typhoeus (~> 1.0)
60
60
  cocoapods-deintegrate (1.0.5)
61
- cocoapods-downloader (1.6.3)
61
+ cocoapods-downloader (2.0)
62
62
  cocoapods-plugins (1.0.0)
63
63
  nap
64
64
  cocoapods-search (1.0.1)
@@ -144,7 +144,7 @@ GEM
144
144
  colored2 (~> 3.1)
145
145
  nanaimo (~> 0.3.0)
146
146
  rexml (~> 3.2.4)
147
- zeitwerk (2.6.11)
147
+ zeitwerk (2.6.12)
148
148
 
149
149
  PLATFORMS
150
150
  arm64-darwin-21
@@ -59,7 +59,7 @@ module GoNative
59
59
  app_target.add_dependency(extension_target)
60
60
  extension_file = proj.files.find { |f| f.path == "#{extension["name"]}.appex" }
61
61
  embed_phase = app_target.build_phases.find do |phase|
62
- phase.class.method_defined?(:name) && phase.name == 'Embed App Extensions'
62
+ phase.class.method_defined?(:name) && phase.name == 'Embed Foundation Extensions'
63
63
  end
64
64
  embed_phase.add_file_reference(extension_file, true)
65
65
  app_config = proj.files.find { |f| f.path == 'appConfig.json' }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.3'
5
5
  end
@@ -0,0 +1,57 @@
1
+ name: Publish a new pod version
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ release-pod:
12
+ runs-on: macos-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ with:
16
+ fetch-depth: 0
17
+
18
+ - run: git config --global user.email "noreply@gonative.io"
19
+ - run: git config --global user.name "gonative-bot"
20
+
21
+ - name: Configure ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: 3.1.2
25
+
26
+ - name: Install gonative-cli
27
+ run: gem install gonative-cli
28
+
29
+ - name: Install cocoapods
30
+ run: gem install cocoapods
31
+
32
+ - name: Get version
33
+ run: echo "version=$(gonative ios version)" >> "$GITHUB_ENV"
34
+
35
+ - name: Check if tag already exists
36
+ run: git show-ref --tags --verify --quiet -- "refs/tags/${{ env.version }}" && echo "tagged=1" >> "$GITHUB_ENV" || echo "tagged=0" >> "$GITHUB_ENV"
37
+
38
+ - name: Install SSH key
39
+ uses: shimataro/ssh-key-action@v2
40
+ with:
41
+ key: ${{ secrets.POD_SPEC_SECRET_KEY }}
42
+ known_hosts: unnecessary
43
+
44
+ - name: Add gonative-specs repo
45
+ run: pod repo add gonative-specs git@github.com:gonativeio/gonative-specs.git
46
+
47
+ - name: Publish pod
48
+ if: env.tagged == 0
49
+ run: gonative ios publish --debug
50
+
51
+ - name: Upload build directory
52
+ if: failure()
53
+ uses: actions/upload-artifact@v3
54
+ with:
55
+ name: build-dir
56
+ path: build
57
+ retention-days: 5
@@ -1 +1 @@
1
- Licensing information available at https://gonative.io/
1
+ Licensing information available at https://median.co/
@@ -1,7 +1,7 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = '#{plugin_name}'
3
3
  s.version = '0.1.0'
4
- s.summary = 'Facebook plugin for GoNative.'
4
+ s.summary = '#{plugin_name} plugin for Median.'
5
5
 
6
6
  s.description = <<-DESC
7
7
  TODO: Add long description of the pod here.
@@ -12,7 +12,7 @@ TODO: Add long description of the pod here.
12
12
  s.author = { 'hhunaid' => 'hhunaid@gmail.com' }
13
13
  s.source = { :git => 'git@github.com:gonativeio/#{repo_name}.git', :tag => s.version.to_s }
14
14
 
15
- s.ios.deployment_target = '10.0'
15
+ s.ios.deployment_target = '13.0'
16
16
  s.swift_versions = '5.0'
17
17
 
18
18
  s.subspec 'Source' do |cs|
@@ -27,6 +27,6 @@ TODO: Add long description of the pod here.
27
27
  cs.preserve_paths = ['plist/*.{plist}', 'Extensions/**/*']
28
28
  end
29
29
 
30
- s.default_subspec = 'Source'
30
+ s.default_subspec = 'Binary'
31
31
  s.dependency 'GoNativeCore'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gonative-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -229,6 +229,7 @@ files:
229
229
  - templates/plugins/android/proguard-rules.pro
230
230
  - templates/plugins/android/src/main/AndroidManifest.xml.tpl
231
231
  - templates/plugins/android/src/main/java/io/gonative/android/plugins/JAVA_PACKAGE/PLUGIN_NAME.java.tpl
232
+ - templates/plugins/ios/common/.github/workflows/release-pod.yml
232
233
  - templates/plugins/ios/common/.gitignore
233
234
  - templates/plugins/ios/common/LICENSE
234
235
  - templates/plugins/ios/common/PLUGIN_NAME.podspec.tpl