dm-is-read_only 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +4 -0
- data/Gemfile +7 -20
- data/LICENSE.txt +1 -2
- data/README.md +7 -5
- data/dm-is-read_only.gemspec +7 -2
- data/gemspec.yml +2 -2
- metadata +7 -28
data/ChangeLog.md
CHANGED
data/Gemfile
CHANGED
@@ -83,34 +83,21 @@
|
|
83
83
|
source :rubygems
|
84
84
|
|
85
85
|
DATAMAPPER = 'http://github.com/datamapper'
|
86
|
-
DM_VERSION = '~> 1.
|
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
91
|
gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
|
100
92
|
|
101
93
|
group :development do
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
gem 'rdiscount', '~> 1.6.3'
|
107
|
-
end
|
94
|
+
gem 'rake', '~> 0.8.7'
|
95
|
+
|
96
|
+
gem 'ore-tasks', '~> 0.4'
|
97
|
+
gem 'rspec', '~> 2.4'
|
108
98
|
|
109
|
-
gem '
|
110
|
-
gem '
|
111
|
-
gem 'ore-tasks', '~> 0.1.2'
|
112
|
-
gem 'rspec', '~> 2.0.0'
|
113
|
-
gem 'yard', '~> 0.6.0'
|
99
|
+
gem 'kramdown', '~> 0.12'
|
100
|
+
gem 'yard', '~> 0.6.0'
|
114
101
|
end
|
115
102
|
|
116
103
|
group :datamapper do
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# dm-is-read_only
|
2
2
|
|
3
|
-
* [
|
4
|
-
* [
|
5
|
-
*
|
3
|
+
* [Source](http://github.com/postmodern/dm-is-read_only)
|
4
|
+
* [Issues](http://github.com/postmodern/dm-is-read_only/issues)
|
5
|
+
* [Documentation](http://rubydoc.info/gems/dm-is-read_only/frames)
|
6
|
+
* [Email](mailto:postmodern.mod3 at gmail.com)
|
6
7
|
|
7
8
|
## Description
|
8
9
|
|
@@ -73,7 +74,7 @@ A DataMapper plugin for making Models absolutely **read-only**.
|
|
73
74
|
|
74
75
|
## Requirements
|
75
76
|
|
76
|
-
* [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0
|
77
|
+
* [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0
|
77
78
|
|
78
79
|
## Install
|
79
80
|
|
@@ -81,5 +82,6 @@ A DataMapper plugin for making Models absolutely **read-only**.
|
|
81
82
|
|
82
83
|
## License
|
83
84
|
|
84
|
-
|
85
|
+
Copyright (c) 2010-2011 Hal Brodigan
|
85
86
|
|
87
|
+
See {file:LICENSE.txt} for license information.
|
data/dm-is-read_only.gemspec
CHANGED
@@ -5,6 +5,11 @@ begin
|
|
5
5
|
# custom logic here
|
6
6
|
end
|
7
7
|
rescue NameError
|
8
|
-
|
9
|
-
|
8
|
+
begin
|
9
|
+
require 'ore/specification'
|
10
|
+
retry
|
11
|
+
rescue LoadError
|
12
|
+
STDERR.puts "The 'dm-is-read_only.gemspec' file requires Ore."
|
13
|
+
STDERR.puts "Run `gem install ore-core` to install Ore."
|
14
|
+
end
|
10
15
|
end
|
data/gemspec.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
name: dm-is-read_only
|
2
|
-
version: 0.2.
|
2
|
+
version: 0.2.1
|
3
3
|
summary: DataMapper plugin for making models absolutely read-only.
|
4
4
|
description:
|
5
5
|
A DataMapper plugin for making models absolutely read-only.
|
@@ -11,7 +11,7 @@ homepage: http://github.com/postmodern/dm-is-read_only
|
|
11
11
|
has_yard: true
|
12
12
|
|
13
13
|
dependencies:
|
14
|
-
dm-core: ~> 1.0
|
14
|
+
dm-core: ~> 1.0
|
15
15
|
|
16
16
|
development_dependencies:
|
17
17
|
bundler: ~> 1.0.0
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-is-read_only
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
version: 0.2.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.2.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:
|
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
|
-
|
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: A DataMapper plugin for making models absolutely read-only.
|
66
|
-
email:
|
50
|
+
email:
|
51
|
+
- postmodern.mod3@gmail.com
|
67
52
|
executables: []
|
68
53
|
|
69
54
|
extensions: []
|
@@ -103,23 +88,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
88
|
requirements:
|
104
89
|
- - ">="
|
105
90
|
- !ruby/object:Gem::Version
|
106
|
-
segments:
|
107
|
-
- 0
|
108
91
|
version: "0"
|
109
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
93
|
none: false
|
111
94
|
requirements:
|
112
95
|
- - ">="
|
113
96
|
- !ruby/object:Gem::Version
|
114
|
-
segments:
|
115
|
-
- 1
|
116
|
-
- 3
|
117
|
-
- 6
|
118
97
|
version: 1.3.6
|
119
98
|
requirements: []
|
120
99
|
|
121
100
|
rubyforge_project: dm-is-read_only
|
122
|
-
rubygems_version: 1.
|
101
|
+
rubygems_version: 1.6.2
|
123
102
|
signing_key:
|
124
103
|
specification_version: 3
|
125
104
|
summary: DataMapper plugin for making models absolutely read-only.
|