From 3c8cd180bd6745ae9f8066d56c2f4172b7e32168 Mon Sep 17 00:00:00 2001 From: shoheiyokoyama Date: Thu, 16 May 2019 15:04:45 +0900 Subject: [PATCH 1/2] Support pod --- .gitignore | 1 + Chausie.podspec | 8 +++--- Gemfile | 3 ++ Gemfile.lock | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 11 ++++++- 5 files changed, 94 insertions(+), 5 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock diff --git a/.gitignore b/.gitignore index 058adc3..b10712e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ DerivedData # Bundler .bundle +vendor/bundle # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts diff --git a/Chausie.podspec b/Chausie.podspec index 3ae543e..ff0221e 100644 --- a/Chausie.podspec +++ b/Chausie.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = 'Chausie' - s.version = '0.1.0' - s.summary = 'A short description of Chausie.' - s.homepage = 'https://github.com/shoheiyokoyama/Chausie' + s.version = '0.1.1' + s.summary = 'Chausie provides a customizable view containers that manages navigation between pages of content. :cat:' + s.homepage = 'https://github.com/cats-oss/Chausie' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'shoheiyokoyama' => 'shohei.yok0602@gmail.com' } - s.source = { :git => 'https://github.com/shoheiyokoyama/Chausie.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/cats-oss/Chausie.git', :tag => s.version.to_s } s.ios.deployment_target = '11.0' s.source_files = 'Chausie/**/*.swift' s.swift_version = '5.0' diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..e9880b2 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem 'cocoapods', '1.7.0.rc.2' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..d7de4ed --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,76 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.0) + activesupport (4.2.11.1) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + atomos (0.1.3) + claide (1.0.2) + cocoapods (1.7.0.rc.2) + activesupport (>= 4.0.2, < 5) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.7.0.rc.2) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 1.2.2, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-stats (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.3.1, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.2.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.6.6) + nap (~> 1.0) + ruby-macho (~> 1.4) + xcodeproj (>= 1.8.2, < 2.0) + cocoapods-core (1.7.0.rc.2) + activesupport (>= 4.0.2, < 6) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + cocoapods-deintegrate (1.0.4) + cocoapods-downloader (1.2.2) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.0) + cocoapods-stats (1.1.0) + cocoapods-trunk (1.3.1) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.1.0) + colored2 (3.1.2) + concurrent-ruby (1.1.5) + escape (0.0.4) + fourflusher (2.2.0) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + minitest (5.11.3) + molinillo (0.6.6) + nanaimo (0.2.6) + nap (1.1.0) + netrc (0.11.0) + ruby-macho (1.4.0) + thread_safe (0.3.6) + tzinfo (1.2.5) + thread_safe (~> 0.1) + xcodeproj (1.9.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.2.6) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (= 1.7.0.rc.2) + +BUNDLED WITH + 1.17.3 diff --git a/Makefile b/Makefile index 2be6ef3..520563a 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,13 @@ test: -configuration Debug \ -sdk iphonesimulator \ -destination 'platform=iOS Simulator,OS=12.2,name=iPhone 8' \ - | xcpretty -c \ No newline at end of file + | xcpretty -c + +install-gems: + bundle install --path vendor/bundle + +lint-lib: + bundle exec pod lib lint + +release-pod: + bundle exec pod trunk push --allow-warnings \ No newline at end of file From b3af32382ce61f47441cc91cd8d68c7bbfe88a0d Mon Sep 17 00:00:00 2001 From: shoheiyokoyama Date: Thu, 16 May 2019 15:08:21 +0900 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a7d1dd5..17577a2 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,14 @@ See sample code [here](https://github.com/cats-oss/Chausie/tree/master/Examples/ ## Installation +### CocoaPods + +Gemini is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: + +```ruby +pod "Chausie" +``` + ### Carthage Add the following line to your `Cartfile`: