rubynas 0.1.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +23 -0
- data/.gitmodules +3 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +196 -0
- data/Guardfile +8 -0
- data/LICENSE.txt +7 -0
- data/Procfile +2 -0
- data/README.md +151 -0
- data/Rakefile +14 -0
- data/Vagrantfile +99 -0
- data/bin/rubynas +63 -0
- data/config.ru +5 -0
- data/doc/README_FOR_APP +2 -0
- data/doc/macosx_shares.png +0 -0
- data/doc/shares_overview.png +0 -0
- data/lib/rubynas.rb +35 -0
- data/lib/rubynas/apis/group_api.rb +51 -0
- data/lib/rubynas/apis/system_information_api.rb +13 -0
- data/lib/rubynas/apis/user_api.rb +85 -0
- data/lib/rubynas/apis/volume_api.rb +50 -0
- data/lib/rubynas/config.rb +63 -0
- data/lib/rubynas/db/migrate/20130302164415_devise_create_users.rb +46 -0
- data/lib/rubynas/db/migrate/20130322143040_create_volumes.rb +10 -0
- data/lib/rubynas/db/migrate/20130331102556_create_shared_folders.rb +10 -0
- data/lib/rubynas/db/migrate/20130331103034_create_shared_folder_services.rb +11 -0
- data/lib/rubynas/installers/base_installer.rb +70 -0
- data/lib/rubynas/installers/debian_installer.rb +199 -0
- data/lib/rubynas/installers/ubuntu_installer.rb +2 -0
- data/lib/rubynas/installers/ubuntu_precise_installer.rb +2 -0
- data/lib/rubynas/models/.gitkeep +0 -0
- data/lib/rubynas/models/ldap_group.rb +21 -0
- data/lib/rubynas/models/ldap_org_unit.rb +13 -0
- data/lib/rubynas/models/ldap_user.rb +31 -0
- data/lib/rubynas/models/shared_folder.rb +32 -0
- data/lib/rubynas/models/shared_folder_service.rb +15 -0
- data/lib/rubynas/models/volume.rb +16 -0
- data/lib/rubynas/services/afp_share_service.rb +9 -0
- data/lib/rubynas/services/service.rb +4 -0
- data/lib/rubynas/services/share_service.rb +3 -0
- data/lib/rubynas/version.rb +3 -0
- data/rubynas.gemspec +69 -0
- data/rubynas.ini +24 -0
- data/sandbox/ldap/base.ldif +50 -0
- data/sandbox/ldap/data/.gitkeep +0 -0
- data/sandbox/ldap/data/dc=rubynas,dc=com.ldif +14 -0
- data/sandbox/ldap/local.schema +6 -0
- data/sandbox/ldap/schema/README +80 -0
- data/sandbox/ldap/schema/apple.schema +1727 -0
- data/sandbox/ldap/schema/apple_auxillary.schema +20 -0
- data/sandbox/ldap/schema/collective.ldif +48 -0
- data/sandbox/ldap/schema/collective.schema +190 -0
- data/sandbox/ldap/schema/corba.ldif +42 -0
- data/sandbox/ldap/schema/corba.schema +239 -0
- data/sandbox/ldap/schema/core.ldif +591 -0
- data/sandbox/ldap/schema/core.schema +610 -0
- data/sandbox/ldap/schema/cosine.ldif +200 -0
- data/sandbox/ldap/schema/cosine.schema +2571 -0
- data/sandbox/ldap/schema/duaconf.ldif +83 -0
- data/sandbox/ldap/schema/duaconf.schema +261 -0
- data/sandbox/ldap/schema/dyngroup.ldif +71 -0
- data/sandbox/ldap/schema/dyngroup.schema +91 -0
- data/sandbox/ldap/schema/fmserver.schema +60 -0
- data/sandbox/ldap/schema/inetorgperson.ldif +69 -0
- data/sandbox/ldap/schema/inetorgperson.schema +155 -0
- data/sandbox/ldap/schema/java.ldif +59 -0
- data/sandbox/ldap/schema/java.schema +403 -0
- data/sandbox/ldap/schema/krb5-kdc.schema +134 -0
- data/sandbox/ldap/schema/microsoft.ext.schema +5383 -0
- data/sandbox/ldap/schema/microsoft.schema +4835 -0
- data/sandbox/ldap/schema/microsoft.std.schema +480 -0
- data/sandbox/ldap/schema/misc.ldif +45 -0
- data/sandbox/ldap/schema/misc.schema +75 -0
- data/sandbox/ldap/schema/netinfo.schema +240 -0
- data/sandbox/ldap/schema/nis.ldif +120 -0
- data/sandbox/ldap/schema/nis.schema +241 -0
- data/sandbox/ldap/schema/openldap.ldif +88 -0
- data/sandbox/ldap/schema/openldap.schema +54 -0
- data/sandbox/ldap/schema/pmi.ldif +123 -0
- data/sandbox/ldap/schema/pmi.schema +464 -0
- data/sandbox/ldap/schema/ppolicy.ldif +75 -0
- data/sandbox/ldap/schema/ppolicy.schema +531 -0
- data/sandbox/ldap/schema/samba.schema +179 -0
- data/sandbox/ldap/slapd.conf +99 -0
- data/spec/apis/group_api_spec.rb +97 -0
- data/spec/apis/system_information_api_spec.rb +27 -0
- data/spec/apis/user_api_spec.rb +113 -0
- data/spec/apis/volume_api_spec.rb +98 -0
- data/spec/factories/ldap_group.rb +16 -0
- data/spec/factories/ldap_users.rb +24 -0
- data/spec/factories/shared_folder_services.rb +9 -0
- data/spec/factories/shared_folders.rb +15 -0
- data/spec/factories/users.rb +8 -0
- data/spec/factories/volumes.rb +10 -0
- data/spec/installer/base_installer_spec.rb +35 -0
- data/spec/installer/debian_installer_spec.rb +86 -0
- data/spec/models/ldap_group_spec.rb +21 -0
- data/spec/models/ldap_org_unit_spec.rb +19 -0
- data/spec/models/ldap_user_spec.rb +19 -0
- data/spec/models/shared_folder_service_spec.rb +25 -0
- data/spec/models/shared_folder_spec.rb +27 -0
- data/spec/models/volume_spec.rb +5 -0
- data/spec/services/afp_share_service_spec.rb +5 -0
- data/spec/services/service_spec.rb +5 -0
- data/spec/services/share_service_spec.rb +5 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/db_cleaner.rb +16 -0
- data/spec/support/factory_girl.rb +7 -0
- data/spec/support/logger.rb +1 -0
- data/spec/support/rack-test.rb +6 -0
- metadata +633 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'simplecov'
|
3
|
+
SimpleCov.start do
|
4
|
+
add_group 'API', 'lib/rubynas/apis'
|
5
|
+
add_group 'DB', 'lib/rubynas/db'
|
6
|
+
add_group 'Installers', 'lib/rubynas/installers'
|
7
|
+
add_group 'Models', 'lib/rubynas/models'
|
8
|
+
add_group 'Services', 'lib/rubynas/services'
|
9
|
+
add_filter '/spec/'
|
10
|
+
end
|
11
|
+
|
12
|
+
$LOAD_PATH.unshift(File.expand_path('../../lib/', __FILE__))
|
13
|
+
require 'rubynas'
|
14
|
+
|
15
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
16
|
+
# in spec/support/ and its subdirectories.
|
17
|
+
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# In RSpec 3, these symbols will be treated as metadata keys with
|
21
|
+
# a value of `true`. To get this behavior now (and prevent this
|
22
|
+
# warning), you can set a configuration option:
|
23
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
24
|
+
|
25
|
+
# Run specs in random order to surface order dependencies. If you find an
|
26
|
+
# order dependency and want to debug it, you can fix the order by providing
|
27
|
+
# the seed, which is printed after each run.
|
28
|
+
# --seed 1234
|
29
|
+
config.order = 'random'
|
30
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'database_cleaner'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.before(:suite) do
|
5
|
+
DatabaseCleaner.strategy = :transaction
|
6
|
+
DatabaseCleaner.clean_with(:truncation)
|
7
|
+
end
|
8
|
+
|
9
|
+
config.before(:each) do
|
10
|
+
DatabaseCleaner.start
|
11
|
+
end
|
12
|
+
|
13
|
+
config.after(:each) do
|
14
|
+
DatabaseCleaner.clean
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Rubynas.logger.level = Logger::FATAL
|
metadata
ADDED
@@ -0,0 +1,633 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubynas
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0.pre.1
|
5
|
+
prerelease: 6
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Vincent Landgraf
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
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
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
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: factory_girl
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '4.0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '4.0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler-audit
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
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: guard-rspec
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
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: cane
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
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: brakeman
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
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
|
143
|
+
name: rb-fsevent
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0.9'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0.9'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: shoulda-matchers
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
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
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: simplecov
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: simplecov-rcov-text
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: rack-test
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: database_cleaner
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ! '>='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ! '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: inifile
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ! '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
type: :runtime
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: activerecord
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
258
|
+
requirements:
|
259
|
+
- - '='
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: 3.2.13
|
262
|
+
type: :runtime
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - '='
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 3.2.13
|
270
|
+
- !ruby/object:Gem::Dependency
|
271
|
+
name: sqlite3
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
274
|
+
requirements:
|
275
|
+
- - ! '>='
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '0'
|
278
|
+
type: :runtime
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ! '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: net-ldap
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
type: :runtime
|
295
|
+
prerelease: false
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ! '>='
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
- !ruby/object:Gem::Dependency
|
303
|
+
name: activeldap
|
304
|
+
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
306
|
+
requirements:
|
307
|
+
- - ~>
|
308
|
+
- !ruby/object:Gem::Version
|
309
|
+
version: 3.2.2
|
310
|
+
type: :runtime
|
311
|
+
prerelease: false
|
312
|
+
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ~>
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: 3.2.2
|
318
|
+
- !ruby/object:Gem::Dependency
|
319
|
+
name: netatalk-config
|
320
|
+
requirement: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
322
|
+
requirements:
|
323
|
+
- - ! '>='
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: '0'
|
326
|
+
type: :runtime
|
327
|
+
prerelease: false
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
334
|
+
- !ruby/object:Gem::Dependency
|
335
|
+
name: foreman
|
336
|
+
requirement: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
338
|
+
requirements:
|
339
|
+
- - ! '>='
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
type: :runtime
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
346
|
+
requirements:
|
347
|
+
- - ! '>='
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: '0'
|
350
|
+
- !ruby/object:Gem::Dependency
|
351
|
+
name: dnssd
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
353
|
+
none: false
|
354
|
+
requirements:
|
355
|
+
- - ! '>='
|
356
|
+
- !ruby/object:Gem::Version
|
357
|
+
version: '0'
|
358
|
+
type: :runtime
|
359
|
+
prerelease: false
|
360
|
+
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
362
|
+
requirements:
|
363
|
+
- - ! '>='
|
364
|
+
- !ruby/object:Gem::Version
|
365
|
+
version: '0'
|
366
|
+
- !ruby/object:Gem::Dependency
|
367
|
+
name: puma
|
368
|
+
requirement: !ruby/object:Gem::Requirement
|
369
|
+
none: false
|
370
|
+
requirements:
|
371
|
+
- - ! '>='
|
372
|
+
- !ruby/object:Gem::Version
|
373
|
+
version: '0'
|
374
|
+
type: :runtime
|
375
|
+
prerelease: false
|
376
|
+
version_requirements: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
378
|
+
requirements:
|
379
|
+
- - ! '>='
|
380
|
+
- !ruby/object:Gem::Version
|
381
|
+
version: '0'
|
382
|
+
- !ruby/object:Gem::Dependency
|
383
|
+
name: grape
|
384
|
+
requirement: !ruby/object:Gem::Requirement
|
385
|
+
none: false
|
386
|
+
requirements:
|
387
|
+
- - ! '>='
|
388
|
+
- !ruby/object:Gem::Version
|
389
|
+
version: '0'
|
390
|
+
type: :runtime
|
391
|
+
prerelease: false
|
392
|
+
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
none: false
|
394
|
+
requirements:
|
395
|
+
- - ! '>='
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '0'
|
398
|
+
- !ruby/object:Gem::Dependency
|
399
|
+
name: grape-entity
|
400
|
+
requirement: !ruby/object:Gem::Requirement
|
401
|
+
none: false
|
402
|
+
requirements:
|
403
|
+
- - ! '>='
|
404
|
+
- !ruby/object:Gem::Version
|
405
|
+
version: '0'
|
406
|
+
type: :runtime
|
407
|
+
prerelease: false
|
408
|
+
version_requirements: !ruby/object:Gem::Requirement
|
409
|
+
none: false
|
410
|
+
requirements:
|
411
|
+
- - ! '>='
|
412
|
+
- !ruby/object:Gem::Version
|
413
|
+
version: '0'
|
414
|
+
- !ruby/object:Gem::Dependency
|
415
|
+
name: lumberjack
|
416
|
+
requirement: !ruby/object:Gem::Requirement
|
417
|
+
none: false
|
418
|
+
requirements:
|
419
|
+
- - ! '>='
|
420
|
+
- !ruby/object:Gem::Version
|
421
|
+
version: '0'
|
422
|
+
type: :runtime
|
423
|
+
prerelease: false
|
424
|
+
version_requirements: !ruby/object:Gem::Requirement
|
425
|
+
none: false
|
426
|
+
requirements:
|
427
|
+
- - ! '>='
|
428
|
+
- !ruby/object:Gem::Version
|
429
|
+
version: '0'
|
430
|
+
- !ruby/object:Gem::Dependency
|
431
|
+
name: lumberjack_syslog_device
|
432
|
+
requirement: !ruby/object:Gem::Requirement
|
433
|
+
none: false
|
434
|
+
requirements:
|
435
|
+
- - ! '>='
|
436
|
+
- !ruby/object:Gem::Version
|
437
|
+
version: '0'
|
438
|
+
type: :runtime
|
439
|
+
prerelease: false
|
440
|
+
version_requirements: !ruby/object:Gem::Requirement
|
441
|
+
none: false
|
442
|
+
requirements:
|
443
|
+
- - ! '>='
|
444
|
+
- !ruby/object:Gem::Version
|
445
|
+
version: '0'
|
446
|
+
- !ruby/object:Gem::Dependency
|
447
|
+
name: vmstat
|
448
|
+
requirement: !ruby/object:Gem::Requirement
|
449
|
+
none: false
|
450
|
+
requirements:
|
451
|
+
- - ! '>='
|
452
|
+
- !ruby/object:Gem::Version
|
453
|
+
version: '0'
|
454
|
+
type: :runtime
|
455
|
+
prerelease: false
|
456
|
+
version_requirements: !ruby/object:Gem::Requirement
|
457
|
+
none: false
|
458
|
+
requirements:
|
459
|
+
- - ! '>='
|
460
|
+
- !ruby/object:Gem::Version
|
461
|
+
version: '0'
|
462
|
+
description: The ruby based nas system
|
463
|
+
email:
|
464
|
+
- setcool@gmx.de
|
465
|
+
executables:
|
466
|
+
- rubynas
|
467
|
+
extensions: []
|
468
|
+
extra_rdoc_files: []
|
469
|
+
files:
|
470
|
+
- .gitignore
|
471
|
+
- .gitmodules
|
472
|
+
- .rspec
|
473
|
+
- .ruby-version
|
474
|
+
- Gemfile
|
475
|
+
- Gemfile.lock
|
476
|
+
- Guardfile
|
477
|
+
- LICENSE.txt
|
478
|
+
- Procfile
|
479
|
+
- README.md
|
480
|
+
- Rakefile
|
481
|
+
- Vagrantfile
|
482
|
+
- bin/rubynas
|
483
|
+
- config.ru
|
484
|
+
- doc/README_FOR_APP
|
485
|
+
- doc/macosx_shares.png
|
486
|
+
- doc/shares_overview.png
|
487
|
+
- lib/rubynas.rb
|
488
|
+
- lib/rubynas/apis/group_api.rb
|
489
|
+
- lib/rubynas/apis/system_information_api.rb
|
490
|
+
- lib/rubynas/apis/user_api.rb
|
491
|
+
- lib/rubynas/apis/volume_api.rb
|
492
|
+
- lib/rubynas/config.rb
|
493
|
+
- lib/rubynas/db/migrate/20130302164415_devise_create_users.rb
|
494
|
+
- lib/rubynas/db/migrate/20130322143040_create_volumes.rb
|
495
|
+
- lib/rubynas/db/migrate/20130331102556_create_shared_folders.rb
|
496
|
+
- lib/rubynas/db/migrate/20130331103034_create_shared_folder_services.rb
|
497
|
+
- lib/rubynas/installers/base_installer.rb
|
498
|
+
- lib/rubynas/installers/debian_installer.rb
|
499
|
+
- lib/rubynas/installers/ubuntu_installer.rb
|
500
|
+
- lib/rubynas/installers/ubuntu_precise_installer.rb
|
501
|
+
- lib/rubynas/models/.gitkeep
|
502
|
+
- lib/rubynas/models/ldap_group.rb
|
503
|
+
- lib/rubynas/models/ldap_org_unit.rb
|
504
|
+
- lib/rubynas/models/ldap_user.rb
|
505
|
+
- lib/rubynas/models/shared_folder.rb
|
506
|
+
- lib/rubynas/models/shared_folder_service.rb
|
507
|
+
- lib/rubynas/models/volume.rb
|
508
|
+
- lib/rubynas/services/afp_share_service.rb
|
509
|
+
- lib/rubynas/services/service.rb
|
510
|
+
- lib/rubynas/services/share_service.rb
|
511
|
+
- lib/rubynas/version.rb
|
512
|
+
- rubynas.gemspec
|
513
|
+
- rubynas.ini
|
514
|
+
- sandbox/ldap/base.ldif
|
515
|
+
- sandbox/ldap/data/.gitkeep
|
516
|
+
- sandbox/ldap/data/dc=rubynas,dc=com.ldif
|
517
|
+
- sandbox/ldap/local.schema
|
518
|
+
- sandbox/ldap/schema/README
|
519
|
+
- sandbox/ldap/schema/apple.schema
|
520
|
+
- sandbox/ldap/schema/apple_auxillary.schema
|
521
|
+
- sandbox/ldap/schema/collective.ldif
|
522
|
+
- sandbox/ldap/schema/collective.schema
|
523
|
+
- sandbox/ldap/schema/corba.ldif
|
524
|
+
- sandbox/ldap/schema/corba.schema
|
525
|
+
- sandbox/ldap/schema/core.ldif
|
526
|
+
- sandbox/ldap/schema/core.schema
|
527
|
+
- sandbox/ldap/schema/cosine.ldif
|
528
|
+
- sandbox/ldap/schema/cosine.schema
|
529
|
+
- sandbox/ldap/schema/duaconf.ldif
|
530
|
+
- sandbox/ldap/schema/duaconf.schema
|
531
|
+
- sandbox/ldap/schema/dyngroup.ldif
|
532
|
+
- sandbox/ldap/schema/dyngroup.schema
|
533
|
+
- sandbox/ldap/schema/fmserver.schema
|
534
|
+
- sandbox/ldap/schema/inetorgperson.ldif
|
535
|
+
- sandbox/ldap/schema/inetorgperson.schema
|
536
|
+
- sandbox/ldap/schema/java.ldif
|
537
|
+
- sandbox/ldap/schema/java.schema
|
538
|
+
- sandbox/ldap/schema/krb5-kdc.schema
|
539
|
+
- sandbox/ldap/schema/microsoft.ext.schema
|
540
|
+
- sandbox/ldap/schema/microsoft.schema
|
541
|
+
- sandbox/ldap/schema/microsoft.std.schema
|
542
|
+
- sandbox/ldap/schema/misc.ldif
|
543
|
+
- sandbox/ldap/schema/misc.schema
|
544
|
+
- sandbox/ldap/schema/netinfo.schema
|
545
|
+
- sandbox/ldap/schema/nis.ldif
|
546
|
+
- sandbox/ldap/schema/nis.schema
|
547
|
+
- sandbox/ldap/schema/openldap.ldif
|
548
|
+
- sandbox/ldap/schema/openldap.schema
|
549
|
+
- sandbox/ldap/schema/pmi.ldif
|
550
|
+
- sandbox/ldap/schema/pmi.schema
|
551
|
+
- sandbox/ldap/schema/ppolicy.ldif
|
552
|
+
- sandbox/ldap/schema/ppolicy.schema
|
553
|
+
- sandbox/ldap/schema/samba.schema
|
554
|
+
- sandbox/ldap/slapd.conf
|
555
|
+
- spec/apis/group_api_spec.rb
|
556
|
+
- spec/apis/system_information_api_spec.rb
|
557
|
+
- spec/apis/user_api_spec.rb
|
558
|
+
- spec/apis/volume_api_spec.rb
|
559
|
+
- spec/factories/ldap_group.rb
|
560
|
+
- spec/factories/ldap_users.rb
|
561
|
+
- spec/factories/shared_folder_services.rb
|
562
|
+
- spec/factories/shared_folders.rb
|
563
|
+
- spec/factories/users.rb
|
564
|
+
- spec/factories/volumes.rb
|
565
|
+
- spec/installer/base_installer_spec.rb
|
566
|
+
- spec/installer/debian_installer_spec.rb
|
567
|
+
- spec/models/ldap_group_spec.rb
|
568
|
+
- spec/models/ldap_org_unit_spec.rb
|
569
|
+
- spec/models/ldap_user_spec.rb
|
570
|
+
- spec/models/shared_folder_service_spec.rb
|
571
|
+
- spec/models/shared_folder_spec.rb
|
572
|
+
- spec/models/volume_spec.rb
|
573
|
+
- spec/services/afp_share_service_spec.rb
|
574
|
+
- spec/services/service_spec.rb
|
575
|
+
- spec/services/share_service_spec.rb
|
576
|
+
- spec/spec_helper.rb
|
577
|
+
- spec/support/db_cleaner.rb
|
578
|
+
- spec/support/factory_girl.rb
|
579
|
+
- spec/support/logger.rb
|
580
|
+
- spec/support/rack-test.rb
|
581
|
+
homepage: https://github.com/rubynas/rubynas
|
582
|
+
licenses:
|
583
|
+
- MIT
|
584
|
+
post_install_message:
|
585
|
+
rdoc_options: []
|
586
|
+
require_paths:
|
587
|
+
- lib
|
588
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
589
|
+
none: false
|
590
|
+
requirements:
|
591
|
+
- - ! '>='
|
592
|
+
- !ruby/object:Gem::Version
|
593
|
+
version: 1.9.0
|
594
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
595
|
+
none: false
|
596
|
+
requirements:
|
597
|
+
- - ! '>'
|
598
|
+
- !ruby/object:Gem::Version
|
599
|
+
version: 1.3.1
|
600
|
+
requirements: []
|
601
|
+
rubyforge_project:
|
602
|
+
rubygems_version: 1.8.25
|
603
|
+
signing_key:
|
604
|
+
specification_version: 3
|
605
|
+
summary: Offers an api to configure, install and manage essential services for a nas
|
606
|
+
system
|
607
|
+
test_files:
|
608
|
+
- spec/apis/group_api_spec.rb
|
609
|
+
- spec/apis/system_information_api_spec.rb
|
610
|
+
- spec/apis/user_api_spec.rb
|
611
|
+
- spec/apis/volume_api_spec.rb
|
612
|
+
- spec/factories/ldap_group.rb
|
613
|
+
- spec/factories/ldap_users.rb
|
614
|
+
- spec/factories/shared_folder_services.rb
|
615
|
+
- spec/factories/shared_folders.rb
|
616
|
+
- spec/factories/users.rb
|
617
|
+
- spec/factories/volumes.rb
|
618
|
+
- spec/installer/base_installer_spec.rb
|
619
|
+
- spec/installer/debian_installer_spec.rb
|
620
|
+
- spec/models/ldap_group_spec.rb
|
621
|
+
- spec/models/ldap_org_unit_spec.rb
|
622
|
+
- spec/models/ldap_user_spec.rb
|
623
|
+
- spec/models/shared_folder_service_spec.rb
|
624
|
+
- spec/models/shared_folder_spec.rb
|
625
|
+
- spec/models/volume_spec.rb
|
626
|
+
- spec/services/afp_share_service_spec.rb
|
627
|
+
- spec/services/service_spec.rb
|
628
|
+
- spec/services/share_service_spec.rb
|
629
|
+
- spec/spec_helper.rb
|
630
|
+
- spec/support/db_cleaner.rb
|
631
|
+
- spec/support/factory_girl.rb
|
632
|
+
- spec/support/logger.rb
|
633
|
+
- spec/support/rack-test.rb
|