modalsupport 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,7 +1,9 @@
1
1
  = modalsupport
2
2
 
3
- Some simple Ruby core extensions. This gem requires ActiveSupport and HoboSupport and adds a few additional
4
- extensions.
3
+ Some simple Ruby core extensions.
4
+
5
+ To load ActiveSupport and HoboSupport in addition to ModalSupport use:
6
+ require 'modalsupport/full'
5
7
 
6
8
  == Note on Patches/Pull Requests
7
9
 
data/Rakefile CHANGED
@@ -11,9 +11,6 @@ begin
11
11
  gem.homepage = "http://github.com/jgoizueta/modalsupport"
12
12
  gem.authors = ["Javier Goizueta"]
13
13
  gem.add_development_dependency "shoulda"
14
- gem.add_dependency "hobosupport"
15
- gem.add_dependency "activesupport"
16
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
14
  end
18
15
  Jeweler::GemcutterTasks.new
19
16
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -0,0 +1,11 @@
1
+ require 'modalsupport'
2
+ begin
3
+ require 'active_support'
4
+ rescue LoadError
5
+ puts "ActiveSupport not available. Install it with: gem install activesupport"
6
+ end
7
+ begin
8
+ require 'hobosupport'
9
+ rescue LoadError
10
+ puts "HoboSupport not available. Install it with: gem install hobosupport"
11
+ end
data/lib/modalsupport.rb CHANGED
@@ -1,5 +1,3 @@
1
- require 'active_support'
2
- require 'hobosupport'
3
1
  require 'modalsupport/ruby_version'
4
2
  require 'modalsupport/ruby_platform'
5
3
  require 'modalsupport/ruby_engine'
data/modalsupport.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{modalsupport}
8
- s.version = "0.4.0"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Javier Goizueta"]
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "lib/modalsupport.rb",
27
27
  "lib/modalsupport/enumerable.rb",
28
28
  "lib/modalsupport/file.rb",
29
+ "lib/modalsupport/full.rb",
29
30
  "lib/modalsupport/mixins/bracket_constructor.rb",
30
31
  "lib/modalsupport/mixins/state_equivalent.rb",
31
32
  "lib/modalsupport/regexp.rb",
