make_it_so 0.1.4 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98440672614aecff4fe77a4d68cc599aaf77bed0
4
- data.tar.gz: ef03a5178cf64086ed4ac3a197a48d0ade886312
3
+ metadata.gz: 911c3794025ab8c143d7fcb3431f679c0ab3ffb3
4
+ data.tar.gz: f75a89cc2d0d84b312467358a52f17c3753cf146
5
5
  SHA512:
6
- metadata.gz: 8e9fcd2bf2e1b9a9eee3c31a352292018a155d0eb79f98d50847ef50637306ef34dbfdceb431c82f21ba55f4f1c1f77b9917a5daa8f3fe95b790d72776ca870c
7
- data.tar.gz: b496ddeae9a63b23cfa99e46275dc42bc6e428766a8b28b7636f6ad82d165df7fbda3fe9fe8bca34dafe79dcc046b147806852fff7cb06c168a2dcae46da575c
6
+ metadata.gz: d3f1502880b2c292ee4795fab18a28049317c1faf7a58affb5634222221460fff89735679b90d48b598a1008285970818d5be077ae3117899f873dfe4c9f995e
7
+ data.tar.gz: b6a33b2a45f3b647139aabb5563a1b5480fdcd4b78816ef4c612318707a212fbde9f6b3dbd432d92787eaa6bdd1ade86e09be141d8f3067f1c14ea280c6e60a5
@@ -72,6 +72,7 @@ module MakeItSo
72
72
  end
73
73
 
74
74
  build 'application_controller'
75
+ build 'application_record'
75
76
  if options[:rspec]
76
77
  build 'rspec_dependency'
77
78
  #build 'fix_generators'
@@ -10,6 +10,12 @@ module MakeItSo
10
10
  end
11
11
  end
12
12
 
13
+ def application_record
14
+ inside 'app/models' do
15
+ template 'application_record.rb'
16
+ end
17
+ end
18
+
13
19
  def base_javascripts
14
20
  self.gem 'jquery-rails'
15
21
  inside 'app/assets/javascripts' do
@@ -1,3 +1,3 @@
1
1
  module MakeItSo
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -19,7 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "thor"
22
- spec.add_dependency "railties", "~> 5.1"
22
+ spec.add_dependency "railties", "~> 5.2"
23
+ spec.add_dependency "activerecord", "~> 5.2"
23
24
  spec.add_dependency "json"
24
25
 
25
26
  spec.add_development_dependency "bundler", "~> 1.7"
@@ -0,0 +1,3 @@
1
+ class ApplicationRecord < ActiveRecord::Base
2
+ self.abstract_class = true
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make_it_so
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pickett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,14 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.1'
33
+ version: '5.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.1'
40
+ version: '5.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activerecord
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.2'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: json
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -174,6 +188,7 @@ files:
174
188
  - templates/rails/.gitkeep
175
189
  - templates/rails/app/controllers/application_controller.rb
176
190
  - templates/rails/app/controllers/homes_controller.rb
191
+ - templates/rails/app/models/application_record.rb
177
192
  - templates/rails/app/views/homes/index.html.erb
178
193
  - templates/rails/app/views/layouts/application.html.erb.tt
179
194
  - templates/rails/karma.conf.js
@@ -213,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
228
  version: '0'
214
229
  requirements: []
215
230
  rubyforge_project:
216
- rubygems_version: 2.6.6
231
+ rubygems_version: 2.6.13
217
232
  signing_key:
218
233
  specification_version: 4
219
234
  summary: An application generator for all things ruby