saaskit 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67cfe02cb43217ecf7a4e4d61308281315fb79b34a609466e8ab6c47807503f5
4
- data.tar.gz: bf608859e3c553a5132ba5f1290a4d82cad03feaf4b430e09d1e9fd3ff117c6f
3
+ metadata.gz: 2c6248c19f2041cab7d7c05db537a61301d0c2057dc06f9114e2c656289c86be
4
+ data.tar.gz: a9f78522d37ff64e6f9133d90f5b80b1f0605cd563191c41e853c4b6f001ac3d
5
5
  SHA512:
6
- metadata.gz: 9a85bfb372a42f587fbe9be2a06016ca6629c98a4250b5570c014ffa3df346ae2f1726311dbd59eb9d7a303bfb04b600aa3f7dc32914f87e7876f184c20ba157
7
- data.tar.gz: 48dc7351b5c79ad8731e8981a7ff2b2c2b4a20ca9732ed1363cbcb7414c2a69cbadbe6f909f4bc41167ec905b8877c5f26292afa13ad18983f6da2bc890fbe33
6
+ metadata.gz: 511a7a42ba795dfb67057dc38297a9c3545481834276ac30ff78375d1d209a7eb511f7ce10874022e70a9c5ca497d9adfed15dcc24b8e91cc60a8a1d7c7949e8
7
+ data.tar.gz: f22e5551f7aabb8b624306e72714feea7d57a51fef1cb96d445c89ae2fdf447005553718808e6fccbf32c528bf409d79adafb2c4600ae30b94200c4bd7979c5a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- saaskit (0.1.0)
4
+ saaskit (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/saaskit.svg)](https://badge.fury.io/rb/saaskit)
2
+
1
3
  # SaaSKit
2
4
 
3
5
  SaaSKit is the Rails SaaS starter kit for building your SaaS business.
@@ -37,6 +37,11 @@ module Saaskit
37
37
  /config.require_master_key = true/
38
38
  end
39
39
 
40
+ def application_css_in_assets_pipeline
41
+ remove_file "app/assets/stylesheets/application.css"
42
+ copy_file "app/assets/stylesheets/application.scss"
43
+ end
44
+
40
45
  def install_stimulus
41
46
  run "yarn add stimulus"
42
47
  copy_file "app/javascript/controllers/index.js"
@@ -70,11 +75,22 @@ module Saaskit
70
75
  def install_aos_controller
71
76
  run "yarn add aos@next"
72
77
  copy_file "app/javascript/controllers/aos_controller.js"
78
+ append_to_file "app/assets/stylesheets/application.scss" do
79
+ <<~CODE
80
+ @import "aos/dist/aos";
81
+ CODE
82
+ end
73
83
  end
74
84
 
75
85
  def install_noty_controller
76
86
  run "yarn add noty"
77
87
  copy_file "app/javascript/controllers/noty_controller.js"
88
+ append_to_file "app/assets/stylesheets/application.scss" do
89
+ <<~CODE
90
+ @import "noty/lib/noty";
91
+ @import "noty/lib/themes/sunset";
92
+ CODE
93
+ end
78
94
  end
79
95
 
80
96
  def install_tailwindcss
@@ -3,7 +3,6 @@ import {
3
3
  } from "stimulus"
4
4
 
5
5
  import AOS from 'aos'
6
- import 'aos/dist/aos.css'
7
6
 
8
7
  export default class extends Controller {
9
8
  connect() {
@@ -3,8 +3,6 @@ import {
3
3
  } from "stimulus"
4
4
 
5
5
  window.Noty = require('noty');
6
- import 'noty/lib/noty.css'
7
- import 'noty/lib/themes/sunset.css'
8
6
 
9
7
  export default class extends Controller {
10
8
  }
@@ -16,7 +16,7 @@
16
16
  <% end %>
17
17
  </div>
18
18
  <div data-aos="fade-left" data-aos-delay="150" class="md:absolute md:top-0 md:right-0 md:w-4/5 lg:w-3/4 xl:w-2/3 h-auto" style="z-index: -1;">
19
- <%= image_tag asset_pack_path("media/images/pablo-done.png") %>
19
+ <%= image_tag asset_pack_path("media/images/pablo-done.png"), class: "w-full h-full" %>
20
20
  </div>
21
21
  </div>
22
22
  </div>
@@ -362,7 +362,7 @@
362
362
  </div>
363
363
  </section>
364
364
  <section class="text-gray-200">
365
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64"><path fill="currentColor" d="M749.72,63C409.32,68.45,117.88,44.82,0,6.75V64H1440V0h-2.73C1297,33.39,1041.69,58.3,749.72,63Z"/></svg>
365
+ <svg class="w-full h-8 md:h-10 lg:h-12 xl:h-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64" preserveAspectRatio="none"><path fill="currentColor" d="M749.72,63C409.32,68.45,117.88,44.82,0,6.75V64H1440V0h-2.73C1297,33.39,1041.69,58.3,749.72,63Z"/></svg>
366
366
  </section>
367
367
  <section id="pricing" class="bg-gray-200 py-4 lg:py-16">
368
368
  <div class="container px-4 mx-auto">
@@ -380,7 +380,7 @@
380
380
  <span class="text-2xl md:text-3xl lg:text-4xl xl:text-5xl font-black tracking-tight leading-none text-green-500">Free</span>
381
381
  </div>
382
382
  <ul class="mb-2 md:mb-4 lg:mb-6 xl:mb-8">
383
- <li class="text-base lg:text-lg mb-1 md:mb-2">✅ Ruby on Rails 6</li>
383
+ <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Ruby on Rails 6</li>
384
384
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Stimulus and Tailwind integration</li>
385
385
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Eye-catching Landing Pages</li>
386
386
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Mailing List Subscription</li>
@@ -406,7 +406,7 @@
406
406
  </span>
407
407
  </div>
408
408
  <ul>
409
- <li class="text-base lg:text-lg mb-1 md:mb-2">✅ All features listed in OSS</li>
409
+ <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ All features listed in OSS</li>
410
410
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Authentication</li>
411
411
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Teams</li>
412
412
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Role-Based Permission</li>
@@ -436,7 +436,7 @@
436
436
  </span>
437
437
  </div>
438
438
  <ul>
439
- <li class="text-base lg:text-lg mb-1 md:mb-2">✅ All features listed in Pro</li>
439
+ <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ All features listed in Pro</li>
440
440
  <li class="text-base lg:text-lg xl:text-xl mb-1 md:mb-2">✅ Unlimited Sites</li>
441
441
  </ul>
442
442
  </div>
@@ -448,7 +448,7 @@
448
448
  </div>
449
449
  </section>
450
450
  <section class="text-gray-800 bg-gray-200">
451
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64"><path fill="currentColor" d="M690.28,63c340.4,5.46,631.84-18.17,749.72-56.24V64H0V0H2.73C143,33.39,398.31,58.3,690.28,63Z"/></svg>
451
+ <svg class="w-full h-8 md:h-10 lg:h-12 xl:h-16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 64" preserveAspectRatio="none"><path fill="currentColor" d="M690.28,63c340.4,5.46,631.84-18.17,749.72-56.24V64H0V0H2.73C143,33.39,398.31,58.3,690.28,63Z"/></svg>
452
452
  </section>
453
453
  <section id="notify-me" class="bg-gray-800 py-4 lg:py-16">
454
454
  <div class="container px-4 mx-auto">
@@ -67,7 +67,7 @@
67
67
  <%= link_to "✨ Features", "#features", class: "block text-lg hover:text-brand-darker whitespace-no-wrap py-2 lg:p-2 transition-all transition-250 transition-ease" %>
68
68
  </li>
69
69
  <li class="flex-none lg:ml-8 min-h-0">
70
- <%= link_to "💵 Pricing", root_path, class: "block text-lg hover:text-brand-darker whitespace-no-wrap py-2 lg:p-2 transition-all transition-250 transition-ease" %>
70
+ <%= link_to "💵 Pricing", "#pricing", class: "block text-lg hover:text-brand-darker whitespace-no-wrap py-2 lg:p-2 transition-all transition-250 transition-ease" %>
71
71
  </li>
72
72
  <li class="flex-none mt-4 lg:mt-0 lg:ml-8 xl:ml-16 min-h-0">
73
73
  <%= link_to "Pro version", "#notify-me", class: "block text-lg font-bold text-center text-white whitespace-no-wrap bg-brand-dark hover:bg-brand-darker rounded px-6 py-2 transition-all transition-250 transition-ease" %>
@@ -1,3 +1,3 @@
1
1
  module Saaskit
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saaskit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-06 00:00:00.000000000 Z
11
+ date: 2019-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,6 +73,7 @@ files:
73
73
  - lib/generators/saaskit/install/install_generator.rb
74
74
  - lib/generators/saaskit/install/templates/README
75
75
  - lib/generators/saaskit/install/templates/app/adapters/mailchimp/base_adapter.rb
76
+ - lib/generators/saaskit/install/templates/app/assets/stylesheets/application.scss
76
77
  - lib/generators/saaskit/install/templates/app/controllers/application_controller.rb
77
78
  - lib/generators/saaskit/install/templates/app/controllers/pages_controller.rb
78
79
  - lib/generators/saaskit/install/templates/app/forms/newsletter_form.rb