catarse_settings_db 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/catarse_settings_db/version.rb +1 -1
- metadata +5 -6
- data/lib/generators/settings_generator.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 711765e112d0c732fb310cffb2bdd9817b5acfaf
|
4
|
+
data.tar.gz: 07d6290a4d67e31e8073f5d24ae6bd41d062bf18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2af7e961f96fa974028e40c0303c4b7bb2eb58338e12865b81ab8362b3b0913045f06a265dbb9f1a95cb6339bc34c96c6628d9f1253eb481da5947bcdbb1195
|
7
|
+
data.tar.gz: 8dd1c1afa37750f68c5b954f1b5c9c8d5837a6437f89d7dbb6edd1bf930753e0d95b283cafc55dc81d4afd8e729b2119f23a2e07c9e151811cf2b9a9043f0d87
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_settings_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 4.1.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 4.1.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
@@ -97,7 +97,6 @@ files:
|
|
97
97
|
- lib/catarse_settings_db.rb
|
98
98
|
- lib/catarse_settings_db/engine.rb
|
99
99
|
- lib/catarse_settings_db/version.rb
|
100
|
-
- lib/generators/settings_generator.rb
|
101
100
|
- lib/tasks/catarse_settings_db_tasks.rake
|
102
101
|
homepage: http://github.com/catarse/catarse_settings_db
|
103
102
|
licenses: []
|
@@ -118,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
117
|
version: '0'
|
119
118
|
requirements: []
|
120
119
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.4.5
|
122
121
|
signing_key:
|
123
122
|
specification_version: 4
|
124
123
|
summary: Engine to store catarse settings in the database.
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'rails'
|
2
|
-
require 'rails/generators'
|
3
|
-
require 'rails/generators/migration'
|
4
|
-
require 'active_record'
|
5
|
-
|
6
|
-
class SettingsGenerator < Rails::Generators::Base
|
7
|
-
include Rails::Generators::Migration
|
8
|
-
|
9
|
-
def self.source_root
|
10
|
-
@source_root ||= File.join(File.dirname(__FILE__), '..', 'templates')
|
11
|
-
end
|
12
|
-
|
13
|
-
def create_migration_file
|
14
|
-
migration_template 'create_settings.rb', 'db/migrate/create_settings.rb'
|
15
|
-
end
|
16
|
-
end
|