natra 0.0.6 → 0.0.7

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: 524476920b30765e0ed69ded6da741bc7e9c5dd283ebbc5903548dfb7800f777
4
- data.tar.gz: d183fccc892daf7aec8bfacd8874b61016ad04a04a10000429dd685489ef27a0
3
+ metadata.gz: 658b9672e1386eed1e00db2574dc861a51f2da3d1c588e40e0a36c1ba21f21d5
4
+ data.tar.gz: a29dc7d8656b63b7969bfdc87584328640b0c59477c1f1155b18f16bf4513952
5
5
  SHA512:
6
- metadata.gz: a8c65d6c0a50e19bbfaf78e2b0fce7007a1b4a121cdbbf5f81bcc508d0fe8cd4ff9067bea730e26b19e9bb5c89f96569a4a62d9055f3d0b6c453c35ff1630486
7
- data.tar.gz: dd113c46c45b100b251cb3da32c659856044a388f9cd099c733daa14564b98342253ec291d41589270c4d0ccfb7c452f8c0e9df1e59b33979c1ad3c0506ac444
6
+ metadata.gz: 7b30a4f5100eb6114c765acc10d6f8e76a4e0dff6f058937c804e601f913af0eaee46e119cfce5b68f7cd4444a2432373f0c07d423d575826bac263b2b7942ce
7
+ data.tar.gz: 400f123137a0f51877491db54d69d26d2b3474c722406c864848699db564171aaa8f937898bf08c59dcc672f9d6fb37c075078e4c102d4bc6840fe8584c6aa07
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- natra (0.0.6)
4
+ natra (0.0.7)
5
5
  activesupport (~> 5.0)
6
6
  thor (~> 0.18)
7
7
 
@@ -21,7 +21,7 @@ GEM
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
- active_model_serializers (0.10.7)
24
+ active_model_serializers (0.10.8)
25
25
  actionpack (>= 4.1, < 6)
26
26
  activemodel (>= 4.1, < 6)
27
27
  case_transform (>= 0.2)
@@ -38,7 +38,7 @@ GEM
38
38
  case_transform (0.2)
39
39
  activesupport
40
40
  coderay (1.1.2)
41
- concurrent-ruby (1.0.5)
41
+ concurrent-ruby (1.1.3)
42
42
  coveralls (0.8.22)
43
43
  json (>= 1.8, < 3)
44
44
  simplecov (~> 0.16.1)
@@ -77,11 +77,11 @@ GEM
77
77
  rb-fsevent (~> 0.9, >= 0.9.4)
78
78
  rb-inotify (~> 0.9, >= 0.9.7)
79
79
  ruby_dep (~> 1.2)
80
- loofah (2.2.2)
80
+ loofah (2.2.3)
81
81
  crass (~> 1.0.2)
82
82
  nokogiri (>= 1.5.9)
83
83
  lumberjack (1.0.13)
84
- method_source (0.9.0)
84
+ method_source (0.9.1)
85
85
  mini_portile2 (2.3.0)
86
86
  minitest (5.11.3)
87
87
  nenv (0.3.0)
@@ -94,10 +94,10 @@ GEM
94
94
  parser (2.5.3.0)
95
95
  ast (~> 2.4.0)
96
96
  powerpack (0.1.2)
97
- pry (0.11.3)
97
+ pry (0.12.0)
98
98
  coderay (~> 1.1.0)
99
99
  method_source (~> 0.9.0)
100
- rack (2.0.5)
100
+ rack (2.0.6)
101
101
  rack-test (1.1.0)
102
102
  rack (>= 1.0, < 3)
103
103
  rails-dom-testing (2.0.3)
@@ -139,11 +139,11 @@ GEM
139
139
  json (>= 1.8, < 3)
140
140
  simplecov-html (~> 0.10.0)
141
141
  simplecov-html (0.10.2)
142
- term-ansicolor (1.6.0)
142
+ term-ansicolor (1.7.0)
143
143
  tins (~> 1.0)
144
144
  thor (0.19.4)
145
145
  thread_safe (0.3.6)
146
- tins (1.17.0)
146
+ tins (1.18.0)
147
147
  tzinfo (1.2.5)
148
148
  thread_safe (~> 0.1)
149
149
  unicode-display_width (1.4.0)
@@ -3,17 +3,17 @@ ruby '2.5.3'
3
3
  gem 'bcrypt'
4
4
  gem 'coveralls'
5
5
  gem 'natra'
6
+ gem 'oj'
7
+ gem 'pg', '~> 0.21.0'
8
+ gem 'puma'
9
+ gem 'rake'
10
+ gem 'rack-timeout'
11
+ gem 'require_all'
6
12
  gem 'seed-fu'
7
13
  gem 'scout_apm'
8
14
  gem 'sinatra'
9
15
  gem 'sinatra-activerecord', :require => 'sinatra/activerecord'
10
- gem 'rake'
11
- gem 'rack-timeout'
12
- gem 'require_all'
13
- gem "tux"
14
- gem 'pg', '~> 0.21.0'
15
- gem 'puma'
16
- gem 'oj'
16
+ gem 'tux'
17
17
  group :development, :test do
18
18
  gem 'pry-byebug'
19
19
  gem 'pry'
@@ -1,14 +1,12 @@
1
1
  require './config/environment'
2
2
 
3
3
  class ApplicationController < Sinatra::Base
4
-
5
4
  configure do
6
5
  set :public_folder, 'public'
7
6
  set :views, 'app/views'
8
7
  end
9
8
 
10
- get "/" do
9
+ get '/' do
11
10
  erb :welcome
12
11
  end
13
-
14
12
  end
@@ -1,7 +1,7 @@
1
- require "yaml"
1
+ require 'yaml'
2
2
 
3
3
  # Redis Configuration
4
4
  unless ENV['RACK_ENV'] == 'test'
5
- redis_settings = YAML::load_file("config/redis.yml")
5
+ redis_settings = YAML.load_file('config/redis.yml')
6
6
  REDIS = Redis.new(redis_settings[ENV['RACK_ENV']])
7
7
  end
@@ -1,7 +1,7 @@
1
1
  class AddExtensions < ActiveRecord::Migration[5.2]
2
- def change
3
- enable_extension 'hstore'
4
- enable_extension 'uuid-ossp'
5
- enable_extension 'pgcrypto'
6
- end
7
- end
2
+ def change
3
+ enable_extension 'hstore'
4
+ enable_extension 'uuid-ossp'
5
+ enable_extension 'pgcrypto'
6
+ end
7
+ end
@@ -1,13 +1,13 @@
1
- require_relative "spec_helper"
1
+ require_relative 'spec_helper'
2
2
 
3
3
  def app
4
4
  ApplicationController
5
5
  end
6
6
 
7
7
  describe ApplicationController do
8
- it "responds with a welcome message" do
8
+ it 'responds with a welcome message' do
9
9
  get '/'
10
10
  expect(last_response.status).to eq(200)
11
- expect(last_response.body).to include("Welcome to the Sinatra Template!")
11
+ expect(last_response.body).to include('Welcome to the Sinatra Template!')
12
12
  end
13
13
  end
@@ -1,4 +1,4 @@
1
- ENV["RACK_ENV"] = "test"
1
+ ENV['RACK_ENV'] = 'test'
2
2
  require_relative '../config/environment'
3
3
  require 'rack/test'
4
4
  require 'capybara/rspec'
@@ -1,4 +1,4 @@
1
- require "thor/group"
1
+ require 'thor/group'
2
2
  require 'active_support/inflector'
3
3
  module Natra
4
4
  module Generators
data/lib/natra/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Natra
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: natra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiru Njuguna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler