activeldap-fabrication 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ --exclude /templates/
2
+ --markup textile
3
+ --readme README.textile
4
+ --files doc/text/**/*
5
+ lib/**/*.rb
data/Gemfile CHANGED
@@ -19,7 +19,7 @@
19
19
  source "http://rubygems.org"
20
20
 
21
21
  gem "activeldap"
22
- gem "fabrication"
22
+ gem "fabrication", ">= 2.7.2"
23
23
 
24
24
  group :development, :test do
25
25
  gem "net-ldap"
@@ -0,0 +1,48 @@
1
+ # -*- coding: utf-8; mode: ruby -*-
2
+ #
3
+ # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
+
19
+ require "English"
20
+
21
+ require "bundler/gem_helper"
22
+ require "packnga"
23
+
24
+ base_dir = File.expand_path(File.dirname(__FILE__))
25
+
26
+ helper = Bundler::GemHelper.new(base_dir)
27
+ def helper.version_tag
28
+ version
29
+ end
30
+
31
+ helper.install
32
+ spec = helper.gemspec
33
+
34
+ Packnga::DocumentTask.new(spec) do |task|
35
+ task.original_language = "en"
36
+ task.translate_languages = ["ja"]
37
+ end
38
+
39
+ site_dir = Dir.glob("{..,../../www}/activeldap.github.io").first
40
+ Packnga::ReleaseTask.new(spec) do |task|
41
+ task.index_html_dir = site_dir
42
+ end
43
+
44
+ task :test do
45
+ ruby("test/run-test.rb")
46
+ end
47
+
48
+ task :default => :test
@@ -0,0 +1,58 @@
1
+ # -*- coding: utf-8; mode: ruby -*-
2
+ #
3
+ # Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
+
19
+ base_dir = File.expand_path(File.dirname(__FILE__))
20
+ $LOAD_PATH.unshift(File.join(base_dir, 'lib'))
21
+ require 'active_ldap_fabrication/version'
22
+
23
+ Gem::Specification.new do |spec|
24
+ spec.name = "activeldap-fabrication"
25
+ spec.version = ActiveLdapFabrication::VERSION::STRING.dup
26
+ spec.rubyforge_project = 'ruby-activeldap'
27
+ spec.authors = ["Kouhei Sutou"]
28
+ spec.email = ["kou@clear-code.com"]
29
+ spec.summary = "ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication."
30
+ spec.description = "'ActiveLdap Fabrication' is an ActiveLdap adapter for Fabrication. It means that you can use Fabrication as fixture replacement for ActiveLdap."
31
+ spec.homepage = "http://activeldap.github.io/"
32
+ spec.licenses = ["LGPLv2 or later"]
33
+ spec.require_paths = ["lib"]
34
+ spec.files = [
35
+ "COPYING",
36
+ "Gemfile",
37
+ "Rakefile",
38
+ "README.textile",
39
+ "#{spec.name}.gemspec",
40
+ ".yardopts",
41
+ ]
42
+ spec.files += Dir.glob("lib/**/*.rb")
43
+ spec.files += Dir.glob("doc/text/**/*")
44
+ spec.test_files = Dir.glob("test/test[_-]*.rb")
45
+ spec.test_files = ["test/test-generate.rb"]
46
+
47
+ spec.add_dependency("activeldap")
48
+ spec.add_dependency("fabrication")
49
+ spec.add_development_dependency("net-ldap")
50
+ spec.add_development_dependency("bundler")
51
+ spec.add_development_dependency("rake")
52
+ spec.add_development_dependency("test-unit")
53
+ spec.add_development_dependency("test-unit-notify")
54
+ spec.add_development_dependency("yard")
55
+ spec.add_development_dependency("RedCloth")
56
+ spec.add_development_dependency("packnga")
57
+ end
58
+
@@ -1,5 +1,11 @@
1
1
  h1. News
2
2
 
