rmre 0.0.4 → 0.0.5
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/.gitignore +2 -0
- data/Gemfile.lock +15 -17
- data/HISTORY.rdoc +22 -0
- data/bin/rmre +0 -0
- data/lib/rmre/version.rb +1 -1
- data/rmre.gemspec +1 -1
- metadata +14 -9
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,32 +1,30 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rmre (0.0.
|
|
4
|
+
rmre (0.0.5)
|
|
5
5
|
activerecord (>= 3.0.0)
|
|
6
|
-
erubis
|
|
6
|
+
erubis
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: http://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
activesupport (= 3.2.1)
|
|
11
|
+
activemodel (3.2.8)
|
|
12
|
+
activesupport (= 3.2.8)
|
|
14
13
|
builder (~> 3.0.0)
|
|
15
|
-
activerecord (3.2.
|
|
16
|
-
activemodel (= 3.2.
|
|
17
|
-
activesupport (= 3.2.
|
|
18
|
-
arel (~> 3.0.
|
|
14
|
+
activerecord (3.2.8)
|
|
15
|
+
activemodel (= 3.2.8)
|
|
16
|
+
activesupport (= 3.2.8)
|
|
17
|
+
arel (~> 3.0.2)
|
|
19
18
|
tzinfo (~> 0.3.29)
|
|
20
|
-
activesupport (3.2.
|
|
19
|
+
activesupport (3.2.8)
|
|
21
20
|
i18n (~> 0.6)
|
|
22
21
|
multi_json (~> 1.0)
|
|
23
|
-
arel (3.0.
|
|
24
|
-
builder (3.0.
|
|
22
|
+
arel (3.0.2)
|
|
23
|
+
builder (3.0.4)
|
|
25
24
|
diff-lcs (1.1.3)
|
|
26
|
-
erubis (2.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
multi_json (1.1.0)
|
|
25
|
+
erubis (2.7.0)
|
|
26
|
+
i18n (0.6.1)
|
|
27
|
+
multi_json (1.3.6)
|
|
30
28
|
rspec (2.8.0)
|
|
31
29
|
rspec-core (~> 2.8.0)
|
|
32
30
|
rspec-expectations (~> 2.8.0)
|
|
@@ -35,7 +33,7 @@ GEM
|
|
|
35
33
|
rspec-expectations (2.8.0)
|
|
36
34
|
diff-lcs (~> 1.1.2)
|
|
37
35
|
rspec-mocks (2.8.0)
|
|
38
|
-
tzinfo (0.3.
|
|
36
|
+
tzinfo (0.3.34)
|
|
39
37
|
|
|
40
38
|
PLATFORMS
|
|
41
39
|
ruby
|
data/HISTORY.rdoc
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Rmre is utility gem for creating Ruby on Rails models for legacy databases.
|
|
2
|
+
|
|
3
|
+
Changes:
|
|
4
|
+
|
|
5
|
+
=== 0.0.4 / 2012-06-07
|
|
6
|
+
|
|
7
|
+
* Enhancements
|
|
8
|
+
|
|
9
|
+
* do not use deprecated methods in generated models ({John Murray}[https://github.com/JohnMurray])
|
|
10
|
+
* 'belongs_to' method uses singular name ({John Murray}[https://github.com/JohnMurray])
|
|
11
|
+
|
|
12
|
+
=== 0.0.3 / 2012-02-19
|
|
13
|
+
|
|
14
|
+
* Enhancements
|
|
15
|
+
|
|
16
|
+
* schema dump with foreign key statements
|
|
17
|
+
* creating sample settings file (-f, --file switch)
|
|
18
|
+
* generate singularized model file names
|
|
19
|
+
* various other fixes
|
|
20
|
+
|
|
21
|
+
GitHub: http://github.com/bosko/rmre
|
|
22
|
+
Issues: http://github.com/bosko/rmre/issues
|
data/bin/rmre
CHANGED
|
File without changes
|
data/lib/rmre/version.rb
CHANGED
data/rmre.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
s.rubyforge_project = "rmre"
|
|
18
18
|
|
|
19
19
|
s.add_dependency "activerecord", ">= 3.0.0"
|
|
20
|
-
s.add_dependency "erubis"
|
|
20
|
+
s.add_dependency "erubis"
|
|
21
21
|
s.add_development_dependency "rspec"
|
|
22
22
|
|
|
23
23
|
s.files = `git ls-files`.split("\n")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rmre
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|
|
@@ -32,17 +32,17 @@ dependencies:
|
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
33
33
|
none: false
|
|
34
34
|
requirements:
|
|
35
|
-
- -
|
|
35
|
+
- - ! '>='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version:
|
|
37
|
+
version: '0'
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
41
|
none: false
|
|
42
42
|
requirements:
|
|
43
|
-
- -
|
|
43
|
+
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version:
|
|
45
|
+
version: '0'
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: rspec
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -73,6 +73,7 @@ files:
|
|
|
73
73
|
- .gitignore
|
|
74
74
|
- Gemfile
|
|
75
75
|
- Gemfile.lock
|
|
76
|
+
- HISTORY.rdoc
|
|
76
77
|
- LICENSE.txt
|
|
77
78
|
- README.rdoc
|
|
78
79
|
- Rakefile
|
|
@@ -102,6 +103,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
102
103
|
- - ! '>='
|
|
103
104
|
- !ruby/object:Gem::Version
|
|
104
105
|
version: '0'
|
|
106
|
+
segments:
|
|
107
|
+
- 0
|
|
108
|
+
hash: -146509643511923988
|
|
105
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
110
|
none: false
|
|
107
111
|
requirements:
|
|
@@ -110,9 +114,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
114
|
version: 1.3.6
|
|
111
115
|
requirements: []
|
|
112
116
|
rubyforge_project: rmre
|
|
113
|
-
rubygems_version: 1.8.
|
|
117
|
+
rubygems_version: 1.8.23
|
|
114
118
|
signing_key:
|
|
115
119
|
specification_version: 3
|
|
116
120
|
summary: The easiest way to create ActiveRecord models for legacy database
|
|
117
|
-
test_files:
|
|
118
|
-
|
|
121
|
+
test_files:
|
|
122
|
+
- spec/rmre/generator_spec.rb
|
|
123
|
+
- spec/spec_helper.rb
|