Skip to content

Commit

Permalink
Merge pull request grpc#7784 from jcanizales/move-to-v1
Browse files Browse the repository at this point in the history
Move Podspecs to v1
  • Loading branch information
nicolasnoble authored Aug 18, 2016
2 parents 90e4bd5 + 36031d5 commit bfe947c
Show file tree
Hide file tree
Showing 14 changed files with 284 additions and 275 deletions.
2 changes: 1 addition & 1 deletion examples/objective-c/auth_sample/AuthTestService.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"

# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"

# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'
Expand Down
2 changes: 1 addition & 1 deletion examples/objective-c/helloworld/HelloWorld.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"

# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"

# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'
Expand Down
2 changes: 1 addition & 1 deletion examples/objective-c/route_guide/RouteGuide.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"

# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"

# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'
Expand Down
6 changes: 3 additions & 3 deletions gRPC-Core.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC-Core'
version = '1.0.0-pre1'
version = '1.0.0'
s.version = version
s.summary = 'Core cross-platform gRPC library, written in C'
s.homepage = 'http://www.grpc.io'
Expand All @@ -44,7 +44,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
# TODO(jcanizales): Depend explicitly on the nanopb pod, and disable submodules.
:submodules => true,
}
Expand Down Expand Up @@ -191,7 +191,7 @@ Pod::Spec.new do |s|
ss.header_mappings_dir = '.'
ss.libraries = 'z'
ss.dependency "#{s.name}/Interface", version
ss.dependency 'BoringSSL', '~> 5.0'
ss.dependency 'BoringSSL', '~> 6.0'

# To save you from scrolling, this is the last part of the podspec.
ss.source_files = 'src/core/lib/profiling/timers.h',
Expand Down
4 changes: 2 additions & 2 deletions gRPC-ProtoRPC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC-ProtoRPC'
version = '1.0.0-pre1'
version = '1.0.0'
s.version = version
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +39,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
4 changes: 2 additions & 2 deletions gRPC-RxLibrary.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC-RxLibrary'
version = '1.0.0-pre1'
version = '1.0.0'
s.version = version
s.summary = 'Reactive Extensions library for iOS/OSX.'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +39,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
4 changes: 2 additions & 2 deletions gRPC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

Pod::Spec.new do |s|
s.name = 'gRPC'
version = '1.0.0-pre1'
version = '1.0.0'
s.version = version
s.summary = 'gRPC client library for iOS/OSX'
s.homepage = 'http://www.grpc.io'
Expand All @@ -39,7 +39,7 @@ Pod::Spec.new do |s|

s.source = {
:git => 'https://github.com/grpc/grpc.git',
:tag => "objective-c-v#{version}",
:tag => "v#{version}",
}

s.ios.deployment_target = '7.1'
Expand Down
7 changes: 3 additions & 4 deletions src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCPlugin'
v = '1.0.0-pre1'
s.version = "#{v}.2" # .2 to depend on protoc 3.0.0
v = '1.0.0'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC
This podspec only downloads the gRPC protoc plugin so that local pods generating protos can use
Expand Down Expand Up @@ -82,10 +82,9 @@ Pod::Spec.new do |s|
s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }

repo = 'grpc/grpc'
release = "objective-c-v#{v}"
file = "grpc_objective_c_plugin-#{v}-macos-x86_64.zip"
s.source = {
:http => "https://github.com/#{repo}/releases/download/#{release}/#{file}",
:http => "https://github.com/#{repo}/releases/download/v#{v}/#{file}",
# TODO(jcanizales): Add sha1 or sha256
# :sha1 => '??',
}
Expand Down
Loading

0 comments on commit bfe947c

Please sign in to comment.