development 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +0 -0
- data/README.md +154 -0
- data/lib/development.rb +881 -0
- data/lib/development/exception/expression_error.rb +18 -0
- data/lib/development/exception/expression_error/unknown_directory_name.rb +14 -0
- data/lib/development/exception/expression_error/unknown_gem_or_gemset_name.rb +14 -0
- data/lib/development/exception/malformed_expression.rb +16 -0
- data/lib/development/exception/malformed_expression/malformed_enable_disable_expression.rb +15 -0
- data/lib/development/exception/malformed_expression/malformed_gemset_expression.rb +15 -0
- data/lib/development/exception/malformed_expression/malformed_general_directory_expression.rb +15 -0
- data/lib/development/exception/malformed_expression/malformed_location_expression.rb +15 -0
- data/lib/development/exception/malformed_expression/malformed_named_directory_expression.rb +15 -0
- data/lib/development/exception/malformed_expression/malformed_remove_general_directory_expression.rb +15 -0
- data/lib/development/require.rb +35 -0
- data/spec/development_spec.rb +294 -0
- data/spec/mock_gem-subgem/lib/mock_gem/subgem.rb +4 -0
- data/spec/mock_gem/lib/mock_gem.rb +4 -0
- data/spec/other_require_mock/lib/other_require_mock.rb +4 -0
- data/spec/require_mock/lib/require_mock.rb +4 -0
- metadata +90 -0
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: development
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Asher
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: array-unique
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: Sometimes problems in one gem under development only appear in the context
|
31
|
+
of use in another gem. In these contexts it can be difficult to discern the particular
|
32
|
+
problem case without diving into the code. When gems are nested in multiple levels
|
33
|
+
of dependency, this can become quite frustrating; gem require paths have to be replaced
|
34
|
+
with relative paths, sometimes in multiple places, and it becomes easy to forget
|
35
|
+
that there are relative paths in code, resulting in production code with broken
|
36
|
+
development paths accidentally left in. Development inserts itself in the require
|
37
|
+
process and loads development paths instead of the gem requires used for production
|
38
|
+
code. Which gems load development paths instead of gem requires is determined by
|
39
|
+
a simple configuration file.
|
40
|
+
email: asher@ridiculouspower.com
|
41
|
+
executables: []
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- lib/development/exception/expression_error/unknown_directory_name.rb
|
46
|
+
- lib/development/exception/expression_error/unknown_gem_or_gemset_name.rb
|
47
|
+
- lib/development/exception/expression_error.rb
|
48
|
+
- lib/development/exception/malformed_expression/malformed_enable_disable_expression.rb
|
49
|
+
- lib/development/exception/malformed_expression/malformed_gemset_expression.rb
|
50
|
+
- lib/development/exception/malformed_expression/malformed_general_directory_expression.rb
|
51
|
+
- lib/development/exception/malformed_expression/malformed_location_expression.rb
|
52
|
+
- lib/development/exception/malformed_expression/malformed_named_directory_expression.rb
|
53
|
+
- lib/development/exception/malformed_expression/malformed_remove_general_directory_expression.rb
|
54
|
+
- lib/development/exception/malformed_expression.rb
|
55
|
+
- lib/development/require.rb
|
56
|
+
- lib/development.rb
|
57
|
+
- spec/development_spec.rb
|
58
|
+
- spec/mock_gem/lib/mock_gem.rb
|
59
|
+
- spec/mock_gem-subgem/lib/mock_gem/subgem.rb
|
60
|
+
- spec/other_require_mock/lib/other_require_mock.rb
|
61
|
+
- spec/require_mock/lib/require_mock.rb
|
62
|
+
- README.md
|
63
|
+
- CHANGELOG.md
|
64
|
+
homepage: http://rubygems.org/gems/development
|
65
|
+
licenses: []
|
66
|
+
post_install_message:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project: development
|
84
|
+
rubygems_version: 1.8.23
|
85
|
+
signing_key:
|
86
|
+
specification_version: 3
|
87
|
+
summary: Manage development contexts, particularly in the context of nested gem dependencies
|
88
|
+
being developed side by side.
|
89
|
+
test_files: []
|
90
|
+
has_rdoc:
|