3
+ h2(#1-0-1). 1.0.1: 2013-08-29
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Fabrication 2.7.2.
8
+
3
9
  h2(#1-0-0). 1.0.0: 2011-07-09
4
10
 
5
11
  * Initial release!!!
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,6 +14,6 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
- require 'active_ldap'
18
- require 'active_ldap_fabrication/version'
19
- require 'fabrication/generator/active_ldap'
17
+ require "active_ldap"
18
+ require "active_ldap_fabrication/version"
19
+ require "fabrication/generator/active_ldap"
@@ -18,7 +18,7 @@ module ActiveLdapFabrication
18
18
  module VERSION
19
19
  MAJOR = 1
20
20
  MINOR = 0
21
- TINY = 0
21
+ TINY = 1
22
22
 
23
23
  STRING = [MAJOR, MINOR, TINY].join(".")
24
24
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,7 +14,7 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
- require 'fabrication'
17
+ require "fabrication"
18
18
 
19
19
  class Fabrication::Generator::ActiveLdap < Fabrication::Generator::Base
20
20
  def self.supports?(klass)
@@ -22,4 +22,4 @@ class Fabrication::Generator::ActiveLdap < Fabrication::Generator::Base
22
22
  end
23
23
  end
24
24
 
25
- Fabrication::Schematic::GENERATORS.unshift(Fabrication::Generator::ActiveLdap)
25
+ Fabrication::Schematic::Definition::GENERATORS.unshift(Fabrication::Generator::ActiveLdap)
metadata CHANGED
@@ -1,184 +1,220 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activeldap-fabrication
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Kouhei Sutou
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-07-09 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
12
+ date: 2013-08-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
30
15
  name: activeldap
31
- prerelease: false
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- requirement: *id001
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- hash: 3
41
- segments:
42
- - 0
43
- version: "0"
44
- name: fabrication
45
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
+ - !ruby/object:Gem::Dependency
31
+ name: fabrication
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :runtime
47
- requirement: *id002
48
- - !ruby/object:Gem::Dependency
49
- version_requirements: &id003 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- hash: 3
55
- segments:
56
- - 0
57
- version: "0"
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
58
47
  name: net-ldap
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
59
55
  prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
60
70
  type: :development
61
- requirement: *id003
62
- - !ruby/object:Gem::Dependency
63
- version_requirements: &id004 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 0
71
- version: "0"
72
- name: jeweler
73
71
  prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
74
86
  type: :development
75
- requirement: *id004
76
- - !ruby/object:Gem::Dependency
77
- version_requirements: &id005 !ruby/object:Gem::Requirement
78
- none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- hash: 3
83
- segments:
84
- - 0
85
- version: "0"
86
- name: test-unit
87
87
  prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: test-unit
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
88
102
  type: :development
89
- requirement: *id005
90
- - !ruby/object:Gem::Dependency
91
- version_requirements: &id006 !ruby/object:Gem::Requirement
92
- none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 3
97
- segments:
98
- - 0
99
- version: "0"
100
- name: test-unit-notify
101
103
  prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: test-unit-notify
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
102
118
  type: :development
103
- requirement: *id006
104
- - !ruby/object:Gem::Dependency
105
- version_requirements: &id007 !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- hash: 3
111
- segments:
112
- - 0
113
- version: "0"
114
- name: yard
115
119
  prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: yard
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
116
134
  type: :development
117
- requirement: *id007
118
- - !ruby/object:Gem::Dependency
119
- version_requirements: &id008 !ruby/object:Gem::Requirement
120
- none: false
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- hash: 3
125
- segments:
126
- - 0
127
- version: "0"
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
128
143
  name: RedCloth
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
129
151
  prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: packnga
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
130
166
  type: :development
131
- requirement: *id008
132
- description: " ActiveLdap Fabrication is an ActiveLdap adapter for\n Fabrication. It means that you can use Fabrication as\n fixture replacement for ActiveLdap.\n"
133
- email:
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ description: ! '''ActiveLdap Fabrication'' is an ActiveLdap adapter for Fabrication.
175
+ It means that you can use Fabrication as fixture replacement for ActiveLdap.'
176
+ email:
134
177
  - kou@clear-code.com
135
178
  executables: []
136
-
137
179
  extensions: []
138
-
139
- extra_rdoc_files:
140
- - README.textile
141
- files:
180
+ extra_rdoc_files: []
181
+ files:
142
182
  - COPYING
143
183
  - Gemfile
184
+ - Rakefile
144
185
  - README.textile
145
- - doc/text/news.textile
186
+ - activeldap-fabrication.gemspec
187
+ - .yardopts
188
+ - lib/fabrication/generator/active_ldap.rb
146
189
  - lib/active_ldap_fabrication.rb
147
190
  - lib/active_ldap_fabrication/version.rb
148
- - lib/fabrication/generator/active_ldap.rb
191
+ - doc/text/news.textile
149
192
  - test/test-generate.rb
150
- homepage: http://ruby-activeldap.rubyforge.org/
151
- licenses:
193
+ homepage: http://activeldap.github.io/
194
+ licenses:
152
195
  - LGPLv2 or later
153
196
  post_install_message:
154
197
  rdoc_options: []
155
-
156
- require_paths:
198
+ require_paths:
157
199
  - lib
158
- required_ruby_version: !ruby/object:Gem::Requirement
200
+ required_ruby_version: !ruby/object:Gem::Requirement
159
201
  none: false
160
- requirements:
161
- - - ">="
162
- - !ruby/object:Gem::Version
163
- hash: 3
164
- segments:
165
- - 0
166
- version: "0"
167
- required_rubygems_version: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
207
  none: false
169
- requirements:
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- hash: 3
173
- segments:
174
- - 0
175
- version: "0"
208
+ requirements:
209
+ - - ! '>='
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
176
212
  requirements: []
177
-
178
213
  rubyforge_project: ruby-activeldap
179
- rubygems_version: 1.7.2
214
+ rubygems_version: 1.8.23
180
215
  signing_key:
181
216
  specification_version: 3
182
- summary: ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication
183
- test_files:
217
+ summary: ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication.
218
+ test_files:
184
219
  - test/test-generate.rb
220
+ has_rdoc: