cocoapods-embed-flutter 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.vscode/extensions.json +6 -0
  3. data/CHANGELOG.md +42 -0
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +62 -4
  6. data/README.md +29 -1
  7. data/Rakefile +19 -8
  8. data/cocoapods-embed-flutter.gemspec +12 -11
  9. data/lib/cocoapods-embed-flutter/flutter/external_sources.rb +14 -7
  10. data/lib/cocoapods-embed-flutter/gem_version.rb +1 -1
  11. data/lib/cocoapods-embed-flutter/src/pub.rb +4 -1
  12. metadata +8 -33
  13. data/.github/config/config.js +0 -21
  14. data/.github/config/package-lock.json +0 -223
  15. data/.github/config/package.json +0 -16
  16. data/.github/config/pre_changelog_hook.js +0 -27
  17. data/.github/dependabot.yml +0 -23
  18. data/.github/workflows/main.yml +0 -146
  19. data/example/flutter_module/.gitignore +0 -48
  20. data/example/flutter_module/.metadata +0 -10
  21. data/example/flutter_module/README.md +0 -11
  22. data/example/flutter_module/analysis_options.yaml +0 -4
  23. data/example/flutter_module/flutter_module.iml +0 -18
  24. data/example/flutter_module/flutter_module_android.iml +0 -27
  25. data/example/flutter_module/lib/main.dart +0 -112
  26. data/example/flutter_module/pubspec.lock +0 -174
  27. data/example/flutter_module/pubspec.yaml +0 -87
  28. data/example/flutter_module/test/widget_test.dart +0 -30
  29. data/example/ios_app/Gemfile +0 -4
  30. data/example/ios_app/Gemfile.lock +0 -110
  31. data/example/ios_app/Podfile +0 -11
  32. data/example/ios_app/Podfile.lock +0 -28
  33. data/example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
  34. data/example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
  35. data/example/ios_app/ios_app/Assets.xcassets/Contents.json +0 -6
  36. data/example/ios_app/ios_app/ContentView.swift +0 -40
  37. data/example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  38. data/example/ios_app/ios_app/ios_appApp.swift +0 -18
  39. data/example/ios_app/ios_app.xcodeproj/project.pbxproj +0 -426
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 471eb33cb4b395feb321e162537e6f2bc5edd026ce7460842c446fd22f6daecc
4
- data.tar.gz: 4f12be7ae404447c898e4602cd7ce70191c7e18c55fa62308ccfaf3ffc2b23c0
3
+ metadata.gz: 2a64be69df26a945c384cd9c91456396a1dae3542120763103cea1ea95906c62
4
+ data.tar.gz: 379fd07871bf85cddaf9f3287d08d92e5ef82a31502a81929f14804de9744db6
5
5
  SHA512:
