arunthampi-supermodel 0.1.0
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.
- data/MIT-LICENSE +20 -0
- data/README +23 -0
- data/Rakefile +48 -0
- data/VERSION +1 -0
- data/lib/supermodel.rb +9 -0
- data/lib/supermodel/base.rb +284 -0
- data/lib/supermodel/errors.rb +6 -0
- data/lib/supermodel/support.rb +2 -0
- data/lib/supermodel/support/extensions.rb +80 -0
- data/lib/supermodel/support/inflections.rb +52 -0
- data/lib/supermodel/support/inflector.rb +277 -0
- data/spec/base/from_json_spec.rb +70 -0
- data/spec/base/has_many_spec.rb +89 -0
- data/spec/base/has_one_spec.rb +80 -0
- data/spec/base/has_spec.rb +88 -0
- data/spec/base/initialize_spec.rb +64 -0
- data/spec/base/marshal_dump_spec.rb +64 -0
- data/spec/base/marshal_load_spec.rb +58 -0
- data/spec/base/module_spec.rb +15 -0
- data/spec/base/nested_class_spec.rb +16 -0
- data/spec/base/to_json_spec.rb +73 -0
- data/spec/spec_helper.rb +9 -0
- data/supermodel.gemspec +15 -0
- metadata +83 -0
data/spec/spec_helper.rb
ADDED
data/supermodel.gemspec
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'supermodel'
|
3
|
+
s.version = '0.1.0'
|
4
|
+
s.authors = ['Arun Thampi']
|
5
|
+
s.date = "2008-06-11"
|
6
|
+
s.email = "arun.thampi@gmail.com"
|
7
|
+
s.homepage = "http://www.github.com/arunthampi/supermodel"
|
8
|
+
s.summary = "Sexy Semantics for any Ruby model/library that you want to create"
|
9
|
+
s.description = "Sexy Semantics for any Ruby model/library that you want to create"
|
10
|
+
s.files = ["MIT-LICENSE", "supermodel.gemspec", "Rakefile", "README", "VERSION", "lib/supermodel/base.rb", "lib/supermodel/errors.rb", "lib/supermodel/support/extensions.rb", "lib/supermodel/support/inflections.rb", "lib/supermodel/support/inflector.rb", "lib/supermodel/support.rb", "lib/supermodel.rb", "spec/base/from_json_spec.rb", "spec/base/has_many_spec.rb", "spec/base/has_one_spec.rb", "spec/base/has_spec.rb", "spec/base/initialize_spec.rb", "spec/base/marshal_dump_spec.rb", "spec/base/marshal_load_spec.rb", "spec/base/module_spec.rb", "spec/base/nested_class_spec.rb", "spec/base/to_json_spec.rb", "spec/spec_helper.rb"]
|
11
|
+
s.has_rdoc = true
|
12
|
+
s.require_path = "lib"
|
13
|
+
s.extra_rdoc_files = ["README"]
|
14
|
+
s.add_dependency 'json', ['>=1.1.2']
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: arunthampi-supermodel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arun Thampi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-06-11 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: json
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.1.2
|
23
|
+
version:
|
24
|
+
description: Sexy Semantics for any Ruby model/library that you want to create
|
25
|
+
email: arun.thampi@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- README
|
32
|
+
files:
|
33
|
+
- MIT-LICENSE
|
34
|
+
- supermodel.gemspec
|
35
|
+
- Rakefile
|
36
|
+
- README
|
37
|
+
- VERSION
|
38
|
+
- lib/supermodel/base.rb
|
39
|
+
- lib/supermodel/errors.rb
|
40
|
+
- lib/supermodel/support/extensions.rb
|
41
|
+
- lib/supermodel/support/inflections.rb
|
42
|
+
- lib/supermodel/support/inflector.rb
|
43
|
+
- lib/supermodel/support.rb
|
44
|
+
- lib/supermodel.rb
|
45
|
+
- spec/base/from_json_spec.rb
|
46
|
+
- spec/base/has_many_spec.rb
|
47
|
+
- spec/base/has_one_spec.rb
|
48
|
+
- spec/base/has_spec.rb
|
49
|
+
- spec/base/initialize_spec.rb
|
50
|
+
- spec/base/marshal_dump_spec.rb
|
51
|
+
- spec/base/marshal_load_spec.rb
|
52
|
+
- spec/base/module_spec.rb
|
53
|
+
- spec/base/nested_class_spec.rb
|
54
|
+
- spec/base/to_json_spec.rb
|
55
|
+
- spec/spec_helper.rb
|
56
|
+
has_rdoc: true
|
57
|
+
homepage: http://www.github.com/arunthampi/supermodel
|
58
|
+
post_install_message:
|
59
|
+
rdoc_options: []
|
60
|
+
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "0"
|
68
|
+
version:
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
version:
|
75
|
+
requirements: []
|
76
|
+
|
77
|
+
rubyforge_project:
|
78
|
+
rubygems_version: 1.0.1
|
79
|
+
signing_key:
|
80
|
+
specification_version: 2
|
81
|
+
summary: Sexy Semantics for any Ruby model/library that you want to create
|
82
|
+
test_files: []
|
83
|
+
|