cocoapods-release 0.1.2 → 0.1.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
  SHA1:
3
- metadata.gz: 0b96084fc91fc9a4193e5160e1d4e15ac3b6d316
4
- data.tar.gz: 5d4c6ba1a03d6e712645992afbf85d8c9dd52143
3
+ metadata.gz: 7ca4b8d8401dd020c79332d916f55a4716245165
4
+ data.tar.gz: 339637138b8b41708e3710883266a3078bdde181
5
5
  SHA512:
6
- metadata.gz: 2cd37ad2a50eaa69685f93c17a043fc971de6530ec85237243c2cff5f616c9bbd375fa2760a2966ea6dc94a8bbefcfacceaaf1f1c2be10c5674d15d506cbbd58
7
- data.tar.gz: 18ad8776df863c930ae06d6cdaf02bd9b4eacd4d4aac605c5a93704345ed6586a2fda7774ca1eea55e376062a6925a92a501bf5cd852bf5544de259c4efd59a9
6
+ metadata.gz: 5f3e98d1a25ff58f9c1a7fa953b6152e83b6bb8de1051aa8c31797edbf96e34f5045e1d530e27cc1b3399dc8ee18f0feee67cefdce7f8a80441ee6c28ad4e512
7
+ data.tar.gz: 3d0797bbe72cc7a8341c75043a3457d1a0c601a7f0b73d932ce329c0fd14773f2dfb490b2994cefcf47bb79b49f70bfaf45c3283de58d662e52d74dfc4f567ad
@@ -74,6 +74,10 @@ module Pod
74
74
  # verify lib
75
75
  execute "pod lib lint #{spec} #{@allow_warnings}"
76
76
 
77
+ if `pod --version`.to_f >= 0.36
78
+ execute "pod lib lint #{spec} --use-frameworks #{@allow_warnings}"
79
+ end
80
+
77
81
  # TODO: create git tag for current version
78
82
  unless system("git tag | grep #{version} > /dev/null")
79
83
  execute "git add -A && git commit -m \"Releases #{version}.\""
@@ -81,7 +85,7 @@ module Pod
81
85
  execute "git push && git push --tags"
82
86
  end
83
87
 
84
- repo = pushed_sources.first.name
88
+ repo = (@repo || pushed_sources.first).name
85
89
  if repo == "master"
86
90
  execute "pod trunk push #{spec} #{@allow_warnings}"
87
91
  else
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CocoapodRelease
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Letterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-27 00:00:00.000000000 Z
11
+ date: 2014-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler