ghaki-account 2011.11.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/LICENSE +19 -0
  2. data/README +23 -0
  3. data/VERSION +1 -0
  4. data/lib/ghaki/account/base.rb +78 -0
  5. data/lib/ghaki/account/database.rb +66 -0
  6. data/lib/ghaki/account/db_connect.rb +45 -0
  7. data/lib/ghaki/account/db_driver.rb +22 -0
  8. data/lib/ghaki/account/db_name.rb +22 -0
  9. data/lib/ghaki/account/db_port.rb +22 -0
  10. data/lib/ghaki/account/domain_address.rb +39 -0
  11. data/lib/ghaki/account/email_address.rb +39 -0
  12. data/lib/ghaki/account/errors.rb +10 -0
  13. data/lib/ghaki/account/hostname.rb +95 -0
  14. data/lib/ghaki/account/password.rb +101 -0
  15. data/lib/ghaki/account/syn_opts.rb +42 -0
  16. data/lib/ghaki/account/userdomain.rb +88 -0
  17. data/lib/ghaki/account/username.rb +93 -0
  18. data/lib/ghaki/account/windos.rb +58 -0
  19. data/spec/ghaki/account/base_spec.rb +121 -0
  20. data/spec/ghaki/account/database_spec.rb +96 -0
  21. data/spec/ghaki/account/db_connect_spec.rb +79 -0
  22. data/spec/ghaki/account/db_driver_spec.rb +44 -0
  23. data/spec/ghaki/account/db_name_spec.rb +43 -0
  24. data/spec/ghaki/account/db_port_spec.rb +49 -0
  25. data/spec/ghaki/account/domain_address_spec.rb +30 -0
  26. data/spec/ghaki/account/email_address_spec.rb +30 -0
  27. data/spec/ghaki/account/hostname_spec.rb +110 -0
  28. data/spec/ghaki/account/password_spec.rb +155 -0
  29. data/spec/ghaki/account/syn_opts_helper.rb +90 -0
  30. data/spec/ghaki/account/syn_opts_spec.rb +36 -0
  31. data/spec/ghaki/account/userdomain_spec.rb +69 -0
  32. data/spec/ghaki/account/username_spec.rb +67 -0
  33. data/spec/ghaki/account/windos_spec.rb +107 -0
  34. data/spec/spec_helper.rb +6 -0
  35. metadata +139 -0
@@ -0,0 +1,6 @@
1
+ require 'mocha'
2
+
3
+ RSpec.configure do |cfg|
4
+ cfg.mock_with :mocha
5
+ cfg.color_enabled = true
6
+ end
metadata ADDED
@@ -0,0 +1,139 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ghaki-account
3
+ version: !ruby/object:Gem::Version
4
+ version: 2011.11.29.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Gerald Kalafut
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-11-30 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: highline
16
+ requirement: &74937120 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *74937120
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &74936890 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 2.4.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *74936890
36
+ - !ruby/object:Gem::Dependency
37
+ name: mocha
38
+ requirement: &74936660 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 0.9.12
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *74936660
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: &74936430 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.9.4
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *74936430
58
+ description: Collection of user / host login information helper objects.
59
+ email: gerald@kalafut.org
60
+ executables: []
61
+ extensions: []
62
+ extra_rdoc_files:
63
+ - README
64
+ files:
65
+ - lib/ghaki/account/userdomain.rb
66
+ - lib/ghaki/account/email_address.rb
67
+ - lib/ghaki/account/db_connect.rb
68
+ - lib/ghaki/account/username.rb
69
+ - lib/ghaki/account/windos.rb
70
+ - lib/ghaki/account/db_name.rb
71
+ - lib/ghaki/account/password.rb
72
+ - lib/ghaki/account/syn_opts.rb
73
+ - lib/ghaki/account/db_port.rb
74
+ - lib/ghaki/account/errors.rb
75
+ - lib/ghaki/account/database.rb
76
+ - lib/ghaki/account/db_driver.rb
77
+ - lib/ghaki/account/domain_address.rb
78
+ - lib/ghaki/account/base.rb
79
+ - lib/ghaki/account/hostname.rb
80
+ - README
81
+ - LICENSE
82
+ - VERSION
83
+ - spec/ghaki/account/domain_address_spec.rb
84
+ - spec/ghaki/account/db_port_spec.rb
85
+ - spec/ghaki/account/username_spec.rb
86
+ - spec/ghaki/account/base_spec.rb
87
+ - spec/ghaki/account/db_driver_spec.rb
88
+ - spec/ghaki/account/password_spec.rb
89
+ - spec/ghaki/account/windos_spec.rb
90
+ - spec/ghaki/account/database_spec.rb
91
+ - spec/ghaki/account/userdomain_spec.rb
92
+ - spec/ghaki/account/email_address_spec.rb
93
+ - spec/ghaki/account/db_name_spec.rb
94
+ - spec/ghaki/account/syn_opts_spec.rb
95
+ - spec/ghaki/account/hostname_spec.rb
96
+ - spec/ghaki/account/db_connect_spec.rb
97
+ - spec/spec_helper.rb
98
+ - spec/ghaki/account/syn_opts_helper.rb
99
+ homepage: http://github.com/ghaki
100
+ licenses: []
101
+ post_install_message:
102
+ rdoc_options: []
103
+ require_paths:
104
+ - lib
105
+ required_ruby_version: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: 1.3.6
117
+ requirements: []
118
+ rubyforge_project: ghaki-account
119
+ rubygems_version: 1.8.10
120
+ signing_key:
121
+ specification_version: 3
122
+ summary: Account login information
123
+ test_files:
124
+ - spec/ghaki/account/domain_address_spec.rb
125
+ - spec/ghaki/account/db_port_spec.rb
126
+ - spec/ghaki/account/username_spec.rb
127
+ - spec/ghaki/account/base_spec.rb
128
+ - spec/ghaki/account/db_driver_spec.rb
129
+ - spec/ghaki/account/password_spec.rb
130
+ - spec/ghaki/account/windos_spec.rb
131
+ - spec/ghaki/account/database_spec.rb
132
+ - spec/ghaki/account/userdomain_spec.rb
133
+ - spec/ghaki/account/email_address_spec.rb
134
+ - spec/ghaki/account/db_name_spec.rb
135
+ - spec/ghaki/account/syn_opts_spec.rb
136
+ - spec/ghaki/account/hostname_spec.rb
137
+ - spec/ghaki/account/db_connect_spec.rb
138
+ - spec/spec_helper.rb
139
+ - spec/ghaki/account/syn_opts_helper.rb