6
- metadata.gz: 70cabc00a991ab2d31a09428bdf14a9f1d6f2a3640065ca56f36ed630ff867228c666767de4300a1dc4d0679b65556beff82bc314728cb468d5432a6e75ab1e2
7
- data.tar.gz: 1715cc8592d8fe62f4e99314c98c18f2430647a1403a39dea6df732e17248e2a677ceae42f65a2c24f3d179aba86a69b6f72dc6c775fa82e270cf529be20a162
6
+ metadata.gz: 81f87e0aa277b5eedbd585a6db5c026f08a06913f24e11a3037ffe5226a2bdccdac5c96339fa5cfde605896a276708ee8ce0d89ffe47769aa584ed211e0b25d6
7
+ data.tar.gz: 29648b77e626389b0a41e8f4548797935d9ce98638ac267dc41594652518ad69e2b22a4a4f353e2a35781b3e25133a16d9b43682d87c355fe1b82b7e140c48b6
@@ -0,0 +1,6 @@
1
+ {
2
+ "recommendations": [
3
+ "castwide.solargraph",
4
+ "rebornix.ruby"
5
+ ]
6
+ }
data/CHANGELOG.md CHANGED
@@ -1,3 +1,45 @@
1
+ ## [0.6.0](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.3...v0.6.0) (2022-03-27)
2
+
3
+
4
+ ### 📚 Documentation
5
+
6
+ * **README:** add pub.dev limitation ([8f955f3](https://github.com/DartBuild/cocoapods-embed-flutter/commit/8f955f36519b1e5eeac89ffebd660a5f84f9983b))
7
+
8
+
9
+ ### 🛠 Dependency
10
+
11
+ * bump cocoapods from 1.11.2 to 1.11.3 ([#4](https://github.com/DartBuild/cocoapods-embed-flutter/issues/4)) ([152737d](https://github.com/DartBuild/cocoapods-embed-flutter/commit/152737dd77852ef6937b5f458019e6535a426755))
12
+
13
+
14
+ ### 💄 Styles
15
+
16
+ * add vscode extensions recommendation ([4f021fb](https://github.com/DartBuild/cocoapods-embed-flutter/commit/4f021fbfa75dd58d1257c43ea3d19cb68b8a19e6))
17
+
18
+
19
+ ### 🚀 Features
20
+
21
+ * allow specifying different path for remote sources ([bc9c850](https://github.com/DartBuild/cocoapods-embed-flutter/commit/bc9c8509f90ef88248b56361794b6f8f1182a082))
22
+
23
+ ### [0.5.3](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.2...v0.5.3) (2022-03-18)
24
+
25
+
26
+ ### 📚 Documentation
27
+
28
+ * **README:** add limitations ([9133edc](https://github.com/DartBuild/cocoapods-embed-flutter/commit/9133edc006973892b2e55ef13a30f6ae8e8b7ad4))
29
+
30
+ ### [0.5.2](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.1...v0.5.2) (2022-03-12)
31
+
32
+
33
+ ### 📚 Documentation
34
+
35
+ * add helpful links and badges ([4ab6983](https://github.com/DartBuild/cocoapods-embed-flutter/commit/4ab69837d5057a0049e1533a00c6209556aec5b0))
36
+
37
+
38
+ ### 💡 Continuous Integration
39
+
40
+ * **Deps:** bump actions/checkout from 2 to 3 ([#2](https://github.com/DartBuild/cocoapods-embed-flutter/issues/2)) ([3d1ca07](https://github.com/DartBuild/cocoapods-embed-flutter/commit/3d1ca0732a87e04561bc68ba1bbfc337173cd783))
41
+ * **Deps:** bump actions/setup-node from 2 to 3 ([#3](https://github.com/DartBuild/cocoapods-embed-flutter/issues/3)) ([efd8f1a](https://github.com/DartBuild/cocoapods-embed-flutter/commit/efd8f1a82ce8ca6cd12adc1e5ca943a316a44b03))
42
+
1
43
  ### [0.5.1](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.0...v0.5.1) (2022-03-11)
2
44
 
3
45
 
data/Gemfile CHANGED
@@ -12,4 +12,5 @@ group :development do
12
12
  gem 'bacon'
13
13
  gem 'mocha-on-bacon'
14
14
  gem 'prettybacon'
15
+ gem 'solargraph'
15
16
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-embed-flutter (0.5.0)
4
+ cocoapods-embed-flutter (0.6.0)
5
5
  cocoapods
6
6
  fileutils
7
7
  yaml
@@ -22,13 +22,16 @@ GEM
22
22
  algoliasearch (1.27.5)
23
23
  httpclient (~> 2.8, >= 2.8.3)
24
24
  json (>= 1.5.1)
25
+ ast (2.4.2)
25
26
  atomos (0.1.3)
27
+ backport (1.2.0)
26
28
  bacon (1.2.0)
29
+ benchmark (0.2.0)
27
30
  claide (1.1.0)
28
- cocoapods (1.11.2)
31
+ cocoapods (1.11.3)
29
32
  addressable (~> 2.8)
30
33
  claide (>= 1.0.2, < 2.0)
31
- cocoapods-core (= 1.11.2)
34
+ cocoapods-core (= 1.11.3)
32
35
  cocoapods-deintegrate (>= 1.0.3, < 2.0)
33
36
  cocoapods-downloader (>= 1.4.0, < 2.0)
34
37
  cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -43,7 +46,7 @@ GEM
43
46
  nap (~> 1.0)
44
47
  ruby-macho (>= 1.0, < 3.0)
45
48
  xcodeproj (>= 1.21.0, < 2.0)
46
- cocoapods-core (1.11.2)
49
+ cocoapods-core (1.11.3)
47
50
  activesupport (>= 5.0, < 7)
48
51
  addressable (~> 2.8)
49
52
  algoliasearch (~> 1.0)
@@ -66,6 +69,8 @@ GEM
66
69
  concurrent-ruby (1.1.9)
67
70
  descendants_tracker (0.0.4)
68
71
  thread_safe (~> 0.3, >= 0.3.1)
72
+ diff-lcs (1.5.0)
73
+ e2mmap (0.1.0)
69
74
  escape (0.0.4)
70
75
  ethon (0.15.0)
71
76
  ffi (>= 1.15.0)
@@ -107,8 +112,13 @@ GEM
107
112
  httpclient (2.8.3)
108
113
  i18n (1.10.0)
109
114
  concurrent-ruby (~> 1.0)
115
+ jaro_winkler (1.5.4)
110
116
  json (2.6.1)
111
117
  jwt (2.3.0)
118
+ kramdown (2.3.1)
119
+ rexml
120
+ kramdown-parser-gfm (1.1.0)
121
+ kramdown (~> 2.0)
112
122
  minitest (5.15.0)
113
123
  mocha (1.13.0)
114
124
  mocha-on-bacon (0.2.3)
@@ -120,25 +130,70 @@ GEM
120
130
  nanaimo (0.3.0)
121
131
  nap (1.1.0)
122
132
  netrc (0.11.0)
133
+ nokogiri (1.13.3-arm64-darwin)
134
+ racc (~> 1.4)
135
+ nokogiri (1.13.3-x86_64-darwin)
136
+ racc (~> 1.4)
137
+ nokogiri (1.13.3-x86_64-linux)
138
+ racc (~> 1.4)
123
139
  oauth2 (1.4.9)
124
140
  faraday (>= 0.17.3, < 3.0)
125
141
  jwt (>= 1.0, < 3.0)
126
142
  multi_json (~> 1.3)
127
143
  multi_xml (~> 0.5)
128
144
  rack (>= 1.2, < 3)
145
+ parallel (1.21.0)
146
+ parser (3.1.1.0)
147
+ ast (~> 2.4.1)
129
148
  prettybacon (0.0.2)
130
149
  bacon (~> 1.2)
131
150
  public_suffix (4.0.6)
151
+ racc (1.6.0)
132
152
  rack (2.2.3)
153
+ rainbow (3.1.1)
133
154
  rake (13.0.6)
155
+ regexp_parser (2.2.1)
156
+ reverse_markdown (2.1.1)
157
+ nokogiri
134
158
  rexml (3.2.5)
159
+ rubocop (1.26.0)
160
+ parallel (~> 1.10)
161
+ parser (>= 3.1.0.0)
162
+ rainbow (>= 2.2.2, < 4.0)
163
+ regexp_parser (>= 1.8, < 3.0)
164
+ rexml
165
+ rubocop-ast (>= 1.16.0, < 2.0)
166
+ ruby-progressbar (~> 1.7)
167
+ unicode-display_width (>= 1.4.0, < 3.0)
168
+ rubocop-ast (1.16.0)
169
+ parser (>= 3.1.1.0)
135
170
  ruby-macho (2.5.1)
171
+ ruby-progressbar (1.11.0)
136
172
  ruby2_keywords (0.0.5)
173
+ solargraph (0.44.3)
174
+ backport (~> 1.2)
175
+ benchmark
176
+ bundler (>= 1.17.2)
177
+ diff-lcs (~> 1.4)
178
+ e2mmap
179
+ jaro_winkler (~> 1.5)
180
+ kramdown (~> 2.3)
181
+ kramdown-parser-gfm (~> 1.1)
182
+ parser (~> 3.0)
183
+ reverse_markdown (>= 1.0.5, < 3)
184
+ rubocop (>= 0.52)
185
+ thor (~> 1.0)
186
+ tilt (~> 2.0)
187
+ yard (~> 0.9, >= 0.9.24)
188
+ thor (1.2.1)
137
189
  thread_safe (0.3.6)
190
+ tilt (2.0.10)
138
191
  typhoeus (1.4.0)
139
192
  ethon (>= 0.9.0)
140
193
  tzinfo (2.0.4)
141
194
  concurrent-ruby (~> 1.0)
195
+ unicode-display_width (2.1.0)
196
+ webrick (1.7.0)
142
197
  xcodeproj (1.21.0)
143
198
  CFPropertyList (>= 2.3.3, < 4.0)
144
199
  atomos (~> 0.1.3)
@@ -147,6 +202,8 @@ GEM
147
202
  nanaimo (~> 0.3.0)
148
203
  rexml (~> 3.2.4)
149
204
  yaml (0.2.0)
205
+ yard (0.9.27)
206
+ webrick (~> 1.7.0)
150
207
  zeitwerk (2.5.4)
151
208
 
152
209
  PLATFORMS
@@ -165,6 +222,7 @@ DEPENDENCIES
165
222
  mocha-on-bacon
166
223
  prettybacon
167
224
  rake
225
+ solargraph
168
226
 
169
227
  BUNDLED WITH
170
228
  2.3.7
data/README.md CHANGED
@@ -1,16 +1,22 @@
1
1
  # cocoapods-embed-flutter
2
2
 
3
+ [![CI/CD](https://github.com/DartBuild/cocoapods-embed-flutter/actions/workflows/main.yml/badge.svg?branch=main&event=push)](https://github.com/DartBuild/cocoapods-embed-flutter/actions/workflows/main.yml)
3
4
  [![Gem Version](https://badge.fury.io/rb/cocoapods-embed-flutter.svg)](http://badge.fury.io/rb/cocoapods-embed-flutter)
4
- <!--- [![Code Climate](https://codeclimate.com/github/DartBuild/cocoapods-embed-flutter.png)](https://codeclimate.com/github/DartBuild/cocoapods-embed-flutter) -->
5
+ [![Code Climate](https://codeclimate.com/github/DartBuild/cocoapods-embed-flutter.png)](https://codeclimate.com/github/DartBuild/cocoapods-embed-flutter)
5
6
 
6
7
  Straight forward way of declaring flutter modules as dependency for targets, just like cocoapods does with pods.
7
8
 
8
9
  ## Installation
9
10
 
11
+ ### Install using command line.
10
12
  ```bash
11
13
  $ [sudo] gem install cocoapods-embed-flutter
12
14
  ```
13
15
 
16
+ ### Or add this to your `Gemfile`.
17
+ ```rb
18
+ gem 'cocoapods-embed-flutter'
19
+ ```
14
20
  ## Usage
15
21
 
16
22
  In your host project `Podfile`, write the below line before any target definition
@@ -24,6 +30,7 @@ plugin 'cocoapods-embed-flutter'
24
30
  pub 'flutter_module', :path => '../'
25
31
  ```
26
32
 
33
+ <a name="path_desc"></a>
27
34
  *`:path` can be path pointing to `pubspec.yaml` or to the directory containing `pubspec.yaml` or to the directory containg flutter module.*
28
35
 
29
36
  ### Embedding module from a repository.
@@ -33,3 +40,24 @@ pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :
33
40
  pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :tag => '0.7.0'
34
41
  pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :commit => '082f8319af'
35
42
  ```
43
+
44
+ *flutter module project should be at the root of repository, if that's not the case add additional `:path` attribute for relative path to flutter project in repository. `:path` follows [these](#path_desc) restictions.*
45
+
46
+ ```rb
47
+ pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :tag => '0.7.0', :path => 'relative path/to/project'
48
+ ```
49
+
50
+ ## Limitations
51
+
52
+ - Modules hosted in [pub.dev](https://pub.dev/) are not supported, only local modules and modules in remote sources like git are supported.
53
+ - You won't be able to add more than one flutter module to a single target. Currently flutter only supports one module per target.
54
+ - No caching is done for external sources, every time you run `pod install` flutter module will be downloaded each time.
55
+
56
+ ## Links
57
+
58
+ | Link | Description |
59
+ | :----- | :------ |
60
+ [Gem page](https://rubygems.org/gems/cocoapods-embed-flutter) | Official Ruby Gems page.
61
+ [Code docs](https://www.rubydoc.info/gems/cocoapods-embed-flutter) | Generated code documentation.
62
+ [Changelog](https://github.com/DartBuild/cocoapods-embed-flutter/blob/main/CHANGELOG.md) | See the changes introduced in each version.
63
+ [Code of Conduct](CODE_OF_CONDUCT.md) | Find out the standards we hold ourselves to.
data/Rakefile CHANGED
@@ -4,6 +4,16 @@ def specs(dir)
4
4
  FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
5
5
  end
6
6
 
7
+ def setup_project(pod_install = false)
8
+ system('bundle install', exception: true)
9
+ Bundler.with_unbundled_env do
10
+ Dir.chdir('example/ios_app') do |path|
11
+ system('bundle install', exception: true)
12
+ system('bundle exec pod install', exception: true) if pod_install
13
+ end
14
+ end
15
+ end
16
+
7
17
  desc 'Runs all the specs'
8
18
  task :specs do
9
19
  sh "bundle exec bacon #{specs('**')}"
@@ -11,13 +21,12 @@ end
11
21
 
12
22
  desc 'Setup example project'
13
23
  task :demo do
14
- system('bundle install', exception: true)
15
- Bundler.with_clean_env do
16
- Dir.chdir('example/ios_app') do |path|
17
- system('bundle install', exception: true)
18
- system('bundle exec pod install', exception: true)
19
- end
20
- end
24
+ setup_project(true)
25
+ end
26
+
27
+ desc 'Update lock files'
28
+ task :update do
29
+ setup_project
21
30
  end
22
31
 
23
32
  desc 'Publish to cocoapods plugins if not present'
@@ -31,7 +40,9 @@ task :publish do
31
40
  return if known_plugins.one? { |plugin| plugin['gem'] == gem.name }
32
41
 
33
42
  require 'github_api'
34
- return if Github.search.issues(q: "#{gem.name} user:CocoaPods repo:CocoaPods/cocoapods-plugins in:title").items.count > 0
43
+ return if Github.search.issues(
44
+ q: "#{gem.name} user:CocoaPods repo:CocoaPods/cocoapods-plugins in:title"
45
+ ).items.count > 0
35
46
  system('pod plugins publish', exception: true)
36
47
  end
37
48
 
@@ -9,28 +9,29 @@ Gem::Specification.new do |spec|
9
9
 
10
10
  spec.name = 'cocoapods-embed-flutter'
11
11
  spec.version = CocoapodsEmbedFlutter::VERSION
12
- spec.authors = ['Soumya Ranjan Mahunt']
13
- spec.email = ['devsoumyamahunt@gmail.com']
14
- spec.description = %q{Embed flutter modules in iOS projects.}
15
- spec.summary = <<-DESC
16
- Straight forward way of declaring flutter modules as dependency for targets,
17
- just like cocoapods does with pods.
18
- DESC
19
12
  spec.homepage = repo_url
20
13
  spec.license = 'MIT'
14
+ spec.authors = ['Soumya Ranjan Mahunt']
15
+ spec.email = ['devsoumyamahunt@gmail.com']
16
+ spec.summary = %q{Embed flutter modules in iOS projects.}
17
+ spec.description = <<-EOF
18
+ Straight forward way of declaring flutter modules as dependency for targets,
19
+ just like cocoapods does with pods.
20
+ EOF
21
21
 
22
- spec.files = `git ls-files`.split($/)
22
+ spec.files = `git ls-files`.split($/).grep_v(%r{^(example|.github)/})
23
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
24
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'yaml'
28
- spec.add_dependency 'fileutils'
29
- spec.add_dependency 'cocoapods'
27
+ spec.add_runtime_dependency 'yaml'
28
+ spec.add_runtime_dependency 'fileutils'
29
+ spec.add_runtime_dependency 'cocoapods'
30
30
 
31
31
  spec.add_development_dependency 'bundler'
32
32
  spec.add_development_dependency 'rake'
33
33
 
34
+ spec.required_ruby_version = '>= 2.6'
34
35
  spec.metadata = {
35
36
  'bug_tracker_uri' => "#{repo_url}/issues",
36
37
  'changelog_uri' => "#{repo_url}/blob/main/CHANGELOG.md",
@@ -38,12 +38,12 @@ module Flutter
38
38
  options = options.last if options.is_a?(Array)
39
39
  raise StandardError, "No options specified for flutter module: '#{name}'." unless options.is_a?(Hash)
40
40
 
41
- if options.key?(:path)
42
- path = options[:path]
43
- elsif SOURCE_KEYS.keys.any? { |key| options.key?(key) }
41
+ if SOURCE_KEYS.keys.any? { |key| options.key?(key) }
44
42
  source = DownloaderSource.new(name, options, Pod::Config.instance.podfile_path)
45
43
  source.fetch(Pod::Config.instance.sandbox)
46
44
  path = source.normalized_pupspec_path
45
+ elsif options.key?(:path)
46
+ path = options[:path]
47
47
  else
48
48
  raise StandardError, "Invalid flutter module: '#{name}'."
49
49
  end
@@ -116,8 +116,8 @@ module Flutter
116
116
  # @return [String] a string representation of the source suitable for UI.
117
117
  #
118
118
  def description
119
- strategy = Pod::Downloader.strategy_from_options(params)
120
- options = params.dup
119
+ strategy = Pod::Downloader.strategy_from_options(download_params)
120
+ options = download_params.dup
121
121
  url = options.delete(strategy)
122
122
  result = "from `#{url}`"
123
123
  options.each do |key, value|
@@ -148,7 +148,8 @@ module Flutter
148
148
  # and expanding it if necessary.
149
149
  #
150
150
  def normalized_pupspec_path
151
- Spec.find_file(name, target)
151
+ search_path = params[:path].nil? ? target : File.expand_path(params[:path], target)
152
+ Spec.find_file(name, search_path)
152
153
  end
153
154
 
154
155
  private
@@ -203,10 +204,16 @@ module Flutter
203
204
  def download_request
204
205
  Pod::Downloader::Request.new(
205
206
  :name => name,
206
- :params => params,
207
+ :params => download_params,
207
208
  )
208
209
  end
209
210
 
211
+ # @return [Hash] the options for remote source download.
212
+ #
213
+ def download_params
214
+ params.select { |key, value| !key.equal?(:path) }
215
+ end
216
+
210
217
  # @return [String] the path where this flutter project
211
218
  # will be downloaded relative paths.
212
219
  #
@@ -4,5 +4,5 @@
4
4
  module CocoapodsEmbedFlutter
5
5
  # The version of the cocoapods-embed-flutter.
6
6
  #
7
- VERSION = '0.5.1'.freeze
7
+ VERSION = '0.6.0'.freeze
8
8
  end
@@ -99,7 +99,10 @@ module Pod
99
99
  # pub 'flutter_module', :git => 'https://github.com/octokit/flutter_module.git', :commit => '082f8319af'
100
100
  #
101
101
  # The flutter module or its `pubspec` file is expected to be in the
102
- # root of the repository.
102
+ # root of the repository, if that's not the case specify relative path
103
+ # to flutter project in repository.
104
+ #
105
+ # pub 'flutter_module', :git => 'https://github.com/octokit/flutter_module.git', :tag => '0.7.0', :path => 'custom/flutter_module'
103
106
  #
104
107
  #
105
108
  # @note This method allow a nil name and the raises to be more
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-embed-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soumya Ranjan Mahunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2022-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yaml
@@ -80,20 +80,17 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: Embed flutter modules in iOS projects.
83
+ description: |2
84
+ Straight forward way of declaring flutter modules as dependency for targets,
85
+ just like cocoapods does with pods.
84
86
  email:
85
87
  - devsoumyamahunt@gmail.com
86
88
  executables: []
87
89
  extensions: []
88
90
  extra_rdoc_files: []
89
91
  files:
90
- - ".github/config/config.js"
91
- - ".github/config/package-lock.json"
92
- - ".github/config/package.json"
93
- - ".github/config/pre_changelog_hook.js"
94
- - ".github/dependabot.yml"
95
- - ".github/workflows/main.yml"
96
92
  - ".gitignore"
93
+ - ".vscode/extensions.json"
97
94
  - CHANGELOG.md
98
95
  - CODE_OF_CONDUCT.md
99
96
  - Gemfile
@@ -102,27 +99,6 @@ files:
102
99
  - README.md
103
100
  - Rakefile
104
101
  - cocoapods-embed-flutter.gemspec
105
- - example/flutter_module/.gitignore
106
- - example/flutter_module/.metadata
107
- - example/flutter_module/README.md
108
- - example/flutter_module/analysis_options.yaml
109
- - example/flutter_module/flutter_module.iml
110
- - example/flutter_module/flutter_module_android.iml
111
- - example/flutter_module/lib/main.dart
112
- - example/flutter_module/pubspec.lock
113
- - example/flutter_module/pubspec.yaml
114
- - example/flutter_module/test/widget_test.dart
115
- - example/ios_app/Gemfile
116
- - example/ios_app/Gemfile.lock
117
- - example/ios_app/Podfile
118
- - example/ios_app/Podfile.lock
119
- - example/ios_app/ios_app.xcodeproj/project.pbxproj
120
- - example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json
121
- - example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json
122
- - example/ios_app/ios_app/Assets.xcassets/Contents.json
123
- - example/ios_app/ios_app/ContentView.swift
124
- - example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json
125
- - example/ios_app/ios_app/ios_appApp.swift
126
102
  - lib/cocoapods-embed-flutter.rb
127
103
  - lib/cocoapods-embed-flutter/flutter.rb
128
104
  - lib/cocoapods-embed-flutter/flutter/dependency.rb
@@ -153,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
129
  requirements:
154
130
  - - ">="
155
131
  - !ruby/object:Gem::Version
156
- version: '0'
132
+ version: '2.6'
157
133
  required_rubygems_version: !ruby/object:Gem::Requirement
158
134
  requirements:
159
135
  - - ">="
@@ -163,8 +139,7 @@ requirements: []
163
139
  rubygems_version: 3.0.3.1
164
140
  signing_key:
165
141
  specification_version: 4
166
- summary: Straight forward way of declaring flutter modules as dependency for targets,
167
- just like cocoapods does with pods.
142
+ summary: Embed flutter modules in iOS projects.
168
143
  test_files:
169
144
  - spec/info_spec.rb
170
145
  - spec/spec_helper.rb
@@ -1,21 +0,0 @@
1
- 'use strict'
2
- const config = require('conventional-changelog-conventionalcommits');
3
-
4
- module.exports = config({
5
- "types": [
6
- { type: 'feat', section: '🚀 Features' },
7
- { type: 'fix', section: '🐛 Fixes' },
8
- { type: 'perf', section: '🐎 Performance Improvements' },
9
- { type: 'revert', section: '⏪ Reverts' },
10
- { type: 'build', section: '🛠 Build System' },
11
- { type: 'deps', section: '🛠 Dependency' },
12
- { type: 'ci', section: '💡 Continuous Integration' },
13
- { type: 'refactor', section: '🔥 Refactorings' },
14
- { type: 'doc', section: '📚 Documentation' },
15
- { type: 'docs', section: '📚 Documentation' },
16
- { type: 'style', section: '💄 Styles' },
17
- { type: 'test', section: '✅ Tests' },
18
- { type: 'wip', hidden: true },
19
- { type: 'chore', hidden: true },
20
- ]
21
- })