development 1.0.8 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +59 -82
- data/lib/development/configuration_interface.rb +123 -0
- data/lib/development/directory/directory_interface.rb +165 -0
- data/lib/development/directory.rb +9 -0
- data/lib/development/gem/gem_interface.rb +191 -0
- data/lib/development/gem.rb +9 -0
- data/lib/development/gemset/gemset_interface.rb +314 -0
- data/lib/development/gemset.rb +9 -0
- data/lib/development.rb +428 -783
- data/lib/namespaces.rb +9 -0
- data/lib/requires.rb +23 -0
- data/lib/setup.rb +15 -0
- data/spec/development/directory_spec.rb +75 -0
- data/spec/development/gem_spec.rb +63 -0
- data/spec/development/gemset_spec.rb +105 -0
- data/spec/development_spec.rb +142 -277
- data/spec/{require_mock → mock/require_mock}/lib/require_mock.rb +0 -0
- data/spec/mock/require_mock-submock/lib/require_mock/submock.rb +3 -0
- data/spec/{require_mock2 → mock/require_mock2}/lib/require_mock2.rb +0 -0
- data/spec/mock/require_mock3/lib/require_mock3.rb +4 -0
- data/spec/mock/require_mock4/lib/require_mock4.rb +4 -0
- metadata +20 -19
- data/lib/development/exception/expression_error/unknown_directory_name.rb +0 -14
- data/lib/development/exception/expression_error/unknown_gem_or_gemset_name.rb +0 -14
- data/lib/development/exception/expression_error.rb +0 -18
- data/lib/development/exception/malformed_expression/malformed_enable_disable_expression.rb +0 -15
- data/lib/development/exception/malformed_expression/malformed_gemset_expression.rb +0 -15
- data/lib/development/exception/malformed_expression/malformed_general_directory_expression.rb +0 -15
- data/lib/development/exception/malformed_expression/malformed_location_expression.rb +0 -15
- data/lib/development/exception/malformed_expression/malformed_named_directory_expression.rb +0 -15
- data/lib/development/exception/malformed_expression/malformed_remove_general_directory_expression.rb +0 -15
- data/lib/development/exception/malformed_expression.rb +0 -16
- data/spec/mock_gem/lib/mock_gem.rb +0 -4
- data/spec/mock_gem-subgem/lib/mock_gem/subgem.rb +0 -4
- data/spec/mock_gem-subgem2/lib/mock_gem/subgem2.rb +0 -4
- data/spec/mock_gem2/lib/mock_gem2.rb +0 -4
- data/spec/other_require_mock/lib/other_require_mock.rb +0 -4
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: development
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Sometimes problems in one gem under development only appear in the context
|
15
15
|
of use in another gem. In these contexts it can be difficult to discern the particular
|
@@ -26,26 +26,27 @@ executables: []
|
|
26
26
|
extensions: []
|
27
27
|
extra_rdoc_files: []
|
28
28
|
files:
|
29
|
-
- lib/development/
|
30
|
-
- lib/development/
|
31
|
-
- lib/development/
|
32
|
-
- lib/development/
|
33
|
-
- lib/development/
|
34
|
-
- lib/development/
|
35
|
-
- lib/development/
|
36
|
-
- lib/development/exception/malformed_expression/malformed_named_directory_expression.rb
|
37
|
-
- lib/development/exception/malformed_expression/malformed_remove_general_directory_expression.rb
|
38
|
-
- lib/development/exception/malformed_expression.rb
|
29
|
+
- lib/development/configuration_interface.rb
|
30
|
+
- lib/development/directory/directory_interface.rb
|
31
|
+
- lib/development/directory.rb
|
32
|
+
- lib/development/gem/gem_interface.rb
|
33
|
+
- lib/development/gem.rb
|
34
|
+
- lib/development/gemset/gemset_interface.rb
|
35
|
+
- lib/development/gemset.rb
|
39
36
|
- lib/development/require.rb
|
40
37
|
- lib/development.rb
|
38
|
+
- lib/namespaces.rb
|
39
|
+
- lib/requires.rb
|
40
|
+
- lib/setup.rb
|
41
|
+
- spec/development/directory_spec.rb
|
42
|
+
- spec/development/gem_spec.rb
|
43
|
+
- spec/development/gemset_spec.rb
|
41
44
|
- spec/development_spec.rb
|
42
|
-
- spec/
|
43
|
-
- spec/
|
44
|
-
- spec/
|
45
|
-
- spec/
|
46
|
-
- spec/
|
47
|
-
- spec/require_mock/lib/require_mock.rb
|
48
|
-
- spec/require_mock2/lib/require_mock2.rb
|
45
|
+
- spec/mock/require_mock/lib/require_mock.rb
|
46
|
+
- spec/mock/require_mock-submock/lib/require_mock/submock.rb
|
47
|
+
- spec/mock/require_mock2/lib/require_mock2.rb
|
48
|
+
- spec/mock/require_mock3/lib/require_mock3.rb
|
49
|
+
- spec/mock/require_mock4/lib/require_mock4.rb
|
49
50
|
- README.md
|
50
51
|
- CHANGELOG.md
|
51
52
|
homepage: http://rubygems.org/gems/development
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::ExpressionError::UnknownDirectoryName < ::Development::Exception::ExpressionError
|
3
|
-
|
4
|
-
################
|
5
|
-
# initialize #
|
6
|
-
################
|
7
|
-
|
8
|
-
def initialize( named_directory_name, configuration_line_number )
|
9
|
-
|
10
|
-
super( 'Unknown named directory "' << named_directory_name.to_s + '"', configuration_line_number )
|
11
|
-
|
12
|
-
end
|
13
|
-
|
14
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::ExpressionError::UnknownGemOrGemsetName < ::Development::Exception::ExpressionError
|
3
|
-
|
4
|
-
################
|
5
|
-
# initialize #
|
6
|
-
################
|
7
|
-
|
8
|
-
def initialize( gem_name, configuration_line_number )
|
9
|
-
|
10
|
-
super( 'Unknown gem or gemset name "' << gem_name.to_s + '"', configuration_line_number )
|
11
|
-
|
12
|
-
end
|
13
|
-
|
14
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::ExpressionError < ::Exception
|
3
|
-
|
4
|
-
################
|
5
|
-
# initialize #
|
6
|
-
################
|
7
|
-
|
8
|
-
def initialize( exception_string, configuration_line_number )
|
9
|
-
|
10
|
-
exception_string << ' on line ' << configuration_line_number.to_s << ' of configuration file' +
|
11
|
-
' (' + ::File.expand_path( '~/' + ::Development::ConfigurationFileName ) +
|
12
|
-
').'
|
13
|
-
|
14
|
-
super( exception_string )
|
15
|
-
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedEnableDisableExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'enable/disable', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedGemsetExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'gemset', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
data/lib/development/exception/malformed_expression/malformed_general_directory_expression.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedGeneralDirectoryExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'general directory', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedLocationExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'location', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedNamedDirectoryExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'named directory', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
data/lib/development/exception/malformed_expression/malformed_remove_general_directory_expression.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression::MalformedRemoveGeneralDirectoryExpression <
|
3
|
-
::Development::Exception::MalformedExpression
|
4
|
-
|
5
|
-
################
|
6
|
-
# initialize #
|
7
|
-
################
|
8
|
-
|
9
|
-
def initialize( expression_string, configuration_line_number )
|
10
|
-
|
11
|
-
super( 'remove general directory', expression_string, configuration_line_number )
|
12
|
-
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::Development::Exception::MalformedExpression < ::Development::Exception::ExpressionError
|
3
|
-
|
4
|
-
################
|
5
|
-
# initialize #
|
6
|
-
################
|
7
|
-
|
8
|
-
def initialize( expression_name_string, expression_string, configuration_line_number )
|
9
|
-
|
10
|
-
exception_string = 'Malformed ' << expression_name_string + ' expression "' << expression_string <<'"'
|
11
|
-
|
12
|
-
super( exception_string, configuration_line_number )
|
13
|
-
|
14
|
-
end
|
15
|
-
|
16
|
-
end
|