prebundle 0.2.3 → 0.2.4

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: f57a8d142d618719aa6d972ce8f3af6e4d86fc42388ce15e516c0836aa291193
4
- data.tar.gz: bc55b9da6c2ac522b25d6005acef91cb03e75fb82613de0f33888d815c9e7445
3
+ metadata.gz: 6a4919ff3b31daef44065736867b787ac8f3bb89a17453a8af6e2d082daffa04
4
+ data.tar.gz: a5d89b85a80b12fd1522a21dbe98ad619000d94c3040799baa80f6a519ada810
5
5
  SHA512:
6
- metadata.gz: ad9cffd89738a4d6bb696c99b0f814a9b54c000b73209e6075bacaa96fe8d6337a91b0aad76f30bf03cfb37fb0838501e5917046cf57cb3fe7419593f6b0739b
7
- data.tar.gz: 9f438ff85ee5973307568b451118d04a54ea73a58e0b69567066bb909c3edfc2871702ea48eb23359aedbf620285bceb34109caa5231f2b96b5e7fa96d1beb2c
6
+ metadata.gz: 706a47ff36ac37a4f0b4c371f1d36be17288aeedf00943f17fff08248f5dff0bddfe48a5c1301750cf115d256604c99221d7ae09817307ffd148b79d316b3a3e
7
+ data.tar.gz: 4a5f4a6b82db7a27797f711df0bfb9df3ef23154b7932bc6780546f048c40975b0bd28eb5374189ec051edc5053bc793e02180b3e905f3b46253aa8c6490b630
@@ -1,73 +1,105 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prebundle (0.2.2)
4
+ prebundle (0.2.4)
5
5
  thor
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- aruba (0.14.8)
11
- childprocess (>= 0.6.3, < 1.1.0)
12
- contracts (~> 0.9)
13
- cucumber (>= 1.3.19)
10
+ activesupport (6.0.3.4)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
+ i18n (>= 0.7, < 2)
13
+ minitest (~> 5.1)
14
+ tzinfo (~> 1.1)
15
+ zeitwerk (~> 2.2, >= 2.2.2)
16
+ aruba (1.0.3)
17
+ childprocess (>= 2.0, < 5.0)
18
+ contracts (~> 0.16.0)
19
+ cucumber (>= 2.4, < 6.0)
14
20
  ffi (~> 1.9)
15
- rspec-expectations (>= 2.99)
16
- thor (~> 0.19)
17
- backports (3.12.0)
18
- builder (3.2.3)
19
- childprocess (1.0.1)
20
- rake (< 13.0)
21
+ rspec-expectations (~> 3.4)
22
+ thor (~> 1.0)
23
+ builder (3.2.4)
24
+ childprocess (4.0.0)
25
+ concurrent-ruby (1.1.7)
21
26
  contracts (0.16.0)
22
- cucumber (3.1.2)
23
- builder (>= 2.1.2)
24
- cucumber-core (~> 3.2.0)
25
- cucumber-expressions (~> 6.0.1)
26
- cucumber-wire (~> 0.0.1)
27
- diff-lcs (~> 1.3)
28
- gherkin (~> 5.1.0)
29
- multi_json (>= 1.7.5, < 2.0)
30
- multi_test (>= 0.1.2)
31
- cucumber-core (3.2.1)
32
- backports (>= 3.8.0)
33
- cucumber-tag_expressions (~> 1.1.0)
34
- gherkin (~> 5.0)
35
- cucumber-expressions (6.0.1)
36
- cucumber-tag_expressions (1.1.1)
37
- cucumber-wire (0.0.1)
38
- diff-lcs (1.3)
39
- ffi (1.10.0)
40
- gem-release (2.1.1)
41
- gherkin (5.1.0)
42
- multi_json (1.13.1)
27
+ cucumber (5.1.3)
28
+ builder (~> 3.2, >= 3.2.4)
29
+ cucumber-core (~> 8.0, >= 8.0.1)
30
+ cucumber-create-meta (~> 2.0, >= 2.0.2)
31
+ cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
32
+ cucumber-gherkin (~> 15.0, >= 15.0.2)
33
+ cucumber-html-formatter (~> 9.0, >= 9.0.0)
34
+ cucumber-messages (~> 13.1, >= 13.1.0)
35
+ cucumber-wire (~> 4.0, >= 4.0.1)
36
+ diff-lcs (~> 1.4, >= 1.4.4)
37
+ multi_test (~> 0.1, >= 0.1.2)
38
+ sys-uname (~> 1.2, >= 1.2.1)
39
+ cucumber-core (8.0.1)
40
+ cucumber-gherkin (~> 15.0, >= 15.0.2)
41
+ cucumber-messages (~> 13.0, >= 13.0.1)
42
+ cucumber-tag-expressions (~> 2.0, >= 2.0.4)
43
+ cucumber-create-meta (2.0.2)
44
+ cucumber-messages (~> 13.0, >= 13.0.1)
45
+ sys-uname (~> 1.2, >= 1.2.1)
46
+ cucumber-cucumber-expressions (10.3.0)
47
+ cucumber-gherkin (15.0.2)
48
+ cucumber-messages (~> 13.0, >= 13.0.1)
49
+ cucumber-html-formatter (9.0.0)
50
+ cucumber-messages (~> 13.0, >= 13.0.1)
51
+ cucumber-messages (13.1.0)
52
+ protobuf-cucumber (~> 3.10, >= 3.10.8)
53
+ cucumber-tag-expressions (2.0.4)
54
+ cucumber-wire (4.0.1)
55
+ cucumber-core (~> 8.0, >= 8.0.1)
56
+ cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
57
+ cucumber-messages (~> 13.0, >= 13.0.1)
58
+ diff-lcs (1.4.4)
59
+ ffi (1.13.1)
60
+ gem-release (2.2.0)
61
+ i18n (1.8.5)
62
+ concurrent-ruby (~> 1.0)
63
+ middleware (0.1.0)
64
+ minitest (5.14.2)
43
65
  multi_test (0.1.2)
44
- rake (10.5.0)
45
- rspec (3.8.0)
46
- rspec-core (~> 3.8.0)
47
- rspec-expectations (~> 3.8.0)
48
- rspec-mocks (~> 3.8.0)
49
- rspec-core (3.8.0)
50
- rspec-support (~> 3.8.0)
51
- rspec-expectations (3.8.2)
66
+ protobuf-cucumber (3.10.8)
67
+ activesupport (>= 3.2)
68
+ middleware
69
+ thor
70
+ thread_safe
71
+ rake (13.0.1)
72
+ rspec (3.9.0)
73
+ rspec-core (~> 3.9.0)
74
+ rspec-expectations (~> 3.9.0)
75
+ rspec-mocks (~> 3.9.0)
76
+ rspec-core (3.9.3)
77
+ rspec-support (~> 3.9.3)
78
+ rspec-expectations (3.9.2)
52
79
  diff-lcs (>= 1.2.0, < 2.0)
53
- rspec-support (~> 3.8.0)
54
- rspec-mocks (3.8.0)
80
+ rspec-support (~> 3.9.0)
81
+ rspec-mocks (3.9.1)
55
82
  diff-lcs (>= 1.2.0, < 2.0)
56
- rspec-support (~> 3.8.0)
57
- rspec-support (3.8.0)
58
- thor (0.20.3)
83
+ rspec-support (~> 3.9.0)
84
+ rspec-support (3.9.3)
85
+ sys-uname (1.2.1)
86
+ ffi (>= 1.0.0)
87
+ thor (1.0.1)
88
+ thread_safe (0.3.6)
89
+ tzinfo (1.2.7)
90
+ thread_safe (~> 0.1)
91
+ zeitwerk (2.4.0)
59
92
 
60
93
  PLATFORMS
61
94
  ruby
62
95
 
63
96
  DEPENDENCIES
64
97
  aruba
65
- bundler (~> 1.17)
66
- cucumber
98
+ bundler (~> 2)
67
99
  gem-release
68
100
  prebundle!
69
- rake (~> 10.0)
101
+ rake (~> 13.0)
70
102
  rspec (~> 3.0)
71
103
 
72
104
  BUNDLED WITH
73
- 1.17.2
105
+ 2.1.4
data/Rakefile CHANGED
@@ -4,7 +4,11 @@ require "rspec/core/rake_task"
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
7
-
8
- task :release => :spec do
9
- `gem bump --tag --release`
7
+ task :build do
8
+ puts "gem build prebundle.gemspec"
9
+ end
10
+ namespace :deploy do
11
+ task :github do
12
+ puts "gem push --key github --host https://rubygems.pkg.github.com/kuboon prebundle-0.2.4.gem"
13
+ end
10
14
  end
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'prebundle'
3
- require 'prebundle/cli'
3
+ require "prebundle/cli"
4
4
 
5
5
  Prebundle::CLI.start
6
+
@@ -2,26 +2,31 @@ require "thor"
2
2
 
3
3
  module Prebundle
4
4
  class CLI < Thor
5
+ def self.exit_on_failure?
6
+ true
7
+ end
8
+
5
9
  desc "all", "Reads Gemfile on current dir and outputs required setup commands."
6
10
  def all
7
11
  gems = ::Prebundle::list_all_gems_in_Gemfile
8
12
 
13
+ STDERR.puts "# Unless this helped you, please report the issue https://github.com/kuboon/prebundle/issues/new?assignees=kuboon&labels=&template=add-gem-package-info.md&title=[add]"
9
14
  puts Prebundle::distribution_class.new(gems).command
10
15
  puts "# prebundle all | sudo sh"
11
- STDERR.puts "# Unless it helped you, please report the issue https://github.com/kuboon/prebundle/issues/new?assignees=kuboon&labels=&template=add-gem-package-info.md&title=[add]"
12
16
  end
13
17
 
14
18
  desc "gem [gemname]", "outputs required setup commands for the gem"
15
19
  def gem(gemname)
20
+ STDERR.puts "# Unless this helped you, please report the issue https://github.com/kuboon/prebundle/issues/new?assignees=kuboon&labels=&template=add-gem-package-info.md&title=[add]"
16
21
  puts Prebundle::distribution_class.new([gemname]).command
17
22
  puts "# prebundle gem #{gemname} | sudo sh"
18
- STDERR.puts "# Unless it helped you, please report the issue https://github.com/kuboon/prebundle/issues/new?assignees=kuboon&labels=&template=add-gem-package-info.md&title=[add]"
19
23
  end
20
24
 
21
- desc "gem version", "outputs version"
25
+ desc "version", "outputs version"
22
26
  def version
23
- puts VERSION
27
+ puts ::Prebundle::VERSION
24
28
  end
29
+
25
30
  end
26
31
  end
27
32
 
@@ -16,6 +16,7 @@ module OS
16
16
  case gem
17
17
  when 'curses'; "libncursesw5-dev"
18
18
  when 'mysql2'; "libmysqlclient-dev"
19
+ when 'pg'; 'libpq-dev'
19
20
  end
20
21
  end.flatten.uniq
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Prebundle
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -1,3 +1,4 @@
1
+
1
2
  lib = File.expand_path("../lib", __FILE__)
2
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
4
  require "prebundle/version"
@@ -16,7 +17,7 @@ Gem::Specification.new do |spec|
16
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
18
19
  if spec.respond_to?(:metadata)
19
- spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
+ #spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
21
 
21
22
  #spec.metadata["homepage_uri"] = spec.homepage
22
23
  spec.metadata["source_code_uri"] = spec.homepage
@@ -37,10 +38,9 @@ Gem::Specification.new do |spec|
37
38
 
38
39
  spec.add_dependency "thor"
39
40
 
40
- spec.add_development_dependency "bundler", "~> 1.17"
41
- spec.add_development_dependency "rake", "~> 10.0"
41
+ spec.add_development_dependency "bundler", "~> 2"
42
+ spec.add_development_dependency "rake", "~> 13.0"
42
43
  spec.add_development_dependency "rspec", "~> 3.0"
43
- spec.add_development_dependency "cucumber"
44
44
  spec.add_development_dependency "aruba"
45
45
  spec.add_development_dependency "gem-release"
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prebundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kuboon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-12 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.17'
33
+ version: '2'
34
34
  type: :development
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: '1.17'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
- - !ruby/object:Gem::Dependency
70
- name: cucumber
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: aruba
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +125,6 @@ homepage: https://github.com/kuboon/prebundle
139
125
  licenses:
140
126
  - MIT
141
127
  metadata:
142
- allowed_push_host: https://rubygems.org
143
128
  source_code_uri: https://github.com/kuboon/prebundle
144
129
  post_install_message:
145
130
  rdoc_options: []
@@ -156,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
141
  - !ruby/object:Gem::Version
157
142
  version: '0'
158
143
  requirements: []
159
- rubygems_version: 3.0.1
144
+ rubygems_version: 3.1.4
160
145
  signing_key:
161
146
  specification_version: 4
162
147
  summary: Run prebundle before bundle install