big-picture_manager 0.0.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 +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +17 -0
- data/Rakefile +1 -0
- data/big-picture_manager.gemspec +24 -0
- data/bin/big-picture_manager +39 -0
- data/lib/big/picture/manager/version.rb +7 -0
- data/lib/big/picture/manager.rb +9 -0
- metadata +96 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6ece0329a3f8506a10115edb6428e347ff5cb292
|
4
|
+
data.tar.gz: 6cd81c46722bb2bb6009ec947b4a349130ff608e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 28fde3c6b6d77ff38f02b534eabdf55d243e586eea20e32b09740ae0a280e445c3d34397932f8dce304a6b32e82959a546917b00094093b2f719a67b727d413f
|
7
|
+
data.tar.gz: d9a79842fac231b2731bc6938a3808d7f6f52b717b2d98588bf0188d3cec847ba5e0e1be395eab576e638a76a34b222beea0afc3e10bc960c487fd0302a9bcb9
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Cheng Guangnan
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Big-Picture Manager
|
2
|
+
|
3
|
+
This is a RubyGem that built with artificial intelligence to help developers work on their job.
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
Install it as:
|
8
|
+
|
9
|
+
$ gem install big-picture_manager
|
10
|
+
|
11
|
+
Then run it:
|
12
|
+
|
13
|
+
$ big-picture_manager
|
14
|
+
|
15
|
+
## License
|
16
|
+
|
17
|
+
[Single User License](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BL6ALCBPUHLY4)
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'big/picture/manager/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "big-picture_manager"
|
8
|
+
spec.version = Big::Picture::Manager::VERSION
|
9
|
+
spec.authors = ["Cheng Guangnan"]
|
10
|
+
spec.email = ["chengguangnan@126.com"]
|
11
|
+
spec.summary = %q{A RubyGem that managing developers. Mac OS X only.}
|
12
|
+
spec.homepage = ""
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
21
|
+
spec.add_development_dependency "rake"
|
22
|
+
|
23
|
+
spec.add_dependency "terminal-notifier"
|
24
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
brain = <<BRAIN
|
4
|
+
What are you doing?
|
5
|
+
I understand.
|
6
|
+
You are not working!
|
7
|
+
You are not 100% committed.
|
8
|
+
What are you waiting for?
|
9
|
+
Thinking is not working.
|
10
|
+
That's what the client want.
|
11
|
+
I'm a humble guy.
|
12
|
+
Good job!
|
13
|
+
Get the shit done.
|
14
|
+
Just ship it.
|
15
|
+
Nothing is impossible.
|
16
|
+
You will take a day off?
|
17
|
+
Do you understand it?
|
18
|
+
Think out-of-the-box.
|
19
|
+
See?
|
20
|
+
This is not what I want.
|
21
|
+
I do not want you to do that.
|
22
|
+
This is not ridiculous to ask.
|
23
|
+
I’m not saying that.
|
24
|
+
What are you reading?
|
25
|
+
I'm the manager because I'm smarter.
|
26
|
+
You should do some overtime.
|
27
|
+
You have Stock options!
|
28
|
+
It's my mistake.
|
29
|
+
BRAIN
|
30
|
+
|
31
|
+
while :you_are_ do
|
32
|
+
idea = brain.lines.sample.strip
|
33
|
+
command = %Q|terminal-notifier -title "#{idea}" -message "from Big Picture Manager"|
|
34
|
+
|
35
|
+
puts command
|
36
|
+
system command
|
37
|
+
|
38
|
+
sleep [ 10, 30, 60, 1800, 3600 ].sample
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: big-picture_manager
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Cheng Guangnan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-11-08 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.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: terminal-notifier
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- chengguangnan@126.com
|
58
|
+
executables:
|
59
|
+
- big-picture_manager
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- .gitignore
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- big-picture_manager.gemspec
|
69
|
+
- bin/big-picture_manager
|
70
|
+
- lib/big/picture/manager.rb
|
71
|
+
- lib/big/picture/manager/version.rb
|
72
|
+
homepage: ''
|
73
|
+
licenses:
|
74
|
+
- MIT
|
75
|
+
metadata: {}
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubyforge_project:
|
92
|
+
rubygems_version: 2.0.6
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: A RubyGem that managing developers. Mac OS X only.
|
96
|
+
test_files: []
|