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
d09edd72
Commit
d09edd72
authored
Jan 04, 2015
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rubocop] Enable Style/SpaceInsideHashLiteralBraces
parent
0684132b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
15 deletions
+9
-15
.rubocop_todo.yml
.rubocop_todo.yml
+0
-6
headers_store.rb
lib/cocoapods/sandbox/headers_store.rb
+1
-1
hooks_manager_spec.rb
spec/unit/hooks_manager_spec.rb
+1
-1
analyzer_spec.rb
spec/unit/installer/analyzer_spec.rb
+6
-6
installer_spec.rb
spec/unit/installer_spec.rb
+1
-1
No files found.
.rubocop_todo.yml
View file @
d09edd72
...
...
@@ -57,12 +57,6 @@ Style/PercentLiteralDelimiters:
Style/RegexpLiteral
:
Enabled
:
false
# Offense count: 28
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
Style/SpaceInsideHashLiteralBraces
:
Enabled
:
false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
...
...
lib/cocoapods/sandbox/headers_store.rb
View file @
d09edd72
...
...
@@ -96,7 +96,7 @@ module Pod
# @return [void]
#
def
add_search_path
(
path
,
platform
)
@search_paths
<<
{
:platform
=>
platform
,
:path
=>
(
Pathname
.
new
(
@relative_path
)
+
path
)
}
@search_paths
<<
{
:platform
=>
platform
,
:path
=>
(
Pathname
.
new
(
@relative_path
)
+
path
)
}
end
#-----------------------------------------------------------------------#
...
...
spec/unit/hooks_manager_spec.rb
View file @
d09edd72
...
...
@@ -74,7 +74,7 @@ module Pod
end
should
.
not
.
raise
do
@hooks_manager
.
run
(
:post_install
,
Object
.
new
,
'plugin'
=>
{
'key'
=>
'value'
})
@hooks_manager
.
run
(
:post_install
,
Object
.
new
,
'plugin'
=>
{
'key'
=>
'value'
})
end
end
...
...
spec/unit/installer/analyzer_spec.rb
View file @
d09edd72
...
...
@@ -142,14 +142,14 @@ module Pod
end
hash
=
{}
hash
[
'PODS'
]
=
[
{
'AFNetworkActivityLogger (2.0.3)'
=>
[
'AFNetworking/NSURLConnection (~> 2.0)'
,
'AFNetworking/NSURLSession (~> 2.0)'
]
},
{
'AFNetworking (2.4.0)'
=>
[
'AFNetworking/NSURLConnection (= 2.4.0)'
,
'AFNetworking/NSURLSession (= 2.4.0)'
,
'AFNetworking/Reachability (= 2.4.0)'
,
'AFNetworking/Security (= 2.4.0)'
,
'AFNetworking/Serialization (= 2.4.0)'
,
'AFNetworking/UIKit (= 2.4.0)'
]
},
{
'AFNetworking/NSURLConnection (2.4.0)'
=>
[
'AFNetworking/Reachability'
,
'AFNetworking/Security'
,
'AFNetworking/Serialization'
]
},
{
'AFNetworking/NSURLSession (2.4.0)'
=>
[
'AFNetworking/Reachability'
,
'AFNetworking/Security'
,
'AFNetworking/Serialization'
]
},
{
'AFNetworkActivityLogger (2.0.3)'
=>
[
'AFNetworking/NSURLConnection (~> 2.0)'
,
'AFNetworking/NSURLSession (~> 2.0)'
]
},
{
'AFNetworking (2.4.0)'
=>
[
'AFNetworking/NSURLConnection (= 2.4.0)'
,
'AFNetworking/NSURLSession (= 2.4.0)'
,
'AFNetworking/Reachability (= 2.4.0)'
,
'AFNetworking/Security (= 2.4.0)'
,
'AFNetworking/Serialization (= 2.4.0)'
,
'AFNetworking/UIKit (= 2.4.0)'
]
},
{
'AFNetworking/NSURLConnection (2.4.0)'
=>
[
'AFNetworking/Reachability'
,
'AFNetworking/Security'
,
'AFNetworking/Serialization'
]
},
{
'AFNetworking/NSURLSession (2.4.0)'
=>
[
'AFNetworking/Reachability'
,
'AFNetworking/Security'
,
'AFNetworking/Serialization'
]
},
'AFNetworking/Reachability (2.4.0)'
,
'AFNetworking/Security (2.4.0)'
,
'AFNetworking/Serialization (2.4.0)'
,
{
'AFNetworking/UIKit (2.4.0)'
=>
[
'AFNetworking/NSURLConnection'
,
'AFNetworking/NSURLSession'
]
}
{
'AFNetworking/UIKit (2.4.0)'
=>
[
'AFNetworking/NSURLConnection'
,
'AFNetworking/NSURLSession'
]
}
]
hash
[
'DEPENDENCIES'
]
=
[
'AFNetworkActivityLogger'
,
'AFNetworking (2.4.0)'
]
hash
[
'SPEC CHECKSUMS'
]
=
{}
...
...
@@ -172,7 +172,7 @@ module Pod
pod
'ARAnalytics/Mixpanel'
end
hash
=
{}
hash
[
'PODS'
]
=
[
'ARAnalytics/CoreIOS (2.8.0)'
,
{
'ARAnalytics/Mixpanel (2.8.0)'
=>
[
'ARAnlytics/CoreIOS'
,
'Mixpanel'
]
},
'Mixpanel (2.5.1)'
]
hash
[
'PODS'
]
=
[
'ARAnalytics/CoreIOS (2.8.0)'
,
{
'ARAnalytics/Mixpanel (2.8.0)'
=>
[
'ARAnlytics/CoreIOS'
,
'Mixpanel'
]
},
'Mixpanel (2.5.1)'
]
hash
[
'DEPENDENCIES'
]
=
%w(ARAnalytics/Mixpanel)
hash
[
'SPEC CHECKSUMS'
]
=
{}
hash
[
'COCOAPODS'
]
=
Pod
::
VERSION
...
...
spec/unit/installer_spec.rb
View file @
d09edd72
...
...
@@ -527,7 +527,7 @@ module Pod
it
'only runs the podfile-specified post-install hooks'
do
context
=
stub
Installer
::
HooksContext
.
expects
(
:generate
).
returns
(
context
)
plugins_hash
=
{
'cocoapods-keys'
=>
{
'keyring'
=>
'Eidolon'
}
}
plugins_hash
=
{
'cocoapods-keys'
=>
{
'keyring'
=>
'Eidolon'
}
}
@installer
.
podfile
.
stubs
(
:plugins
).
returns
(
plugins_hash
)
HooksManager
.
expects
(
:run
).
with
(
:post_install
,
context
,
plugins_hash
)
@installer
.
send
(
:run_plugins_post_install_hooks
)
...
...
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