@@ -48,7 +49,7 @@ Gem::Specification.new do |s|
48
49
  s.homepage = %q{http://github.com/jgoizueta/modalsupport}
49
50
  s.rdoc_options = ["--charset=UTF-8"]
50
51
  s.require_paths = ["lib"]
51
- s.rubygems_version = %q{1.3.6}
52
+ s.rubygems_version = %q{1.3.7}
52
53
  s.summary = %q{simple extensions to core classes}
53
54
  s.test_files = [
54
55
  "test/helper.rb",
@@ -67,19 +68,13 @@ Gem::Specification.new do |s|
67
68
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
68
69
  s.specification_version = 3
69
70
 
70
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
71
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
71
72
  s.add_development_dependency(%q<shoulda>, [">= 0"])
72
- s.add_runtime_dependency(%q<hobosupport>, [">= 0"])
73
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
74
73
  else
75
74
  s.add_dependency(%q<shoulda>, [">= 0"])
76
- s.add_dependency(%q<hobosupport>, [">= 0"])
77
- s.add_dependency(%q<activesupport>, [">= 0"])
78
75
  end
79
76
  else
80
77
  s.add_dependency(%q<shoulda>, [">= 0"])
81
- s.add_dependency(%q<hobosupport>, [">= 0"])
82
- s.add_dependency(%q<activesupport>, [">= 0"])
83
78
  end
84
79
  end
85
80
 
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modalsupport
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 11
4
5
  prerelease: false
5
6
  segments:
6
- - 0
7
- - 4
8
- - 0
9
- version: 0.4.0
7
+ - 0
8
+ - 5
9
+ - 0
10
+ version: 0.5.0
10
11
  platform: ruby
11
12
  authors:
12
- - Javier Goizueta
13
+ - Javier Goizueta
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
@@ -17,42 +18,20 @@ cert_chain: []
17
18
  date: 2010-06-09 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: shoulda
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- version: "0"
30
- type: :development
31
- version_requirements: *id001
32
- - !ruby/object:Gem::Dependency
33
- name: hobosupport
34
- prerelease: false
35
- requirement: &id002 !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- segments:
40
- - 0
41
- version: "0"
42
- type: :runtime
43
- version_requirements: *id002
44
- - !ruby/object:Gem::Dependency
45
- name: activesupport
46
- prerelease: false
47
- requirement: &id003 !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- segments:
52
- - 0
53
- version: "0"
54
- type: :runtime
55
- version_requirements: *id003
21
+ - !ruby/object:Gem::Dependency
22
+ name: shoulda
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
56
35
  description: additional support extensions to ActiveSupport and HoboSupport
57
36
  email: jgoizueta@gmail.com
58
37
  executables: []
@@ -60,74 +39,79 @@ executables: []
60
39
  extensions: []
61
40
 
62
41
  extra_rdoc_files:
63
- - LICENSE
64
- - README.rdoc
42
+ - LICENSE
43
+ - README.rdoc
65
44
  files:
66
- - .document
67
- - .gitignore
68
- - LICENSE
69
- - README.rdoc
70
- - Rakefile
71
- - VERSION
72
- - lib/modalsupport.rb
73
- - lib/modalsupport/enumerable.rb
74
- - lib/modalsupport/file.rb
75
- - lib/modalsupport/mixins/bracket_constructor.rb
76
- - lib/modalsupport/mixins/state_equivalent.rb
77
- - lib/modalsupport/regexp.rb
78
- - lib/modalsupport/ruby_engine.rb
79
- - lib/modalsupport/ruby_platform.rb
80
- - lib/modalsupport/ruby_version.rb
81
- - lib/modalsupport/string.rb
82
- - modalsupport.gemspec
83
- - test/helper.rb
84
- - test/test_bracket_constructor.rb
85
- - test/test_grep.rb
86
- - test/test_gsub.rb
87
- - test/test_match.rb
88
- - test/test_product.rb
89
- - test/test_relative_path.rb
90
- - test/test_slice.rb
91
- - test/test_state_equivalent.rb
92
- - test/test_unindent.rb
45
+ - .document
46
+ - .gitignore
47
+ - LICENSE
48
+ - README.rdoc
49
+ - Rakefile
50
+ - VERSION
51
+ - lib/modalsupport.rb
52
+ - lib/modalsupport/enumerable.rb
53
+ - lib/modalsupport/file.rb
54
+ - lib/modalsupport/full.rb
55
+ - lib/modalsupport/mixins/bracket_constructor.rb
56
+ - lib/modalsupport/mixins/state_equivalent.rb
57
+ - lib/modalsupport/regexp.rb
58
+ - lib/modalsupport/ruby_engine.rb
59
+ - lib/modalsupport/ruby_platform.rb
60
+ - lib/modalsupport/ruby_version.rb
61
+ - lib/modalsupport/string.rb
62
+ - modalsupport.gemspec
63
+ - test/helper.rb
64
+ - test/test_bracket_constructor.rb
65
+ - test/test_grep.rb
66
+ - test/test_gsub.rb
67
+ - test/test_match.rb
68
+ - test/test_product.rb
69
+ - test/test_relative_path.rb
70
+ - test/test_slice.rb
71
+ - test/test_state_equivalent.rb
72
+ - test/test_unindent.rb
93
73
  has_rdoc: true
94
74
  homepage: http://github.com/jgoizueta/modalsupport
95
75
  licenses: []
96
76
 
97
77
  post_install_message:
98
78
  rdoc_options:
99
- - --charset=UTF-8
79
+ - --charset=UTF-8
100
80
  require_paths:
101
- - lib
81
+ - lib
102
82
  required_ruby_version: !ruby/object:Gem::Requirement
83
+ none: false
103
84
  requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- segments:
107
- - 0
108
- version: "0"
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
109
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
110
93
  requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- segments:
114
- - 0
115
- version: "0"
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ hash: 3
97
+ segments:
98
+ - 0
99
+ version: "0"
116
100
  requirements: []
117
101
 
118
102
  rubyforge_project:
119
- rubygems_version: 1.3.6
103
+ rubygems_version: 1.3.7
120
104
  signing_key:
121
105
  specification_version: 3
122
106
  summary: simple extensions to core classes
123
107
  test_files:
124
- - test/helper.rb
125
- - test/test_bracket_constructor.rb
126
- - test/test_grep.rb
127
- - test/test_gsub.rb
128
- - test/test_match.rb
129
- - test/test_product.rb
130
- - test/test_relative_path.rb
131
- - test/test_slice.rb
132
- - test/test_state_equivalent.rb
133
- - test/test_unindent.rb
108
+ - test/helper.rb
109
+ - test/test_bracket_constructor.rb
110
+ - test/test_grep.rb
111
+ - test/test_gsub.rb
112
+ - test/test_match.rb
113
+ - test/test_product.rb
114
+ - test/test_relative_path.rb
115
+ - test/test_slice.rb
116
+ - test/test_state_equivalent.rb
117
+ - test/test_unindent.rb