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
19fd4582
Commit
19fd4582
authored
Jan 28, 2017
by
Eloy Durán
Committed by
GitHub
Jan 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6347 from CocoaPods/seg-test-2.4
[Travis] Test Ruby 2.4
parents
2fa64822
0a51da96
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
.travis.yml
.travis.yml
+2
-2
Gemfile.lock
Gemfile.lock
+6
-4
validator_spec.rb
spec/unit/validator_spec.rb
+9
-11
No files found.
.travis.yml
View file @
19fd4582
...
@@ -12,7 +12,7 @@ matrix:
...
@@ -12,7 +12,7 @@ matrix:
env
:
COCOAPODS_CI_TASKS=EXAMPLES
env
:
COCOAPODS_CI_TASKS=EXAMPLES
osx_image
:
xcode7.3
osx_image
:
xcode7.3
language
:
objective-c
language
:
objective-c
-
rvm
:
2.
3.1
-
rvm
:
2.
4.0
env
:
COCOAPODS_CI_TASKS=LINT
env
:
COCOAPODS_CI_TASKS=LINT
git
:
git
:
submodules
:
false
submodules
:
false
...
@@ -25,7 +25,7 @@ rvm:
...
@@ -25,7 +25,7 @@ rvm:
# OS X 10.9.0-10.9.2
# OS X 10.9.0-10.9.2
# TODO: currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918
# TODO: currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918
# - 2.0.0-p247
# - 2.0.0-p247
-
2.
3.1
-
2.
4.0
env
:
env
:
-
COCOAPODS_CI_TASKS=SPECS
-
COCOAPODS_CI_TASKS=SPECS
...
...
Gemfile.lock
View file @
19fd4582
...
@@ -126,7 +126,7 @@ PATH
...
@@ -126,7 +126,7 @@ PATH
GEM
GEM
remote: https://rubygems.org/
remote: https://rubygems.org/
specs:
specs:
CFPropertyList (2.3.
4
)
CFPropertyList (2.3.
5
)
activesupport (4.2.7.1)
activesupport (4.2.7.1)
i18n (~> 0.7)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
json (~> 1.7, >= 1.7.7)
...
@@ -152,7 +152,7 @@ GEM
...
@@ -152,7 +152,7 @@ GEM
colored (1.2)
colored (1.2)
cork (0.1.0)
cork (0.1.0)
colored (~> 1.2)
colored (~> 1.2)
crack (0.4.
2
)
crack (0.4.
3
)
safe_yaml (~> 1.0.0)
safe_yaml (~> 1.0.0)
danger (0.10.0)
danger (0.10.0)
claide (~> 1.0)
claide (~> 1.0)
...
@@ -176,6 +176,7 @@ GEM
...
@@ -176,6 +176,7 @@ GEM
fuzzy_match (2.0.4)
fuzzy_match (2.0.4)
gh_inspector (1.0.3)
gh_inspector (1.0.3)
git (1.3.0)
git (1.3.0)
hashdiff (0.3.1)
i18n (0.7.0)
i18n (0.7.0)
inch (0.7.0)
inch (0.7.0)
pry
pry
...
@@ -247,9 +248,10 @@ GEM
...
@@ -247,9 +248,10 @@ GEM
tzinfo (1.2.2)
tzinfo (1.2.2)
thread_safe (~> 0.1)
thread_safe (~> 0.1)
unicode-display_width (0.3.1)
unicode-display_width (0.3.1)
webmock (
1.20.4
)
webmock (
2.3.1
)
addressable (>= 2.3.6)
addressable (>= 2.3.6)
crack (>= 0.3.2)
crack (>= 0.3.2)
hashdiff
yard (0.8.7.6)
yard (0.8.7.6)
PLATFORMS
PLATFORMS
...
@@ -290,4 +292,4 @@ DEPENDENCIES
...
@@ -290,4 +292,4 @@ DEPENDENCIES
xcodeproj!
xcodeproj!
BUNDLED WITH
BUNDLED WITH
1.1
3.6
1.1
4.3
spec/unit/validator_spec.rb
View file @
19fd4582
require
File
.
expand_path
(
'../../spec_helper'
,
__FILE__
)
require
File
.
expand_path
(
'../../spec_helper'
,
__FILE__
)
require
'webmock'
require
'webmock'
module
Bacon
module
Pod
class
Context
describe
Validator
do
alias_method
:after_webmock
,
:after
before
do
def
after
(
&
block
)
WebMock
.
enable!
after_webmock
do
WebMock
.
disable_net_connect!
block
.
call
WebMock
.
reset!
end
end
end
after
do
WebMock
.
reset!
WebMock
.
disable!
end
end
end
module
Pod
describe
Validator
do
before
do
before
do
Validator
.
any_instance
.
stubs
(
:xcodebuild
).
returns
(
''
)
Validator
.
any_instance
.
stubs
(
:xcodebuild
).
returns
(
''
)
Validator
.
any_instance
.
stubs
(
:xcodebuild_available?
).
returns
(
true
)
Validator
.
any_instance
.
stubs
(
:xcodebuild_available?
).
returns
(
true
)
...
...
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