Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adamvduke committed Oct 29, 2013
0 parents commit 3cb6f34
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.gem

4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in zero_push.gemspec
gemspec
18 changes: 18 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
PATH
remote: .
specs:
push_package (0.0.1)

GEM
remote: https://rubygems.org/
specs:
minitest (4.7.0)
rake (10.0.3)

PLATFORMS
ruby

DEPENDENCIES
minitest (~> 4.7.0)
push_package!
rake (~> 10.0.3)
22 changes: 22 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013 Symmetric Infinity

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Purpose
Make implementing safari push notifications easier for ruby developers.

## Notes:
This is not ready for use.

## Contributing

1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Write tests for your feature
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
1. Create new Pull Request
11 changes: 11 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require "rake/testtask"
require "bundler/gem_tasks"

task default: :test

Rake::TestTask.new do |t|
t.libs << 'lib' << 'spec'
t.test_files = Dir["spec/**/*_spec.rb"]
t.verbose = true
end

4 changes: 4 additions & 0 deletions lib/push_package.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require 'push_package/version'

module PushPackage
end
3 changes: 3 additions & 0 deletions lib/push_package/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module PushPackage
VERSION = '0.0.1'.freeze
end
24 changes: 24 additions & 0 deletions push_package.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'push_package/version'

Gem::Specification.new do |gem|
gem.name = "push_package"
gem.version = PushPackage::VERSION
gem.authors = ["Stefan Natchev", "Adam Duke"]
gem.email = ["stefan.natchev@gmail.com", "adam.v.duke@gmail.com"]
gem.summary = %q{A gem for creating Safari push notification push packages.}
gem.description = %q{As of OSX 10.9 Safari can receive push notifications when it is closed.}
gem.homepage = "https://github.com/symmetricinfinity/push_package"
gem.license = 'MIT'

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9'

gem.add_development_dependency 'minitest', '~> 4.7.0'
gem.add_development_dependency 'rake', '~> 10.0.3'
end
10 changes: 10 additions & 0 deletions spec/push_package_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require 'spec_helper'

describe PushPackage do

describe 'the truth' do
it 'should pass' do
'test'.must_equal('test')
end
end
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require 'minitest/spec'
require 'minitest/autorun'
require 'push_package'

0 comments on commit 3cb6f34

Please sign in to comment.