satiro 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +6 -0
- data/README.md +35 -0
- data/Rakefile +1 -0
- data/bin/satiro +18 -0
- data/lib/satiro.rb +6 -0
- data/lib/satiro/version.rb +3 -0
- data/satiro.gemspec +21 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4855fa61c751a9ca7b62529e0645a9a5a4e33cbe5393a1ba39168ceab32c7ab3
|
4
|
+
data.tar.gz: 05ac1bfbb72d83fe8947980fb4b94f48831600a91c140a0336bb62d3dac77a52
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6624677689484fa1b72009fc25fd0682aa3f76c397736a411abe001ff0f2b07c3704d98d1e22d4b9a9cc79d09e2ae516f1c20b7bf55b6b7fa28c3254b806bf99
|
7
|
+
data.tar.gz: 317cc6067ac275c0a1e0a696d0b9fb776201a6a302026b934508cf24faa4cf6be30424b224d75067e5e936ae6700c8126dc5d61b6cc9b8616a2be0f70da66a5a
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Satiro
|
2
|
+
|
3
|
+
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/satiro`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'satiro'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install satiro
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/satiro.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/satiro
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'tmpdir'
|
4
|
+
require 'open-uri'
|
5
|
+
|
6
|
+
HAIRY_ASSES = [
|
7
|
+
'http://photos1.blogger.com/blogger/4961/2807/1600/untitled...jpg'
|
8
|
+
].freeze
|
9
|
+
|
10
|
+
dir = Dir.mktmpdir('satiro')
|
11
|
+
img_path = "#{dir}/satiro.jpg"
|
12
|
+
|
13
|
+
File.open(img_path, 'wb') do |fo|
|
14
|
+
image = HAIRY_ASSES.sample
|
15
|
+
fo.write open(image).read
|
16
|
+
end
|
17
|
+
|
18
|
+
system("osascript -e 'tell application \"Finder\" to set desktop picture to POSIX file \"#{img_path}\"'")
|
data/lib/satiro.rb
ADDED
data/satiro.gemspec
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "satiro/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "satiro"
|
8
|
+
spec.version = Satiro::VERSION
|
9
|
+
spec.authors = ["Alejandro Bezdjian"]
|
10
|
+
spec.email = ["alebezdjian@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Hairy Ass Satiro"
|
13
|
+
spec.description = "Hairy Ass Satiro"
|
14
|
+
spec.homepage = "https://github.com/alebian/satiro"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec)/}) }
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
|
19
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
20
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: satiro
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alejandro Bezdjian
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-12-10 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.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
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
|
+
description: Hairy Ass Satiro
|
42
|
+
email:
|
43
|
+
- alebezdjian@gmail.com
|
44
|
+
executables:
|
45
|
+
- satiro
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- bin/satiro
|
54
|
+
- lib/satiro.rb
|
55
|
+
- lib/satiro/version.rb
|
56
|
+
- satiro.gemspec
|
57
|
+
homepage: https://github.com/alebian/satiro
|
58
|
+
licenses: []
|
59
|
+
metadata: {}
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubyforge_project:
|
76
|
+
rubygems_version: 2.7.6
|
77
|
+
signing_key:
|
78
|
+
specification_version: 4
|
79
|
+
summary: Hairy Ass Satiro
|
80
|
+
test_files: []
|