Commit 96d16b26 authored by Eloy Durán's avatar Eloy Durán

[Specification] Keep the user API in present tense for consistency.

parent 2378b4f8
......@@ -536,7 +536,7 @@ module Pod
specs = specs.sort_by { |s| s.name.length }
specs.each do |spec|
paths = expanded_paths(spec.send(accessor), dir_pattern, spec.excluded_patterns)
paths = expanded_paths(spec.send(accessor), dir_pattern, spec.exclude_patterns)
unless paths.empty?
paths_by_spec[spec] = paths - processed_paths
processed_paths += paths
......
......@@ -40,7 +40,7 @@ module Pod
# multi-platform attributes
%w[ source_files
excluded_patterns
exclude_patterns
public_header_files
resources
preserve_paths
......@@ -137,7 +137,7 @@ module Pod
end
%w{ source_files=
excluded_patterns=
exclude_patterns=
public_header_files=
resource=
resources=
......@@ -261,7 +261,7 @@ module Pod
top_attr_accessor :prefix_header_contents
pltf_chained_attr_accessor :source_files, lambda {|value, current| pattern_list(value) }
pltf_chained_attr_accessor :excluded_patterns, lambda {|value, current| pattern_list(value) }
pltf_chained_attr_accessor :exclude_patterns, lambda {|value, current| pattern_list(value) }
pltf_chained_attr_accessor :public_header_files, lambda {|value, current| pattern_list(value) }
pltf_chained_attr_accessor :resources, lambda {|value, current| pattern_list(value) }
pltf_chained_attr_accessor :preserve_paths, lambda {|value, current| pattern_list(value) } # Paths that should not be cleaned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment