xxxxx 0.1.0.pre

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2057452e9232512262848a37a0022ee2cb266473
4
+ data.tar.gz: 02a957affe1a075ceb28f0fedfbbe60c4813f14d
5
+ SHA512:
6
+ metadata.gz: a2ae8c3bfeadab1a3789c5c4f911f962edcfcbfe3b062336deb1226f867f0b3871a1486856ff8fe2cc98f2282998784f0c612f36d48fcec77007a9aae8b20a56
7
+ data.tar.gz: aea85ac32145e4bcabc24377c684afb1189f6a45e27c3c23e986496258d3a3e584e44aaaebaf5d9350eb03f302b7f8f5feb27538f2bdb5c022973104d57bd8c8
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,51 @@
1
+ # Contributor Code of Conduct
2
+
3
+ Just be nice.
4
+
5
+ As contributors and maintainers of this project, and in the interest of
6
+ fostering an open and welcoming community, we pledge to respect all people who
7
+ contribute through reporting issues, posting feature requests, updating
8
+ documentation, submitting pull requests or patches, and other activities.
9
+
10
+ We are committed to making participation in this project a harassment-free
11
+ experience for everyone, regardless of level of experience, gender, gender
12
+ identity and expression, sexual orientation, disability, personal appearance,
13
+ body size, race, ethnicity, age, religion, or nationality.
14
+
15
+ Examples of unacceptable behavior by participants include:
16
+
17
+ * The use of sexualized language or imagery
18
+ * Personal attacks
19
+ * Trolling or insulting/derogatory comments
20
+ * Public or private harassment
21
+ * Publishing other's private information, such as physical or electronic
22
+ addresses, without explicit permission
23
+ * Other unethical or unprofessional conduct
24
+
25
+ Project maintainers have the right and responsibility to remove, edit, or
26
+ reject comments, commits, code, wiki edits, issues, and other contributions
27
+ that are not aligned to this Code of Conduct, or to ban temporarily or
28
+ permanently any contributor for other behaviors that they deem inappropriate,
29
+ threatening, offensive, or harmful.
30
+
31
+ By adopting this Code of Conduct, project maintainers commit themselves to
32
+ fairly and consistently applying these principles to every aspect of managing
33
+ this project. Project maintainers who do not follow or enforce the Code of
34
+ Conduct may be permanently removed from the project team.
35
+
36
+ This code of conduct applies both within project spaces and in public spaces
37
+ when an individual is representing the project or its community.
38
+
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
40
+ reported by contacting a project maintainer at ytbryan@gmail.com. All
41
+ complaints will be reviewed and investigated and will result in a response that
42
+ is deemed necessary and appropriate to the circumstances. Maintainers are
43
+ obligated to maintain confidentiality with regard to the reporter of an
44
+ incident.
45
+
46
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
47
+ version 1.3.0, available at
48
+ [http://contributor-covenant.org/version/1/3/0/][version]
49
+
50
+ [homepage]: http://contributor-covenant.org
51
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in xxxxx.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Bryan Lim (@ytbryan)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,49 @@
1
+ # XXXXX
2
+
3
+ > Pronounce as cross.
4
+
5
+ Cross is a simple command line tool to cross post to Twitter and Facebook. It uses `twitter` and `koala` to accomplish this.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'xxxxx'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install xxxxx
22
+
23
+ ## Usage
24
+
25
+ ```
26
+ x post ""
27
+ ```
28
+
29
+ Feeling lazy?
30
+ ```
31
+ x p ""
32
+ x p "" --facebook (just facebook)
33
+ x p "" --twitter
34
+ ```
35
+
36
+ ## Development
37
+
38
+ 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.
39
+
40
+ 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).
41
+
42
+ ## Contributing
43
+
44
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ytbryan/xxxxx. 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.
45
+
46
+
47
+ ## License
48
+
49
+ xxxxx is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "xxxxx"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bin/x ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'xxxxx'
4
+
5
+ Xxxxx::Base.start(ARGV)
@@ -0,0 +1,40 @@
1
+ require "xxxxx/version"
2
+ require 'thor'
3
+
4
+ module Xxxxx
5
+ class Base < Thor
6
+ check_unknown_options!
7
+ package_name 'x'
8
+ default_task :list
9
+
10
+ desc :list, 'list the project alias (short alias: p)'
11
+ def list()
12
+ puts "hello world"
13
+ end
14
+
15
+ desc :draft, 'see what you put in the drafts'
16
+ def draft()
17
+ puts "see what you put in the drafts"
18
+ end
19
+
20
+ desc :post, 'see what you put in the drafts'
21
+ def post()
22
+ puts "post to twitter and facebook"
23
+ end
24
+
25
+ desc :save, 'see what you put in the drafts'
26
+ def save()
27
+ puts "see what you put in the drafts"
28
+ end
29
+
30
+ desc :config, 'set the config file'
31
+ def config()
32
+ puts "set the config file"
33
+ puts "x config --facebook --secret "
34
+ puts "x config --twitter --secret "
35
+ end
36
+
37
+
38
+
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module Xxxxx
2
+ VERSION = "0.1.0.pre"
3
+ end
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'xxxxx/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "xxxxx"
8
+ spec.version = Xxxxx::VERSION
9
+ spec.authors = ["Bryan Lim"]
10
+ spec.email = ["ytbryan@gmail.com"]
11
+
12
+ spec.summary = %q{Cross allows you to cross post to twitter and facebook from command line.}
13
+ spec.description = %q{Cross allows you to cross post to twitter and facebook from command line.}
14
+ spec.homepage = "http://github.com/ytbryan/xxxxx"
15
+ spec.license = "MIT"
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.executables = ["x"]
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_runtime_dependency 'thor' , '~> 0.19.1'
21
+ spec.required_ruby_version = ">= 2.0.0"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.11"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xxxxx
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.pre
5
+ platform: ruby
6
+ authors:
7
+ - Bryan Lim
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-05-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.19.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.19.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description: Cross allows you to cross post to twitter and facebook from command line.
56
+ email:
57
+ - ytbryan@gmail.com
58
+ executables:
59
+ - x
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - CODE_OF_CONDUCT.md
65
+ - Gemfile
66
+ - LICENSE.txt
67
+ - README.md
68
+ - Rakefile
69
+ - bin/console
70
+ - bin/setup
71
+ - bin/x
72
+ - lib/xxxxx.rb
73
+ - lib/xxxxx/version.rb
74
+ - xxxxx.gemspec
75
+ homepage: http://github.com/ytbryan/xxxxx
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 2.0.0
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">"
91
+ - !ruby/object:Gem::Version
92
+ version: 1.3.1
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.4.5.1
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: Cross allows you to cross post to twitter and facebook from command line.
99
+ test_files: []