Skip to content

Commit

Permalink
gem: update version and cleanup the gem specification
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Jan 28, 2014
1 parent a1a36c9 commit 00484fd
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -5,12 +5,12 @@ gemspec
gem 'rack'
gem 'sinatra'
gem 'sinatra-websocket'
gem 'opal-rspec', '0.3.0.beta3'

# runner
gem 'selenium-webdriver', require: false
gem 'rest-client', require: false

# browser
gem 'opal', github: 'opal/opal'
gem 'opal-rspec', '0.3.0.beta3'
gem 'paggio', github: 'meh/paggio'
19 changes: 19 additions & 0 deletions LICENSE
@@ -0,0 +1,19 @@
Copyright (C) 2014 by meh

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.
25 changes: 25 additions & 0 deletions README.md
Expand Up @@ -143,3 +143,28 @@ this means you'll need external polyfills for this.
The suggested polyfill is
[wgxpath](https://code.google.com/p/wicked-good-xpath/), require it **before**
opal-browser.

License
=======

(The MIT License)

Copyright (C) 2014 by meh

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.
20 changes: 9 additions & 11 deletions opal-browser.gemspec
Expand Up @@ -2,22 +2,20 @@ $LOAD_PATH << File.expand_path('../opal', __FILE__)
require 'browser/version'

Gem::Specification.new {|s|
s.name = 'opal-browser'
s.version = Browser::VERSION
s.author = 'meh.'
s.email = 'meh@schizofreni.co'
s.homepage = 'http://github.com/opal/opal-browser'
s.platform = Gem::Platform::RUBY
s.summary = 'Browser support for Opal.'
s.name = 'opal-browser'
s.version = Browser::VERSION
s.author = 'meh.'
s.email = 'meh@schizofreni.co'
s.homepage = 'http://github.com/opal/opal-browser'
s.platform = Gem::Platform::RUBY
s.summary = 'Browser support for Opal.'
s.license = 'MIT'

s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ['lib']

s.add_dependency 'opal', '>= 0.5.5'
s.add_dependency 'opal', '~> 0.6.0'
s.add_dependency 'paggio'

s.add_development_dependency 'opal-rspec'
s.add_development_dependency 'rake'
}
2 changes: 1 addition & 1 deletion opal/browser/version.rb
@@ -1,3 +1,3 @@
module Browser
VERSION = '0.1.0.beta1'
VERSION = '0.2.0.beta1'
end

0 comments on commit 00484fd

Please sign in to comment.