schemaless 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/schemaless/migrations/migrations_generator.rb +2 -2
- data/lib/schemaless/ar/indexes.rb +3 -1
- data/lib/schemaless/table.rb +1 -1
- data/lib/schemaless/version.rb +1 -1
- data/lib/schemaless/worker.rb +2 -6
- data/spec/dummy/log/test.log +14196 -0
- metadata +3 -17
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20141202223732_create_bikes.rb +0 -16
- data/spec/dummy/db/migrate/20141202223750_create_places.rb +0 -9
- data/spec/dummy/db/migrate/20141202223751_create_riders.rb +0 -10
- data/spec/dummy/db/migrate/20141202223752_create_users.rb +0 -8
- data/spec/dummy/db/migrate/20141202223753_create_user_skills.rb +0 -8
- data/spec/dummy/db/migrate/20141202223754_create_user_extras.rb +0 -8
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schemaless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Piccinini
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description: ActiveRecord field!
|
139
|
+
description: ActiveRecord field & index!
|
140
140
|
email: x@nofxx.com
|
141
141
|
executables: []
|
142
142
|
extensions: []
|
@@ -194,13 +194,6 @@ files:
|
|
194
194
|
- spec/dummy/config/locales/en.yml
|
195
195
|
- spec/dummy/config/routes.rb
|
196
196
|
- spec/dummy/config/secrets.yml
|
197
|
-
- spec/dummy/db/development.sqlite3
|
198
|
-
- spec/dummy/db/migrate/20141202223732_create_bikes.rb
|
199
|
-
- spec/dummy/db/migrate/20141202223750_create_places.rb
|
200
|
-
- spec/dummy/db/migrate/20141202223751_create_riders.rb
|
201
|
-
- spec/dummy/db/migrate/20141202223752_create_users.rb
|
202
|
-
- spec/dummy/db/migrate/20141202223753_create_user_skills.rb
|
203
|
-
- spec/dummy/db/migrate/20141202223754_create_user_extras.rb
|
204
197
|
- spec/dummy/db/production.sqlite3
|
205
198
|
- spec/dummy/db/test.sqlite3
|
206
199
|
- spec/dummy/log/development.log
|
@@ -244,7 +237,7 @@ rubyforge_project:
|
|
244
237
|
rubygems_version: 2.4.3
|
245
238
|
signing_key:
|
246
239
|
specification_version: 4
|
247
|
-
summary:
|
240
|
+
summary: Schemaless dynamic attributes for ActiveRecord
|
248
241
|
test_files:
|
249
242
|
- spec/spec_helper.rb
|
250
243
|
- spec/schemaless_spec.rb
|
@@ -298,12 +291,5 @@ test_files:
|
|
298
291
|
- spec/dummy/app/models/place.rb
|
299
292
|
- spec/dummy/README.rdoc
|
300
293
|
- spec/dummy/db/production.sqlite3
|
301
|
-
- spec/dummy/db/migrate/20141202223751_create_riders.rb
|
302
|
-
- spec/dummy/db/migrate/20141202223754_create_user_extras.rb
|
303
|
-
- spec/dummy/db/migrate/20141202223752_create_users.rb
|
304
|
-
- spec/dummy/db/migrate/20141202223750_create_places.rb
|
305
|
-
- spec/dummy/db/migrate/20141202223732_create_bikes.rb
|
306
|
-
- spec/dummy/db/migrate/20141202223753_create_user_skills.rb
|
307
294
|
- spec/dummy/db/test.sqlite3
|
308
|
-
- spec/dummy/db/development.sqlite3
|
309
295
|
has_rdoc:
|
File without changes
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreateBikes < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :bikes do |t|
|
4
|
-
t.string :name, null: true, limit: 255
|
5
|
-
t.integer :cylinders, null: true
|
6
|
-
t.integer :rpm, null: true
|
7
|
-
t.integer :cc, null: true
|
8
|
-
t.integer :user_id, null: true
|
9
|
-
t.timestamp :created_at, null: true
|
10
|
-
t.timestamp :updated_at, null: true
|
11
|
-
end
|
12
|
-
add_index :bikes, :cylinders
|
13
|
-
add_index :bikes, :name
|
14
|
-
add_index :bikes, :cc
|
15
|
-
end
|
16
|
-
end
|