masina 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63c31490fff23a3b3096d9a2c3eb3ce8a091ddd3a9b10b6ad7c5043fc1b87c7e
4
- data.tar.gz: 142d660fcce32d918a6d74a7a9ac65a825d91a5da14084ceaf3da7420fbad6aa
3
+ metadata.gz: b33f29c4863e3d624095052f2022c6ca97cfbf5e1e816f7bca79b66f782d4435
4
+ data.tar.gz: c744dd4e30ed897f56c21ba203abaa6a256e508466bd691c58f641eb7e6c7cbb
5
5
  SHA512:
6
- metadata.gz: f1ab496861492ec8f58768bee1553c425338f5de93e0d3afe1cc29598ab3f90fc3f6442d8d3661a65562fd9e01dd373d6c595e4867b98e8af54f3e3540a714d1
7
- data.tar.gz: 869bb5820a072f35836acc040432ab4169006380a41e732c26593ae30a5b7d76078264dd524f2f321f7441716ba4cf5652e402d9002a91db95d88b9d76d99efd
6
+ metadata.gz: e76ed4c33dea1aabb687d6591740dec59409747b371f171c51c14d3ef022bcead030e3a4d697cb5e4a3057c6d0f42acd621355fa6de4cbbb53577c8f0d678c35
7
+ data.tar.gz: 2e46ca90cf42a9b94493d848e63bf098e8d82f13b7626074b86d8f83281aa45cab86f0c3e777a268980dd88a16f32cad960501f1ed229cfff3ba2da8e5bf27e1
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.3
data/Gemfile CHANGED
@@ -1,6 +1,8 @@
1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
6
 
5
7
  # Specify your gem's dependencies in masina.gemspec
6
8
  gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,56 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ masina (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.0)
10
+ diff-lcs (1.3)
11
+ jaro_winkler (1.5.1)
12
+ parallel (1.12.1)
13
+ parser (2.5.3.0)
14
+ ast (~> 2.4.0)
15
+ powerpack (0.1.2)
16
+ rainbow (3.0.0)
17
+ rake (12.3.2)
18
+ rspec (3.8.0)
19
+ rspec-core (~> 3.8.0)
20
+ rspec-expectations (~> 3.8.0)
21
+ rspec-mocks (~> 3.8.0)
22
+ rspec-core (3.8.0)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-expectations (3.8.2)
25
+ diff-lcs (>= 1.2.0, < 2.0)
26
+ rspec-support (~> 3.8.0)
27
+ rspec-mocks (3.8.0)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.8.0)
30
+ rspec-support (3.8.0)
31
+ rubocop (0.61.1)
32
+ jaro_winkler (~> 1.5.1)
33
+ parallel (~> 1.10)
34
+ parser (>= 2.5, != 2.5.1.1)
35
+ powerpack (~> 0.1)
36
+ rainbow (>= 2.2.2, < 4.0)
37
+ ruby-progressbar (~> 1.7)
38
+ unicode-display_width (~> 1.4.0)
39
+ rubocop-rspec (1.30.1)
40
+ rubocop (>= 0.60.0)
41
+ ruby-progressbar (1.10.0)
42
+ unicode-display_width (1.4.1)
43
+
44
+ PLATFORMS
45
+ ruby
46
+
47
+ DEPENDENCIES
48
+ bundler (~> 1.17, >= 1.17.2)
49
+ masina!
50
+ rake (~> 12.3, >= 12.3.2)
51
+ rspec (~> 3.8)
52
+ rubocop (~> 0.61.1)
53
+ rubocop-rspec (~> 1.30, >= 1.30.1)
54
+
55
+ BUNDLED WITH
56
+ 1.17.2
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Masina
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/masina.svg)](https://badge.fury.io/rb/masina)
4
+ [![Build Status](https://travis-ci.org/popicic/masina.svg?branch=master)](https://travis-ci.org/popicic/masina)
5
+ [![CodeFactor](https://www.codefactor.io/repository/github/popicic/masina/badge)](https://www.codefactor.io/repository/github/popicic/masina)
6
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5483f26bfd894b4c9abd3a829fca452c)](https://www.codacy.com/app/webguruserbia/masina?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=popicic/masina&amp;utm_campaign=Badge_Grade)
7
+
3
8
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/masina`. To experiment with that code, run `bin/console` for an interactive prompt.
4
9
 
5
10
  TODO: Delete this and the text above, and describe your gem
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
3
5
 
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
- task :default => :spec
8
+ task default: :spec
data/bin/console CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require "bundler/setup"
4
- require "masina"
4
+ require 'bundler/setup'
5
+ require 'masina'
5
6
 
6
7
  # You can add fixtures and/or initialization code here to make experimenting
7
8
  # with your gem easier. You can also use a different console, if you like.
@@ -10,5 +11,5 @@ require "masina"
10
11
  # require "pry"
11
12
  # Pry.start
12
13
 
13
- require "irb"
14
+ require 'irb'
14
15
  IRB.start(__FILE__)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Masina
2
- VERSION = "0.1.0"
4
+ VERSION = '0.1.1'
3
5
  end
data/lib/masina.rb CHANGED
@@ -1,4 +1,6 @@
1
- require "masina/version"
1
+ # frozen_string_literal: true
2
+
3
+ require 'masina/version'
2
4
 
3
5
  module Masina
4
6
  class Error < StandardError; end
data/masina.gemspec CHANGED
@@ -1,42 +1,51 @@
1
+ # frozen_string_literal: true
1
2
 
2
- lib = File.expand_path("../lib", __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "masina/version"
5
+ require 'masina/version'
5
6
 
7
+ # rubocop:disable Metrics/BlockLength
8
+ # rubocop:disable Metrics/LineLength
6
9
  Gem::Specification.new do |spec|
7
- spec.name = "masina"
10
+ spec.name = 'masina'
8
11
  spec.version = Masina::VERSION
9
- spec.authors = ["Aleksandar Popovic"]
10
- spec.email = ["aleksandar.popovic.popac@gmail.com"]
12
+ spec.authors = ['Aleksandar Popovic']
13
+ spec.email = ['aleksandar.popovic.popac@gmail.com']
11
14
 
12
- spec.summary = "Masina JWT Auth"
13
- spec.description = "Rails JWT Auth"
14
- spec.homepage = "https://github.com/popicic/masina"
15
- spec.license = "MIT"
15
+ spec.summary = 'Masina CLI'
16
+ spec.description = 'Ruby Apps Packaging'
17
+ spec.homepage = 'https://github.com/popicic/masina'
18
+ spec.license = 'MIT'
16
19
 
17
20
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
21
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
22
  if spec.respond_to?(:metadata)
20
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
23
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
24
 
22
- spec.metadata["homepage_uri"] = spec.homepage
23
- spec.metadata["source_code_uri"] = "https://github.com/popicic/masina"
24
- spec.metadata["changelog_uri"] = "https://github.com/popicic/masina/blob/master/CHANGELOG.md"
25
+ spec.metadata['homepage_uri'] = spec.homepage
26
+ spec.metadata['source_code_uri'] = 'https://github.com/popicic/masina'
27
+ spec.metadata['changelog_uri'] = 'https://github.com/popicic/masina/blob/master/CHANGELOG.md'
25
28
  else
26
- raise "RubyGems 2.0 or newer is required to protect against " \
27
- "public gem pushes."
29
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
30
+ 'public gem pushes.'
28
31
  end
29
32
 
30
33
  # Specify which files should be added to the gem when it is released.
31
34
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
35
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
33
36
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
37
  end
35
- spec.bindir = "exe"
38
+ spec.bindir = 'exe'
36
39
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
- spec.require_paths = ["lib"]
38
-
39
- spec.add_development_dependency "bundler", "~> 1.17"
40
- spec.add_development_dependency "rake", "~> 10.0"
41
- spec.add_development_dependency "rspec", "~> 3.0"
40
+ spec.require_paths = ['lib']
41
+
42
+ spec.default_executable = 'masina'
43
+
44
+ spec.add_development_dependency 'bundler', '~> 1.17', '>= 1.17.2'
45
+ spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.2'
46
+ spec.add_development_dependency 'rspec', '~> 3.8'
47
+ spec.add_development_dependency 'rubocop', '~> 0.61.1'
48
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.30', '>= 1.30.1'
42
49
  end
50
+ # rubocop:enable Metrics/LineLength
51
+ # rubocop:enable Metrics/BlockLength
data/rubocop.yml ADDED
@@ -0,0 +1,4 @@
1
+ require: rubocop-rspec
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: masina
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
  - Aleksandar Popovic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-25 00:00:00.000000000 Z
11
+ date: 2018-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.17'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.17.2
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,35 +27,78 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.17'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.17.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '10.0'
39
+ version: '12.3'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 12.3.2
34
43
  type: :development
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - "~>"
39
48
  - !ruby/object:Gem::Version
40
- version: '10.0'
49
+ version: '12.3'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 12.3.2
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: rspec
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
57
  - - "~>"
46
58
  - !ruby/object:Gem::Version
47
- version: '3.0'
59
+ version: '3.8'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.8'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rubocop
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: 0.61.1
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: 0.61.1
81
+ - !ruby/object:Gem::Dependency
82
+ name: rubocop-rspec
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '1.30'
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 1.30.1
48
91
  type: :development
49
92
  prerelease: false
50
93
  version_requirements: !ruby/object:Gem::Requirement
51
94
  requirements:
52
95
  - - "~>"
53
96
  - !ruby/object:Gem::Version
54
- version: '3.0'
55
- description: Rails JWT Auth
97
+ version: '1.30'
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 1.30.1
101
+ description: Ruby Apps Packaging
56
102
  email:
57
103
  - aleksandar.popovic.popac@gmail.com
58
104
  executables: []
@@ -61,10 +107,12 @@ extra_rdoc_files: []
61
107
  files:
62
108
  - ".gitignore"
63
109
  - ".rspec"
110
+ - ".ruby-version"
64
111
  - ".travis.yml"
65
112
  - CHANGELOG.md
66
113
  - CODE_OF_CONDUCT.md
67
114
  - Gemfile
115
+ - Gemfile.lock
68
116
  - LICENSE.txt
69
117
  - README.md
70
118
  - Rakefile
@@ -73,6 +121,7 @@ files:
73
121
  - lib/masina.rb
74
122
  - lib/masina/version.rb
75
123
  - masina.gemspec
124
+ - rubocop.yml
76
125
  homepage: https://github.com/popicic/masina
77
126
  licenses:
78
127
  - MIT
@@ -100,5 +149,5 @@ rubyforge_project:
100
149
  rubygems_version: 2.7.6
101
150
  signing_key:
102
151
  specification_version: 4
103
- summary: Masina JWT Auth
152
+ summary: Masina CLI
104
153
  test_files: []