sapling 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ require "sapling/version"
2
2
  require "sapling/util"
3
3
  require "sapling/base"
4
4
  require "sapling/memory"
5
- require "sapling/active_record_model"
5
+ require "sapling/model"
6
6
  require "sapling/active_record"
7
7
  require "sapling/generators/css_generator"
8
8
 
@@ -0,0 +1,4 @@
1
+ require "active_record"
2
+ class Sapling::Model < ::ActiveRecord::Base
3
+ set_table_name "sapling_settings"
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Sapling
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sapling
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Shane Brinkman-Davis
@@ -114,11 +114,11 @@ files:
114
114
  - db/create.sql
115
115
  - lib/sapling.rb
116
116
  - lib/sapling/active_record.rb
117
- - lib/sapling/active_record_model.rb
118
117
  - lib/sapling/api.rb
119
118
  - lib/sapling/base.rb
120
119
  - lib/sapling/generators/css_generator.rb
121
120
  - lib/sapling/memory.rb
121
+ - lib/sapling/model.rb
122
122
  - lib/sapling/rails.rb
123
123
  - lib/sapling/rails/action_controller.rb
124
124
  - lib/sapling/rails/controllers/sapling_controller.rb
@@ -1,8 +0,0 @@
1
- require "active_record"
2
- module Sapling
3
- class ActiveRecord < Base
4
- class Model < ::ActiveRecord::Base
5
- set_table_name "sapling_settings"
6
- end
7
- end
8
- end