natra 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +31 -31
- data/lib/natra/generators/app/templates/Dockerfile +13 -1
- data/lib/natra/version.rb +1 -1
- data/natra.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fedb4ce420bafb66a03e865d8108df3c445c25420e60d2d5bccf4d713b5d0a38
|
4
|
+
data.tar.gz: 1ca41e56a5a7ea5804f8e495d0990883db542f597865e007b1fe65457f566119
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90862f14e69e4fcc059c9d3051adb5deb45c62853e570e8898c626055bef6b3800c6f6069da6f5b9033c6fc40f32df7a994da1a9ab3abe7e2e291578e1070c08
|
7
|
+
data.tar.gz: 930bc189f659e5c3d2ad7f2dc2b1842f0ba5d64043494c4300566d9566f07404284940c8de2eae511156d03118d739c75d6835f32f2bdc7cb43d4c6ce459dc00
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
natra (0.0.
|
4
|
+
natra (0.0.8)
|
5
5
|
activesupport (~> 5.0)
|
6
6
|
thor (~> 0.18)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (5.2.
|
12
|
-
actionview (= 5.2.
|
13
|
-
activesupport (= 5.2.
|
11
|
+
actionpack (5.2.2)
|
12
|
+
actionview (= 5.2.2)
|
13
|
+
activesupport (= 5.2.2)
|
14
14
|
rack (~> 2.0)
|
15
15
|
rack-test (>= 0.6.3)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
18
|
-
actionview (5.2.
|
19
|
-
activesupport (= 5.2.
|
18
|
+
actionview (5.2.2)
|
19
|
+
activesupport (= 5.2.2)
|
20
20
|
builder (~> 3.1)
|
21
21
|
erubi (~> 1.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
@@ -26,9 +26,9 @@ GEM
|
|
26
26
|
activemodel (>= 4.1, < 6)
|
27
27
|
case_transform (>= 0.2)
|
28
28
|
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
29
|
-
activemodel (5.2.
|
30
|
-
activesupport (= 5.2.
|
31
|
-
activesupport (5.2.
|
29
|
+
activemodel (5.2.2)
|
30
|
+
activesupport (= 5.2.2)
|
31
|
+
activesupport (5.2.2)
|
32
32
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
33
|
i18n (>= 0.7, < 2)
|
34
34
|
minitest (~> 5.1)
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
case_transform (0.2)
|
39
39
|
activesupport
|
40
40
|
coderay (1.1.2)
|
41
|
-
concurrent-ruby (1.1.
|
41
|
+
concurrent-ruby (1.1.4)
|
42
42
|
coveralls (0.8.22)
|
43
43
|
json (>= 1.8, < 3)
|
44
44
|
simplecov (~> 0.16.1)
|
@@ -48,10 +48,10 @@ GEM
|
|
48
48
|
crass (1.0.4)
|
49
49
|
diff-lcs (1.3)
|
50
50
|
docile (1.3.1)
|
51
|
-
erubi (1.
|
52
|
-
ffi (1.
|
51
|
+
erubi (1.8.0)
|
52
|
+
ffi (1.10.0)
|
53
53
|
formatador (0.2.5)
|
54
|
-
guard (2.
|
54
|
+
guard (2.15.0)
|
55
55
|
formatador (>= 0.2.4)
|
56
56
|
listen (>= 2.7, < 4.0)
|
57
57
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -68,9 +68,9 @@ GEM
|
|
68
68
|
guard-rubocop (1.3.0)
|
69
69
|
guard (~> 2.0)
|
70
70
|
rubocop (~> 0.20)
|
71
|
-
i18n (1.
|
71
|
+
i18n (1.5.3)
|
72
72
|
concurrent-ruby (~> 1.0)
|
73
|
-
jaro_winkler (1.5.
|
73
|
+
jaro_winkler (1.5.2)
|
74
74
|
json (2.1.0)
|
75
75
|
jsonapi-renderer (0.2.0)
|
76
76
|
listen (3.1.5)
|
@@ -81,20 +81,20 @@ GEM
|
|
81
81
|
crass (~> 1.0.2)
|
82
82
|
nokogiri (>= 1.5.9)
|
83
83
|
lumberjack (1.0.13)
|
84
|
-
method_source (0.9.
|
85
|
-
mini_portile2 (2.
|
84
|
+
method_source (0.9.2)
|
85
|
+
mini_portile2 (2.4.0)
|
86
86
|
minitest (5.11.3)
|
87
87
|
nenv (0.3.0)
|
88
|
-
nokogiri (1.
|
89
|
-
mini_portile2 (~> 2.
|
88
|
+
nokogiri (1.10.1)
|
89
|
+
mini_portile2 (~> 2.4.0)
|
90
90
|
notiffany (0.1.1)
|
91
91
|
nenv (~> 0.1)
|
92
92
|
shellany (~> 0.0)
|
93
|
-
parallel (1.
|
94
|
-
parser (2.
|
93
|
+
parallel (1.13.0)
|
94
|
+
parser (2.6.0.0)
|
95
95
|
ast (~> 2.4.0)
|
96
96
|
powerpack (0.1.2)
|
97
|
-
pry (0.12.
|
97
|
+
pry (0.12.2)
|
98
98
|
coderay (~> 1.1.0)
|
99
99
|
method_source (~> 0.9.0)
|
100
100
|
rack (2.0.6)
|
@@ -106,10 +106,10 @@ GEM
|
|
106
106
|
rails-html-sanitizer (1.0.4)
|
107
107
|
loofah (~> 2.2, >= 2.2.2)
|
108
108
|
rainbow (3.0.0)
|
109
|
-
rake (12.3.
|
109
|
+
rake (12.3.2)
|
110
110
|
rb-fsevent (0.10.3)
|
111
|
-
rb-inotify (0.
|
112
|
-
ffi (
|
111
|
+
rb-inotify (0.10.0)
|
112
|
+
ffi (~> 1.0)
|
113
113
|
rspec (3.8.0)
|
114
114
|
rspec-core (~> 3.8.0)
|
115
115
|
rspec-expectations (~> 3.8.0)
|
@@ -123,7 +123,7 @@ GEM
|
|
123
123
|
diff-lcs (>= 1.2.0, < 2.0)
|
124
124
|
rspec-support (~> 3.8.0)
|
125
125
|
rspec-support (3.8.0)
|
126
|
-
rubocop (0.
|
126
|
+
rubocop (0.63.1)
|
127
127
|
jaro_winkler (~> 1.5.1)
|
128
128
|
parallel (~> 1.10)
|
129
129
|
parser (>= 2.5, != 2.5.1.1)
|
@@ -139,21 +139,21 @@ 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.7.
|
142
|
+
term-ansicolor (1.7.1)
|
143
143
|
tins (~> 1.0)
|
144
144
|
thor (0.19.4)
|
145
145
|
thread_safe (0.3.6)
|
146
|
-
tins (1.
|
146
|
+
tins (1.20.2)
|
147
147
|
tzinfo (1.2.5)
|
148
148
|
thread_safe (~> 0.1)
|
149
|
-
unicode-display_width (1.4.
|
149
|
+
unicode-display_width (1.4.1)
|
150
150
|
|
151
151
|
PLATFORMS
|
152
152
|
ruby
|
153
153
|
|
154
154
|
DEPENDENCIES
|
155
155
|
active_model_serializers (~> 0.10.0.rc1)
|
156
|
-
bundler (~>
|
156
|
+
bundler (~> 2.0)
|
157
157
|
coveralls
|
158
158
|
guard
|
159
159
|
guard-rspec
|
@@ -164,4 +164,4 @@ DEPENDENCIES
|
|
164
164
|
rspec
|
165
165
|
|
166
166
|
BUNDLED WITH
|
167
|
-
|
167
|
+
2.0.1
|
@@ -1,13 +1,25 @@
|
|
1
|
-
FROM ruby AS base
|
1
|
+
FROM ruby:2.5.3 AS base
|
2
|
+
|
2
3
|
WORKDIR /usr/src/app
|
4
|
+
|
3
5
|
RUN gem install bundler
|
6
|
+
|
4
7
|
COPY Gemfile /usr/src/app/
|
8
|
+
|
5
9
|
FROM base AS development
|
10
|
+
|
6
11
|
RUN bundle install -j5 --without staging production
|
12
|
+
|
7
13
|
COPY . /usr/src/app
|
14
|
+
|
8
15
|
FROM base AS release
|
16
|
+
|
9
17
|
RUN bundle install -j5 --without development test
|
18
|
+
|
10
19
|
RUN chmod 755 ./usr/src/app
|
20
|
+
|
11
21
|
RUN chmod 755 ./usr/src/app/bin/setup
|
22
|
+
|
12
23
|
COPY . /usr/src/app
|
24
|
+
|
13
25
|
CMD puma
|
data/lib/natra/version.rb
CHANGED
data/natra.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.email = ['thirunjuguna@outlook.com']
|
10
10
|
|
11
11
|
spec.summary = 'Natra generate a light weight sinatra application'
|
12
|
-
spec.description = 'Natra generate a light weight sinatra application.It\'s ideal for building containerized
|
12
|
+
spec.description = 'Natra generate a light weight sinatra application.It\'s ideal for building containerized api services with postgres database'
|
13
13
|
spec.homepage = 'https://github.com/thirunjuguna/natra'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
if spec.respond_to?(:metadata)
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
end
|
26
26
|
spec.executables = ['natra']
|
27
27
|
spec.require_paths = ['lib']
|
28
|
-
spec.add_development_dependency 'bundler', '~>
|
28
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
29
29
|
spec.add_runtime_dependency('activesupport', '~> 5.0')
|
30
30
|
spec.add_runtime_dependency('thor', '~> 0.18')
|
31
31
|
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.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thiru Njuguna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.18'
|
55
55
|
description: Natra generate a light weight sinatra application.It's ideal for building
|
56
|
-
containerized
|
56
|
+
containerized api services with postgres database
|
57
57
|
email:
|
58
58
|
- thirunjuguna@outlook.com
|
59
59
|
executables:
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.7.
|
143
|
+
rubygems_version: 2.7.6
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Natra generate a light weight sinatra application
|