dm-types-legacy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ ### 0.1.1 / 2011-03-23
2
+
3
+ * Require dm-core ~> 1.0.
4
+
data/Gemfile CHANGED
@@ -83,34 +83,20 @@
83
83
  source :rubygems
84
84
 
85
85
  DATAMAPPER = 'http://github.com/datamapper'
86
- DM_VERSION = '~> 1.0.0'
86
+ DM_VERSION = '~> 1.1'
87
87
  DO_VERSION = '~> 0.10.2'
88
88
  DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
89
89
  RAILS = 'http://github.com/rails/rails.git'
90
90
 
91
- if ENV['EXTLIB']
92
- gem 'extlib', '~> 0.9.15', :git => '#{DATAMAPPER}/extlib.git'
93
- else
94
- gem 'activesupport', '~> 3.0.0', :git => RAILS,
95
- :branch => '3-0-stable',
96
- :require => nil
97
- end
98
-
99
- gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
91
+ gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
100
92
 
101
93
  group :development do
102
- case RUBY_PLATFORM
103
- when 'java'
104
- gem 'maruku', '~> 0.6.0'
105
- else
106
- gem 'rdiscount', '~> 1.6.3'
107
- end
94
+ gem 'rake', '~> 0.8.7'
95
+ gem 'ore-tasks', '~> 0.4'
96
+ gem 'rspec', '~> 2.4'
108
97
 
109
- gem 'rake', '~> 0.8.7'
110
- gem 'ore', '~> 0.2.0'
111
- gem 'ore-tasks', '~> 0.1.2'
112
- gem 'rspec', '~> 2.0.0'
113
- gem 'yard', '~> 0.6.0'
98
+ gem 'kramdown', '~> 0.12'
99
+ gem 'yard', '~> 0.6.0'
114
100
  end
115
101
 
116
102
  group :datamapper do
@@ -1,5 +1,4 @@
1
-
2
- Copyright (c) 2010 Hal Brodigan
1
+ Copyright (c) 2010-2011 Hal Brodigan
3
2
 
4
3
  Permission is hereby granted, free of charge, to any person obtaining
5
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # dm-types-legacy
2
2
 
3
- * [github.com/postmodern/dm-types-legacy](http://github.com/postmodern/dm-types-legacy)
4
- * [github.com/postmodern/dm-types-legacy/issues](http://github.com/postmodern/dm-types-legacy/issues)
5
- * Postmodern (postmodern.mod3 at gmail.com)
3
+ * [Source](http://github.com/postmodern/dm-types-legacy)
4
+ * [Issues](http://github.com/postmodern/dm-types-legacy/issues)
5
+ * [Documentation](http://rubydoc.info/gems/dm-types-legacy/frames)
6
+ * [Email](mailto:postmodern.mod3 at gmail.com)
6
7
 
7
8
  ## Description
8
9
 
@@ -11,16 +12,16 @@ legacy databases or unsanitized data.
11
12
 
12
13
  ## Types
13
14
 
14
- * {DataMapper::Types::Legacy::DateString}: Date values stored as Strings.
15
- * {DataMapper::Types::Legacy::TimeString}: Time values stored as Strings.
16
- * {DataMapper::Types::Legacy::NumericIPAddr}: IP Addresses stored as
15
+ * {DataMapper::Property::Legacy::DateString}: Date values stored as Strings.
16
+ * {DataMapper::Property::Legacy::TimeString}: Time values stored as Strings.
17
+ * {DataMapper::Property::Legacy::NumericIPAddr}: IP Addresses stored as
17
18
  Integers.
18
- * {DataMapper::Types::Legacy::URIText}: URI escaped text.
19
- * {DataMapper::Types::Legacy::HTMLText}: HTML escaped text.
19
+ * {DataMapper::Property::Legacy::URIText}: URI escaped text.
20
+ * {DataMapper::Property::Legacy::HTMLText}: HTML escaped text.
20
21
 
21
22
  ## Requirements
22
23
 
23
- * [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0.0
24
+ * [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0
24
25
 
25
26
  ## Install
26
27
 
@@ -28,5 +29,6 @@ legacy databases or unsanitized data.
28
29
 
29
30
  ## License
30
31
 
31
- See {file:LICENSE.txt} for license information.
32
+ Copyright (c) 2010-2011 Hal Brodigan
32
33
 
34
+ See {file:LICENSE.txt} for license information.
@@ -5,6 +5,11 @@ begin
5
5
  # custom logic here
6
6
  end
7
7
  rescue NameError
8
- STDERR.puts "The 'dm-types-legacy.gemspec' file requires Ore."
9
- STDERR.puts "Run `gem install ore` to install Ore."
8
+ begin
9
+ require 'ore/specification'
10
+ retry
11
+ rescue LoadError
12
+ STDERR.puts "The 'dm-types-legacy.gemspec' file requires Ore."
13
+ STDERR.puts "Run `gem install ore-core` to install Ore."
14
+ end
10
15
  end
@@ -1,5 +1,5 @@
1
1
  name: dm-types-legacy
2
- version: 0.1.0
2
+ version: 0.1.1
3
3
  summary: A collection of legacy data types for DataMapper.
4
4
  description:
5
5
  dm-types-legacy is a collection of legacy data types for working with
@@ -12,7 +12,7 @@ homepage: http://github.com/postmodern/dm-types-legacy
12
12
  has_yard: true
13
13
 
14
14
  dependencies:
15
- dm-core: ~> 1.0.0
15
+ dm-core: ~> 1.0
16
16
 
17
17
  development_dependencies:
18
18
  bundler: ~> 1.0.0
@@ -40,7 +40,7 @@ module DataMapper
40
40
  end
41
41
 
42
42
  #
43
- # Dumps an IP Address to a numreic value.
43
+ # Dumps an IP Address to a numeric value.
44
44
  #
45
45
  # @param [IPAddr, nil] value
46
46
  # The IP Address.
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-types-legacy
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 0
9
- version: 0.1.0
4
+ prerelease:
5
+ version: 0.1.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Postmodern
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-11-06 00:00:00 -07:00
13
+ date: 2011-03-23 00:00:00 -04:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -24,11 +20,7 @@ dependencies:
24
20
  requirements:
25
21
  - - ~>
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 0
30
- - 0
31
- version: 1.0.0
23
+ version: "1.0"
32
24
  type: :runtime
33
25
  prerelease: false
34
26
  version_requirements: *id001
@@ -39,10 +31,6 @@ dependencies:
39
31
  requirements:
40
32
  - - ~>
41
33
  - !ruby/object:Gem::Version
42
- segments:
43
- - 1
44
- - 0
45
- - 0
46
34
  version: 1.0.0
47
35
  type: :development
48
36
  prerelease: false
@@ -54,16 +42,13 @@ dependencies:
54
42
  requirements:
55
43
  - - ~>
56
44
  - !ruby/object:Gem::Version
57
- segments:
58
- - 0
59
- - 6
60
- - 0
61
45
  version: 0.6.0
62
46
  type: :development
63
47
  prerelease: false
64
48
  version_requirements: *id003
65
49
  description: dm-types-legacy is a collection of legacy data types for working with legacy databases or unsanitized data.
66
- email: postmodern.mod3@gmail.com
50
+ email:
51
+ - postmodern.mod3@gmail.com
67
52
  executables: []
68
53
 
69
54
  extensions: []
@@ -73,6 +58,7 @@ extra_rdoc_files:
73
58
  files:
74
59
  - .rspec
75
60
  - .yardopts
61
+ - ChangeLog.md
76
62
  - Gemfile
77
63
  - LICENSE.txt
78
64
  - README.md
@@ -107,29 +93,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - ">="
109
95
  - !ruby/object:Gem::Version
110
- segments:
111
- - 0
112
96
  version: "0"
113
97
  required_rubygems_version: !ruby/object:Gem::Requirement
114
98
  none: false
115
99
  requirements:
116
100
  - - ">="
117
101
  - !ruby/object:Gem::Version
118
- segments:
119
- - 1
120
- - 3
121
- - 6
122
102
  version: 1.3.6
123
103
  requirements: []
124
104
 
125
105
  rubyforge_project: dm-types-legacy
126
- rubygems_version: 1.3.7
106
+ rubygems_version: 1.6.2
127
107
  signing_key:
128
108
  specification_version: 3
129
109
  summary: A collection of legacy data types for DataMapper.
130
110
  test_files:
111
+ - spec/unit/uri_text_spec.rb
131
112
  - spec/unit/time_string_spec.rb
132
113
  - spec/unit/html_text_spec.rb
133
114
  - spec/unit/numeric_ip_addr_spec.rb
134
- - spec/unit/uri_text_spec.rb
135
115
  - spec/unit/data_string_spec.rb