sqld4r 0.0.1

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.
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ <p>Get Version</p>
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="maimuzo@gmail.com">Yusuke Ohmichi(maimuzo)</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+ <script type="text/javascript">
47
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
48
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
49
+ </script>
50
+ <script type="text/javascript">
51
+ var pageTracker = _gat._getTracker("UA-1165680-5");
52
+ pageTracker._initData();
53
+ pageTracker._trackPageview();
54
+ </script>
55
+
56
+ </body>
57
+ </html>
metadata ADDED
@@ -0,0 +1,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sqld4r
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Yusuke Ohmichi(maimuzo)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MRAwDgYDVQQDDAdtYWlt
14
+ dXpvMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNjb20w
15
+ HhcNMDgwN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06-22 00:00:00 +09:00
34
+ default_executable:
35
+ dependencies: []
36
+
37
+ description: The sqld4r is model generator for SQLDesigner(http://ondras.zarovi.cz/sql/demo/).
38
+ email:
39
+ - maimuzo@gmail.com
40
+ executables:
41
+ - sqld4r
42
+ extensions: []
43
+
44
+ extra_rdoc_files:
45
+ - History.txt
46
+ - License.txt
47
+ - Manifest.txt
48
+ - PostInstall.txt
49
+ - README.txt
50
+ - website/index.txt
51
+ files:
52
+ - .gitignore
53
+ - History.txt
54
+ - License.txt
55
+ - Manifest.txt
56
+ - PostInstall.txt
57
+ - README.txt
58
+ - Rakefile
59
+ - bin/sqld4r
60
+ - config/hoe.rb
61
+ - config/requirements.rb
62
+ - lib/sqld4r.rb
63
+ - lib/sqld4r/er2.xml
64
+ - lib/sqld4r/sqld4r_core.rb
65
+ - lib/sqld4r/sqld4r_options.rb
66
+ - lib/sqld4r/sqld4r_parser.rb
67
+ - lib/sqld4r/version.rb
68
+ - nbproject/private/config.properties
69
+ - nbproject/private/private.properties
70
+ - nbproject/project.properties
71
+ - nbproject/project.xml
72
+ - script/console
73
+ - script/destroy
74
+ - script/generate
75
+ - script/txt2html
76
+ - setup.rb
77
+ - spec/spec.opts
78
+ - spec/spec_helper.rb
79
+ - spec/sqld4r_spec.rb
80
+ - tasks/deployment.rake
81
+ - tasks/environment.rake
82
+ - tasks/rspec.rake
83
+ - tasks/website.rake
84
+ - website/index.html
85
+ - website/index.txt
86
+ - website/javascripts/rounded_corners_lite.inc.js
87
+ - website/stylesheets/screen.css
88
+ - website/template.html.erb
89
+ has_rdoc: true
90
+ homepage: http://sqld4r.rubyforge.org
91
+ post_install_message: |+
92
+ 1. Set environment valiable.
93
+
94
+ $ export SQLD4R_CONF=~/.sqld4r
95
+
96
+ - Default is $HOME/.sqld4r
97
+
98
+ 2. Create config file.
99
+
100
+ $ sqld4r --init
101
+
102
+ 3. Modify default values.
103
+
104
+ $ vi ~/.sqld4r
105
+
106
+ 4. Test for setting
107
+
108
+ $ sqld4r --check
109
+
110
+ 5. Generate migration files and model files from SQLDesigner xml file.
111
+
112
+ $ cd your-rails-root
113
+ $ sqld4r /path/to/SQLDesigner.xml
114
+
115
+ For more information on sqld4r, see http://sqld4r.rubyforge.org
116
+
117
+
118
+
119
+ rdoc_options:
120
+ - --main
121
+ - README.txt
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: "0"
129
+ version:
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: "0"
135
+ version:
136
+ requirements: []
137
+
138
+ rubyforge_project: sqld4r
139
+ rubygems_version: 1.1.1
140
+ signing_key:
141
+ specification_version: 2
142
+ summary: The sqld4r is model generator for SQLDesigner(http://ondras.zarovi.cz/sql/demo/).
143
+ test_files: []
144
+
metadata.gz.sig ADDED
Binary file