activeldap-fabrication 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b7825fa3366ce6423bd92d7256bebfe59b302526209f0724a47a8bd8efcd002f
4
+ data.tar.gz: 137e46ec04b2f3083c354f9262cbedd3b1d6cf313a481624a370e59cc44433f5
5
+ SHA512:
6
+ metadata.gz: e08920984a4b243899f6d110c6c910f8451b061047f86b005fb6d07ac6d074ec336fe78666a54db0c3940be4ccd2c38bacf1b63ef19ea7035da36a3a53b0bcaf
7
+ data.tar.gz: c290cd65220cc4a0feb4d86747eebd02c1c7b763339833168e1c7f151dc7db94aabb17a1dc01886e5bb043a81a304e855b4f5b72653359eedaadf46c9954ab7c
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ --exclude /templates/
2
+ --markup textile
3
+ --readme README.textile
4
+ --files doc/text/**/*
5
+ lib/**/*.rb
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8; mode: ruby -*-
2
2
  #
3
- # Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -16,16 +16,6 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 
19
- source "http://rubygems.org"
19
+ source "https://rubygems.org"
20
20
 
21
- gem "activeldap"
22
- gem "fabrication"
23
-
24
- group :development, :test do
25
- gem "net-ldap"
26
- gem "jeweler"
27
- gem "test-unit"
28
- gem "test-unit-notify"
29
- gem "yard"
30
- gem "RedCloth"
31
- end
21
+ gemspec
data/README.textile CHANGED
@@ -1,6 +1,6 @@
1
1
  h1. ActiveLdap Fabrication
2
2
 
3
- "ActiveLdap":http://ruby-activeldap.rubyforge.org/ adapter for "Fabrication":http://fabricationgem.org/.
3
+ "ActiveLdap":http://activeldap.github.io/ adapter for "Fabrication":http://fabricationgem.org/.
4
4
 
5
5
  h2. Description
6
6
 
@@ -8,7 +8,7 @@ h2. Description
8
8
 
9
9
  h2. Requirements
10
10
 
11
- * "ActiveLdap":http://ruby-activeldap.rubyforge.org/
11
+ * "ActiveLdap":http://activeldap.github.io/
12
12
  * "Fabrication":http://fabricationgem.org/
13
13
 
14
14
  h2. Install
data/Rakefile ADDED
@@ -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,57 @@
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.authors = ["Kouhei Sutou"]
27
+ spec.email = ["kou@clear-code.com"]
28
+ spec.summary = "ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication."
29
+ spec.description = "'ActiveLdap Fabrication' is an ActiveLdap adapter for Fabrication. It means that you can use Fabrication as fixture replacement for ActiveLdap."
30
+ spec.homepage = "http://activeldap.github.io/"
31
+ spec.licenses = ["LGPLv2 or later"]
32
+ spec.require_paths = ["lib"]
33
+ spec.files = [
34
+ "COPYING",
35
+ "Gemfile",
36
+ "Rakefile",
37
+ "README.textile",
38
+ "#{spec.name}.gemspec",
39
+ ".yardopts",
40
+ ]
41
+ spec.files += Dir.glob("lib/**/*.rb")
42
+ spec.files += Dir.glob("doc/text/**/*")
43
+ spec.test_files = Dir.glob("test/test[_-]*.rb")
44
+ spec.test_files = ["test/test-generate.rb"]
45
+
46
+ spec.add_dependency("activeldap")
47
+ spec.add_dependency("fabrication")
48
+ spec.add_development_dependency("net-ldap")
49
+ spec.add_development_dependency("bundler")
50
+ spec.add_development_dependency("rake")
51
+ spec.add_development_dependency("test-unit")
52
+ spec.add_development_dependency("test-unit-notify")
53
+ spec.add_development_dependency("yard")
54
+ spec.add_development_dependency("RedCloth")
55
+ spec.add_development_dependency("packnga")
56
+ end
57
+
@@ -1,5 +1,17 @@
1
1
  h1. News
2
2
 
3
+ h2(#1-0-2). 1.0.2: 2025-10-11
4
+
5
+ h3. Improvements
6
+
7
+ * Added support for Fabrication 3.0.0.
8
+
9
+ h2(#1-0-1). 1.0.1: 2013-08-29
10
+
11
+ h3. Improvements
12
+
13
+ * Supported Fabrication 2.7.2.
14
+
3
15
  h2(#1-0-0). 1.0.0: 2011-07-09
4
16
 
5
17
  * 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
@@ -18,7 +18,7 @@ module ActiveLdapFabrication
18
18
  module VERSION
19
19
  MAJOR = 1
20
20
  MINOR = 0
21
- TINY = 0
21
+ TINY = 2
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,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"
@@ -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,6 @@ 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.configure do |config|
26
+ config.generators << Fabrication::Generator::ActiveLdap
27
+ end
metadata CHANGED
@@ -1,184 +1,193 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activeldap-fabrication
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Kouhei Sutou
14
- autorequire:
15
8
  bindir: bin
16
9
  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"
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
30
13
  name: activeldap
31
- prerelease: false
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
32
19
  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
20
  prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: fabrication
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
46
33
  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"
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ - !ruby/object:Gem::Dependency
58
41
  name: net-ldap
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :development
59
48
  prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: bundler
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
60
61
  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
62
  prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: rake
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
74
75
  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
76
  prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: test-unit
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
88
89
  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
90
  prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: test-unit-notify
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
102
103
  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
104
  prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: yard
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
116
117
  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"
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ - !ruby/object:Gem::Dependency
128
125
  name: RedCloth
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ type: :development
129
132
  prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ - !ruby/object:Gem::Dependency
139
+ name: packnga
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
130
145
  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:
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ description: "'ActiveLdap Fabrication' is an ActiveLdap adapter for Fabrication. It
153
+ means that you can use Fabrication as fixture replacement for ActiveLdap."
154
+ email:
134
155
  - kou@clear-code.com
135
156
  executables: []
136
-
137
157
  extensions: []
138
-
139
- extra_rdoc_files:
140
- - README.textile
141
- files:
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".yardopts"
142
161
  - COPYING
143
162
  - Gemfile
144
163
  - README.textile
164
+ - Rakefile
165
+ - activeldap-fabrication.gemspec
145
166
  - doc/text/news.textile
146
167
  - lib/active_ldap_fabrication.rb
147
168
  - lib/active_ldap_fabrication/version.rb
148
169
  - lib/fabrication/generator/active_ldap.rb
149
170
  - test/test-generate.rb
150
- homepage: http://ruby-activeldap.rubyforge.org/
151
- licenses:
171
+ homepage: http://activeldap.github.io/
172
+ licenses:
152
173
  - LGPLv2 or later
153
- post_install_message:
174
+ metadata: {}
154
175
  rdoc_options: []
155
-
156
- require_paths:
176
+ require_paths:
157
177
  - lib
158
- required_ruby_version: !ruby/object:Gem::Requirement
159
- none: false
160
- requirements:
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ requirements:
161
180
  - - ">="
162
- - !ruby/object:Gem::Version
163
- hash: 3
164
- segments:
165
- - 0
166
- version: "0"
167
- required_rubygems_version: !ruby/object:Gem::Requirement
168
- none: false
169
- requirements:
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
+ requirements:
170
185
  - - ">="
171
- - !ruby/object:Gem::Version
172
- hash: 3
173
- segments:
174
- - 0
175
- version: "0"
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
176
188
  requirements: []
177
-
178
- rubyforge_project: ruby-activeldap
179
- rubygems_version: 1.7.2
180
- signing_key:
181
- specification_version: 3
182
- summary: ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication
183
- test_files:
189
+ rubygems_version: 3.7.0.dev
190
+ specification_version: 4
191
+ summary: ActiveLdap Fabrication is an ActiveLdap adapter for Fabrication.
192
+ test_files:
184
193
  - test/test-generate.rb