selfiegram 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/selfiegram.rb +9 -3
- data/selfiegram.gemspec +2 -3
- metadata +1 -2
- data/lib/actionable/actionable.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ed9ad119781b638d6f1d5b0f890b26dcb389a4
|
4
|
+
data.tar.gz: d383822ec5a2c9f49a08683542897d65a29c9cbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b18a04c35740ca17abb163f28f7898b5f6d5e1fa9cead875e36e217c0180eb4cdaecff789481c21e99825b358990934035fe1f8e93243ea2ad291e0756e3fe02
|
7
|
+
data.tar.gz: 7c260b42ead132a4d6ef991798c399265cd02a995a31d2be7b7cbd6e1ad436050e8da1223cb1b1445cbf9c7e0a3da0c8b27ac7a0a654e10fc9f1a3564e01d83e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/selfiegram.rb
CHANGED
@@ -13,12 +13,18 @@ class Object
|
|
13
13
|
end
|
14
14
|
|
15
15
|
class Selfiegram
|
16
|
-
include Actionable
|
17
16
|
attr_accessor :action, :user, :magic, :selfiegram_path,
|
18
17
|
:output_path, :background_image_path, :image, :verbose
|
19
18
|
|
20
|
-
|
21
|
-
|
19
|
+
class << self
|
20
|
+
def snap(options={})
|
21
|
+
new(options).snap
|
22
|
+
end
|
23
|
+
|
24
|
+
def add_user(options={})
|
25
|
+
new(options).add_user
|
26
|
+
end
|
27
|
+
end
|
22
28
|
|
23
29
|
def initialize(options={})
|
24
30
|
options.each { |key, value| send("#{key}=", value) }
|
data/selfiegram.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: selfiegram 0.0.
|
5
|
+
# stub: selfiegram 0.0.5 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "selfiegram"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.5"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
|
|
30
30
|
"Rakefile",
|
31
31
|
"VERSION",
|
32
32
|
"bin/selfie",
|
33
|
-
"lib/actionable/actionable.rb",
|
34
33
|
"lib/background_images/downloader.rb",
|
35
34
|
"lib/background_images/finder.rb",
|
36
35
|
"lib/runner/options/options.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selfiegram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Shollenberger
|
@@ -141,7 +141,6 @@ files:
|
|
141
141
|
- Rakefile
|
142
142
|
- VERSION
|
143
143
|
- bin/selfie
|
144
|
-
- lib/actionable/actionable.rb
|
145
144
|
- lib/background_images/downloader.rb
|
146
145
|
- lib/background_images/finder.rb
|
147
146
|
- lib/runner/options/options.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
class Selfiegram
|
2
|
-
module Actionable
|
3
|
-
def self.included(base)
|
4
|
-
base.send(:extend, ClassMethods)
|
5
|
-
end
|
6
|
-
|
7
|
-
module ClassMethods
|
8
|
-
def action(name)
|
9
|
-
define_singleton_method "#{name}" do |options|
|
10
|
-
new(options).send(name)
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|