pully 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 633d3c3f22aa19eb20d6a03c30f9fd390e86ff89
4
+ data.tar.gz: 8219ec9576cbbca33e7a87b455f5f0d11d9275a9
5
+ SHA512:
6
+ metadata.gz: 73a299c54c89e2c97b5d3f13c017794707958bcf0d6f05234ef64b1dbe4d9b7d1be93b2b5a53d335dccaaabf9599b2a8056526b00de34b3ff9e480fea7fbb6e7
7
+ data.tar.gz: 723e93538a659a44acc11e0ceaadb2a5402f9b4af1d033dc3bcbbd25dbc09e0e98f03dec502bafdfb3e22bcc50ff71156fa5089e7f28ff80bb1bdba853427fc3
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pully.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Seo Townsend
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 all
13
+ 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 THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,65 @@
1
+ ![pully: A command line interface for building a pull request bot](https://raw.githubusercontent.com/sotownsend/pully/master/logo.png)
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/iarrogant.svg)](http://badge.fury.io/rb/pully)
4
+ [![Build Status](https://travis-ci.org/sotownsend/pully.svg)](https://travis-ci.org/sotownsend/pully)
5
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sotownsend/pully/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
6
+ [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/sotownsend/pully/blob/master/LICENSE)
7
+
8
+ # What is this?
9
+
10
+ A work in progress
11
+
12
+ # Pully Modules
13
+ A concept borrowed from [Rails engines](http://guides.rubyonrails.org/engines.html), Pully modules both serve as your project files, all library modules, and gemified instances. That is, a project you create is automatically modular and can be imported in another pully module/project.
14
+
15
+ # Compilation
16
+ Pully does not rely on ruby for the final produced `application.js` file. The output file is pure javascript and written in javascript (not transcoded). Ruby only serves as a compilation assistant.
17
+
18
+ # Task
19
+ The task is the base unit in pully, similar to a rack module except that rack is a stack and pully is a party. Based on concepts borrowed from XNU®, FreeBSD®, and GNU HURD®; tasks are combined in pully to produce behavior by many tasks inter-cooperating. Efficiency has been provided through virtualizing the task communication so that no message passing takes place inside pully and all modules are combined into an efficient monolithic module.
20
+
21
+ ### Task Facilities
22
+ Tasks are able to
23
+ - send and receive events from a global or internal source.
24
+ - set interval and timeout timers.
25
+ - store temporary data in it's own heap '$__'
26
+
27
+ ### Default modules
28
+ This pully project contains the 'micro-task-kernel', the 'ui', and the 'operations' modules.
29
+
30
+ ## Requirements
31
+
32
+ - Mac OS X 10.9+ (Untested)
33
+ - Ruby 2.1 or Higher
34
+
35
+ ## Communication
36
+
37
+ - If you **found a bug**, open an issue.
38
+ - If you **have a feature request**, open an issue.
39
+ - If you **want to contribute**, submit a pull request.
40
+
41
+ ## Installation
42
+
43
+ Run `sudo gem install pully`
44
+
45
+ ---
46
+
47
+ ## FAQ
48
+
49
+ ### When should I use pully?
50
+
51
+ Todo
52
+
53
+ ### What's Fittr?
54
+
55
+ Fittr is a SaaS company that focuses on providing personalized workouts and health information to individuals and corporations through phenomenal interfaces and algorithmic data-collection and processing.
56
+
57
+ * * *
58
+
59
+ ### Creator
60
+
61
+ - [Seo Townsend](http://github.com/sotownsend) ([@seotownsend](https://twitter.com/seotownsend))
62
+
63
+ ## License
64
+
65
+ pully is released under the MIT license. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require 'rspec/core/rake_task'
2
+ require "bundler/gem_tasks"
3
+
4
+ # Default directory to look in is `/specs`
5
+ # Run with `rake spec`
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
data/bin/pully ADDED
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'pully'
4
+ require 'thor'
5
+
6
+ class PullyCLI < Thor
7
+ desc "test", "Test the binary, returns 'ok\\n' on stdout"
8
+ def test
9
+ puts "ok"
10
+ end
11
+ #desc "new <path>", "Create a new flok project and/or module, you may supply an absolute path or relative, the last entry in the path will be the module name and folder name of the project"
12
+ #def new path
13
+ #name = File.basename(path)
14
+ #Dir.chdir File.dirname(path) do
15
+ #`bundle gem #{name}`
16
+
17
+ #Dir.chdir name do
18
+ #Dir.mkdir "app"
19
+ #Dir.mkdir "config"
20
+ #end
21
+ #end
22
+ #end
23
+
24
+ #option :compress, type: :boolean
25
+ #desc "build", "Build a flok project, you must be in the root of the project"
26
+ #def build
27
+ #Dir.mkdir("./public") unless File.exists?("./public")
28
+ #FileUtils.touch "./public/application.js"
29
+
30
+ #src = Flok::MergeSource.merge_all
31
+
32
+ ##Compress by writing to a temporary dir, run closure, and then put back
33
+ #if options["compress"] == true
34
+ #src = Closure::Compiler.new.compile(src)
35
+ #end
36
+
37
+ #File.write("./public/application.js", src)
38
+ #end
39
+ end
40
+
41
+ PullyCLI.start(ARGV)
@@ -0,0 +1,3 @@
1
+ module Pully
2
+ VERSION = "0.0.1"
3
+ end
data/lib/pully.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "pully/version"
2
+
3
+ module Pully
4
+ # Your code goes here...
5
+ end
data/logo.png ADDED
Binary file
data/pully.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pully/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "pully"
8
+ spec.version = Pully::VERSION
9
+ spec.authors = ["Seo Townsend"]
10
+ spec.email = ["seotownsend@icloud.com"]
11
+ spec.summary = %q{A ruby library for managing GitHub pull requests}
12
+ spec.description = %q{Create your own pull request GitHub bot with ease}
13
+ spec.homepage = "https://github.com/sotownsend/pully"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake", "~> 10.3"
23
+ spec.add_development_dependency "rspec", "~> 3.2"
24
+ spec.add_runtime_dependency "thor", "~> 0.19"
25
+ spec.executables << 'pully'
26
+
27
+ end
data/spec/cli_spec.rb ADDED
@@ -0,0 +1,15 @@
1
+ require './lib/pully.rb'
2
+ require 'tempfile'
3
+ require 'securerandom'
4
+
5
+ def ensure_tmp
6
+ tmp_spec_path = './spec/tmp'
7
+ Dir.mkdir(tmp_spec_path) unless File.exists?(tmp_spec_path)
8
+ end
9
+
10
+ RSpec.describe "CLI" do
11
+ it "Runs" do
12
+ a = `ruby -Ilib ./bin/pully test`
13
+ expect(a).to eq("ok\n")
14
+ end
15
+ end
metadata ADDED
@@ -0,0 +1,115 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pully
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Seo Townsend
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-30 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.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
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.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.2'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: thor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.19'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.19'
69
+ description: Create your own pull request GitHub bot with ease
70
+ email:
71
+ - seotownsend@icloud.com
72
+ executables:
73
+ - pully
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - ".gitignore"
78
+ - ".travis.yml"
79
+ - Gemfile
80
+ - LICENSE
81
+ - README.md
82
+ - Rakefile
83
+ - bin/pully
84
+ - lib/pully.rb
85
+ - lib/pully/version.rb
86
+ - logo.png
87
+ - pully.gemspec
88
+ - spec/cli_spec.rb
89
+ homepage: https://github.com/sotownsend/pully
90
+ licenses:
91
+ - MIT
92
+ metadata: {}
93
+ post_install_message:
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubyforge_project:
109
+ rubygems_version: 2.4.1
110
+ signing_key:
111
+ specification_version: 4
112
+ summary: A ruby library for managing GitHub pull requests
113
+ test_files:
114
+ - spec/cli_spec.rb
115
+ has_rdoc: