Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
e44da0de
Commit
e44da0de
authored
Mar 29, 2014
by
Marc Boquet
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:CocoaPods/CocoaPods
parents
32645a9a
8eace6c0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
45 additions
and
35 deletions
+45
-35
CHANGELOG.md
CHANGELOG.md
+2
-2
Gemfile.lock
Gemfile.lock
+6
-6
Rakefile
Rakefile
+0
-0
pod
bin/pod
+12
-3
cocoapods.rb
lib/cocoapods.rb
+21
-0
push.rb
lib/cocoapods/command/push.rb
+0
-16
gem_version.rb
lib/cocoapods/gem_version.rb
+1
-1
sources_manager.rb
lib/cocoapods/sources_manager.rb
+2
-1
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
push_spec.rb
spec/functional/command/push_spec.rb
+0
-5
No files found.
CHANGELOG.md
View file @
e44da0de
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
To install or update CocoaPods see this
[
guide
](
http://docs.cocoapods.org/guides/installing_cocoapods.html
)
.
##
Master
##
0.30.0
[
CocoaPods
](
https://github.com/jverkoey/CocoaPods/compare/0.29.0...
master
)
[
CocoaPods
](
https://github.com/jverkoey/CocoaPods/compare/0.29.0...
0.30.0
)
###### Enhancements
###### Enhancements
...
...
Gemfile.lock
View file @
e44da0de
...
@@ -7,10 +7,10 @@ GIT
...
@@ -7,10 +7,10 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Core.git
remote: https://github.com/CocoaPods/Core.git
revision:
d281be39c464418c0b0ee8ba4788c4d2ce074de6
revision:
76c726cb88ec60dc64c62e2a87b1845319e84569
branch: master
branch: master
specs:
specs:
cocoapods-core (0.
29
.0)
cocoapods-core (0.
30
.0)
activesupport (>= 3.2.15, < 4)
activesupport (>= 3.2.15, < 4)
fuzzy_match (~> 2.0.4)
fuzzy_match (~> 2.0.4)
json_pure (~> 1.8)
json_pure (~> 1.8)
...
@@ -18,10 +18,10 @@ GIT
...
@@ -18,10 +18,10 @@ GIT
GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
remote: https://github.com/CocoaPods/Xcodeproj.git
revision:
524d79df5e5e8d5af9c047682bd21de87c3bb593
revision:
607c0a9c40bf0f8a34504efade50fd2b9fd94842
branch: master
branch: master
specs:
specs:
xcodeproj (0.15.
0
)
xcodeproj (0.15.
1
)
activesupport (~> 3.0)
activesupport (~> 3.0)
colored (~> 1.2)
colored (~> 1.2)
...
@@ -74,10 +74,10 @@ GIT
...
@@ -74,10 +74,10 @@ GIT
PATH
PATH
remote: .
remote: .
specs:
specs:
cocoapods (0.
29
.0)
cocoapods (0.
30
.0)
activesupport (>= 3.2.15, < 4)
activesupport (>= 3.2.15, < 4)
claide (~> 0.5.0)
claide (~> 0.5.0)
cocoapods-core (= 0.
29
.0)
cocoapods-core (= 0.
30
.0)
cocoapods-downloader (~> 0.4.0)
cocoapods-downloader (~> 0.4.0)
cocoapods-try (~> 0.2.0)
cocoapods-try (~> 0.2.0)
colored (~> 1.2)
colored (~> 1.2)
...
...
Rakefile
View file @
e44da0de
This diff is collapsed.
Click to expand it.
bin/pod
View file @
e44da0de
#!/usr/bin/env ruby
#!/usr/bin/env ruby
if
RUBY_VERSION
>
'1.8.7'
&&
Encoding
.
default_external
!=
Encoding
::
UTF_8
if
RUBY_VERSION
>
'1.8.7'
&&
Encoding
.
default_external
!=
Encoding
::
UTF_8
puts
<<-
DOC
puts
"
\e
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding."
\e
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
if
ENV
[
"TRAVIS"
]
puts
<<-
DOC
Consider adding the following settings to .travis.yml
before_script:
- export LANG=en_US.UTF-8
\e
[0m
\n
DOC
else
puts
<<-
DOC
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for
possible solutions.
\e
[0m
\n
possible solutions.
\e
[0m
\n
DOC
DOC
end
end
end
if
$PROGRAM_NAME
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
if
$PROGRAM_NAME
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
...
...
lib/cocoapods.rb
View file @
e44da0de
...
@@ -65,3 +65,24 @@ if ENV['COCOA_PODS_ENV'] == 'development'
...
@@ -65,3 +65,24 @@ if ENV['COCOA_PODS_ENV'] == 'development'
# require 'awesome_print'
# require 'awesome_print'
# require 'pry'
# require 'pry'
end
end
# TODO remove for CocoaPods 0.31
#
module
Pod
class
Specification
def
pre_install
(
&
block
)
UI
.
warn
"[
#{
self
}
] The pre install hook of the specification "
\
"DSL has been deprecated, use the `resource_bundles` or the "
\
"`prepare_command` attributes."
UI
.
puts
"[
#{
self
}
] The pre_install hook will be removed in the next release"
.
red
@pre_install_callback
=
block
end
def
post_install
(
&
block
)
UI
.
warn
"[
#{
self
}
] The post install hook of the specification "
\
"DSL has been deprecated, use the `resource_bundles` or the "
\
"`prepare_command` attributes."
UI
.
puts
"[
#{
self
}
] The post_install hook will be removed in the next release"
.
red
@post_install_callback
=
block
end
end
end
lib/cocoapods/command/push.rb
View file @
e44da0de
...
@@ -42,7 +42,6 @@ module Pod
...
@@ -42,7 +42,6 @@ module Pod
def
run
def
run
validate_podspec_files
validate_podspec_files
test_trunk
check_repo_status
check_repo_status
update_repo
update_repo
add_specs_to_repo
add_specs_to_repo
...
@@ -58,21 +57,6 @@ module Pod
...
@@ -58,21 +57,6 @@ module Pod
extend
Executable
extend
Executable
executable
:git
executable
:git
# @return [void] Silently test the CocoaPods trunk service.
#
def
test_trunk
return
unless
@repo
==
"master"
require
'rest'
base_url
=
'https://trunk.cocoapods.org/api/v1'
podspec_files
.
each
do
|
spec_file
|
spec
=
Pod
::
Specification
.
from_file
(
spec_file
)
REST
.
post
(
"
#{
base_url
}
/pods"
,
spec
.
to_json
,
'Content-Type'
=>
'application/json; charset=utf-8'
,
'Authorization'
=>
"Token 9300632274827cd3e6dde24bf9c608c3"
)
end
rescue
Exception
# Nothing
end
# Performs a full lint against the podspecs.
# Performs a full lint against the podspecs.
#
#
def
validate_podspec_files
def
validate_podspec_files
...
...
lib/cocoapods/gem_version.rb
View file @
e44da0de
module
Pod
module
Pod
# The version of the cocoapods command line tool.
# The version of the cocoapods command line tool.
#
#
VERSION
=
'0.
29
.0'
unless
defined?
Pod
::
VERSION
VERSION
=
'0.
30
.0'
unless
defined?
Pod
::
VERSION
end
end
lib/cocoapods/sources_manager.rb
View file @
e44da0de
...
@@ -206,7 +206,8 @@ module Pod
...
@@ -206,7 +206,8 @@ module Pod
end
end
if
config
.
new_version_message?
&&
cocoapods_update?
(
versions
)
if
config
.
new_version_message?
&&
cocoapods_update?
(
versions
)
UI
.
puts
"
\n
CocoaPods
#{
versions
[
'last'
]
}
is available.
\n
"
.
green
UI
.
puts
"
\n
CocoaPods
#{
versions
[
'last'
]
}
is available.
\n
"
\
"To update use: [sudo] gem update cocoapods
\n
"
.
green
end
end
end
end
...
...
cocoapods-integration-specs
@
27a44d7c
Subproject commit 2
14c69d0c2e7abeba1c3df3d3a8809998a405d32
Subproject commit 2
7a44d7c15b58e8fa431ae774f13d348ad315721
spec/functional/command/push_spec.rb
View file @
e44da0de
...
@@ -5,11 +5,6 @@ module Pod
...
@@ -5,11 +5,6 @@ module Pod
extend
SpecHelper
::
Command
extend
SpecHelper
::
Command
extend
SpecHelper
::
TemporaryRepos
extend
SpecHelper
::
TemporaryRepos
# Don't test push the spec to the trunk app
def
command
(
*
a
)
super
.
tap
{
|
cmd
|
cmd
.
stubs
(
:test_trunk
)
}
end
before
do
before
do
config
.
repos_dir
=
SpecHelper
.
tmp_repos_path
config
.
repos_dir
=
SpecHelper
.
tmp_repos_path
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment