reactive_record 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +17 -2
- data/img/bendyworks_github_footer.png +0 -0
- data/img/reactive_record.png +0 -0
- data/lib/reactive_record/version.rb +1 -1
- data/reactive_record.gemspec +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTE3ZTY1ODk3NDRjYTBmMTc3OGNmOWVmNWNhYzNmYjJiZGI1NzFiYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWUzZjFmNzlkNzU1YmRiNWMwNDMxOTc0ODFiZGM3ZTg1N2RjNTI3NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzY2ZWFkYTk5Y2VlNmYxMzhlYjQ2YTU1MjJiYTdiOGJhNzMzZmRmNGYwZTg2
|
10
|
+
Y2U3YmI2MTQ1YmZlYmYyNzk2OGZhNWQ0MTQ4ZjViZTg1OTk5ZTY4ZWJiNTI5
|
11
|
+
Y2I2OTc4YTE2MmE5YWM4YzFhNTZkY2ZjOTFjNGQzODIwZTQ4M2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGUzZDM1NTdhN2FmYzE2ZGYxMjMxZGVlYWNjNmRlYWNmZjk0YzhhMGFmNmY5
|
14
|
+
NTBlZjRlYzkwNGU3ZTAwOTcxZWFmNDdhNjdmZTE3NDBmM2E0ZTFiNDNjMzMy
|
15
|
+
NmRkYWUzMWYyZWUzMzBiNzcyNTVhM2RhNGI0YzUwNDhiNzdiMmU=
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<img src="https://raw.github.com/twopoint718/reactive_record/master/img/reactive_record.png"
|
3
|
+
alt="Reactive record logo">
|
4
|
+
</p>
|
2
5
|
|
3
6
|
Generates ActiveRecord models to fit a pre-existing Postgres database.
|
4
7
|
Now you can use Rails with the db schema you always wanted. It's
|
@@ -103,7 +106,7 @@ end
|
|
103
106
|
**Lastly** Deploy the `reactive_record` generator:
|
104
107
|
|
105
108
|
``` shell
|
106
|
-
$ rails generate reactive_record
|
109
|
+
$ rails generate reactive_record:install
|
107
110
|
```
|
108
111
|
|
109
112
|
Go look at the generated file:
|
@@ -122,3 +125,15 @@ Reactive record does not currently attempt to generate any kind of
|
|
122
125
|
reasonable error message (I'm working on it) :)
|
123
126
|
|
124
127
|
**Enjoy**
|
128
|
+
|
129
|
+
## Credits
|
130
|
+
|
131
|
+
Firstly, thank you,
|
132
|
+
[contributors](https://github.com/twopoint718/reactive_record/graphs/contributors)!
|
133
|
+
|
134
|
+
Also a special thanks to Joe Nelson,
|
135
|
+
[@begriffs](https://github.com/begriffs), for contributions and
|
136
|
+
inspiration. Thanks to [Bendyworks](http://bendyworks.com/) for the 20%
|
137
|
+
time to work on this project!
|
138
|
+
|
139
|
+
![Footer](img/bendyworks_github_footer.png)
|
Binary file
|
Binary file
|
data/reactive_record.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.homepage = "https://github.com/twopoint718/reactive_record"
|
14
14
|
gem.licenses = ['MIT']
|
15
15
|
|
16
|
-
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.files = [`git ls-files`.split($/), "lib/parser.rb"]
|
17
17
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reactive_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Nelson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg
|
@@ -80,6 +80,8 @@ files:
|
|
80
80
|
- LICENSE.txt
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
|
+
- img/bendyworks_github_footer.png
|
84
|
+
- img/reactive_record.png
|
83
85
|
- lib/code_generator.rb
|
84
86
|
- lib/generators/reactive_record/install_generator.rb
|
85
87
|
- lib/lexer.rb
|
@@ -91,6 +93,7 @@ files:
|
|
91
93
|
- spec/parser_spec.rb
|
92
94
|
- spec/reactive_record_spec.rb
|
93
95
|
- spec/seed/database.sql
|
96
|
+
- lib/parser.rb
|
94
97
|
homepage: https://github.com/twopoint718/reactive_record
|
95
98
|
licenses:
|
96
99
|
- MIT
|