cascading-configuration-array 1.3.3 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,10 +109,10 @@ module CascadingConfiguration::Array::AccessorDefinitionMethods
109
109
  end
110
110
 
111
111
  ################################################
112
- # define_existant_configuration_array_setter #
112
+ # define_instance_configuration_array_setter #
113
113
  ################################################
114
114
 
115
- def define_existant_configuration_array_setter( configuration_name )
115
+ def define_instance_configuration_array_setter( configuration_name )
116
116
  configuration_setter_name = ( configuration_name.to_s + '=' ).to_sym
117
117
  accessor_local_instance_support.module_eval do
118
118
  define_method( configuration_setter_name ) do |array|
@@ -128,10 +128,10 @@ module CascadingConfiguration::Array::AccessorDefinitionMethods
128
128
  end
129
129
 
130
130
  ################################################
131
- # define_existant_configuration_array_getter #
131
+ # define_instance_configuration_array_getter #
132
132
  ################################################
133
133
 
134
- def define_existant_configuration_array_getter( configuration_name )
134
+ def define_instance_configuration_array_getter( configuration_name )
135
135
  configuration_getter_name = configuration_name
136
136
  accessor_local_instance_support.module_eval do
137
137
  define_method( configuration_getter_name ) do
@@ -52,18 +52,18 @@ module CascadingConfiguration::Array::Interface
52
52
  end
53
53
 
54
54
  #######################################
55
- # attr_existant_configuration_array #
55
+ # attr_instance_configuration_array #
56
56
  #######################################
57
57
 
58
58
  # defines configuration in present class or module context
59
59
  # configuration does not cascade
60
- def attr_existant_configuration_array( *property_names )
60
+ def attr_instance_configuration_array( *property_names )
61
61
  CascadingConfiguration::Variable.define_accessor_local_instance_support( self )
62
62
  property_names.each do |this_property_name|
63
63
  # define configuration setter
64
- define_existant_configuration_array_setter( this_property_name )
64
+ define_instance_configuration_array_setter( this_property_name )
65
65
  # define configuration getter
66
- define_existant_configuration_array_getter( this_property_name )
66
+ define_instance_configuration_array_getter( this_property_name )
67
67
  end
68
68
  end
69
69
 
@@ -481,7 +481,7 @@ describe CascadingConfiguration::Array do
481
481
  end
482
482
 
483
483
  #######################################
484
- # attr_existant_configuration_array #
484
+ # attr_instance_configuration_array #
485
485
  #######################################
486
486
 
487
487
  it 'can define a local configuration array, which will not cascade' do
@@ -501,8 +501,8 @@ describe CascadingConfiguration::Array do
501
501
  module CascadingConfiguration::Array::InstanceConfigurationMockModuleExtended
502
502
  extend CascadingConfiguration::Array
503
503
  # => singleton gets attr_configuration and configurations
504
- respond_to?( :attr_existant_configuration_array ).should == true
505
- attr_existant_configuration_array :configuration_setting
504
+ respond_to?( :attr_instance_configuration_array ).should == true
505
+ attr_instance_configuration_array :configuration_setting
506
506
  respond_to?( :configuration_setting ).should == true
507
507
  configuration_setting.should == []
508
508
  configuration_setting.push( :a_configuration )
@@ -542,8 +542,8 @@ describe CascadingConfiguration::Array do
542
542
  module CascadingConfiguration::Array::InstanceConfigurationMockModuleIncluded
543
543
  include CascadingConfiguration::Array
544
544
  # => singleton gets attr_configuration and configurations
545
- respond_to?( :attr_existant_configuration_array ).should == true
546
- attr_existant_configuration_array :configuration_setting
545
+ respond_to?( :attr_instance_configuration_array ).should == true
546
+ attr_instance_configuration_array :configuration_setting
547
547
  respond_to?( :configuration_setting ).should == true
548
548
  configuration_setting.should == []
549
549
  configuration_setting.push( :a_configuration )
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 3
8
- - 3
9
- version: 1.3.3
7
+ - 4
8
+ - 0
9
+ version: 1.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asher
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-08-06 00:00:00 -04:00
17
+ date: 2011-08-08 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency