hem-tasks-composer_prestissimo 1.0.0
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 +7 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +5 -0
- data/Gemfile +4 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/hem-tasks-composer_prestissimo.gemspec +26 -0
- data/lib/hem/tasks/composer_prestissimo.rb +13 -0
- data/lib/hem/tasks/composer_prestissimo/install.rb +13 -0
- data/lib/hem/tasks/composer_prestissimo/version.rb +7 -0
- metadata +95 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f0edcbb2750170eb15f7a796e2d50aefdb1897ad
|
4
|
+
data.tar.gz: 0fa6315f568cafa4f3663a069b1ab31448db8352
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c2e04147451ec2b59af62e98afe7ef2330402fa4ba895b9ecb8fd7eae94333af9eb0e2e0602bb6b57312ccdf0cc5e779e8a78138309d2233f2965a6ea51c8189
|
7
|
+
data.tar.gz: eeba753b331dbaf20ca137fbcd4e885f50c6cfcc31607bb76ae202ae41f53674f993b16fc0c7e134efae14045040758f8c8c68b4f4976b1aea6588453d8934c8
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Hem::Tasks::ComposerPrestissimo
|
2
|
+
|
3
|
+
Contains tasks for [Hem](https://github.com/inviqa/hem) to set up hirak/prestissimo for speedier composer installs.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add these lines to your application's Hemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
plugins do
|
11
|
+
gem 'hem-tasks-composer_prestissimo', '~> 1.0.0'
|
12
|
+
end
|
13
|
+
```
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
Run the following to see usage:
|
18
|
+
|
19
|
+
```bash
|
20
|
+
hem tools
|
21
|
+
```
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
After checking out the repo, run `bundle install` to install dependencies.
|
26
|
+
|
27
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/inviqa/hem-tasks-composer_prestissimo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# ^ Syntax hint
|
3
|
+
|
4
|
+
lib = File.expand_path('../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
|
7
|
+
require 'hem/tasks/composer_prestissimo/version'
|
8
|
+
|
9
|
+
Gem::Specification.new do |spec|
|
10
|
+
spec.name = 'hem-tasks-composer_prestissimo'
|
11
|
+
spec.version = Hem::Tasks::ComposerPrestissimo::VERSION
|
12
|
+
spec.authors = ['Kieren Evans']
|
13
|
+
spec.email = ['kevans+hem_tasks@inviqa.com']
|
14
|
+
|
15
|
+
spec.summary = 'Composer task for Hem'
|
16
|
+
spec.description = 'Installs hirak/prestissimo into the Hem VM'
|
17
|
+
spec.homepage = ''
|
18
|
+
spec.licenses = ['MIT']
|
19
|
+
|
20
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.rubocop\.yml|Rakefile)/}) }
|
21
|
+
spec.require_paths = ['lib']
|
22
|
+
|
23
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
24
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
+
spec.add_development_dependency 'rubocop', '~> 0.55.0'
|
26
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# ^ Syntax hint
|
3
|
+
|
4
|
+
desc 'Install hirak/prestissimo for speedier composer installs'
|
5
|
+
task :composer_prestissimo do
|
6
|
+
Hem.ui.section 'Installing hirak/prestissimo for speedier composer installs' do
|
7
|
+
run php_command(
|
8
|
+
'php bin/composer.phar global require \'hirak/prestissimo\' '\
|
9
|
+
'--no-interaction --no-ansi --quiet --no-progress --prefer-dist'
|
10
|
+
)
|
11
|
+
Hem.ui.success 'Installed hirak/prestissimo into the VM'
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hem-tasks-composer_prestissimo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kieren Evans
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.11'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.55.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.55.0
|
55
|
+
description: Installs hirak/prestissimo into the Hem VM
|
56
|
+
email:
|
57
|
+
- kevans+hem_tasks@inviqa.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rubocop.yml"
|
64
|
+
- Gemfile
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- hem-tasks-composer_prestissimo.gemspec
|
68
|
+
- lib/hem/tasks/composer_prestissimo.rb
|
69
|
+
- lib/hem/tasks/composer_prestissimo/install.rb
|
70
|
+
- lib/hem/tasks/composer_prestissimo/version.rb
|
71
|
+
homepage: ''
|
72
|
+
licenses:
|
73
|
+
- MIT
|
74
|
+
metadata: {}
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options: []
|
77
|
+
require_paths:
|
78
|
+
- lib
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
requirements: []
|
90
|
+
rubyforge_project:
|
91
|
+
rubygems_version: 2.4.8
|
92
|
+
signing_key:
|
93
|
+
specification_version: 4
|
94
|
+
summary: Composer task for Hem
|
95
|
+
test_files: []
|