Skip to content

Commit 3be88d2

Browse files
committed
Create a new gem
* `bundle gem namely` * Set Harry Schwartz as the author * Use MIT license and assign copyright to Namely
1 parent 4cf55a6 commit 3be88d2

File tree

7 files changed

+87
-3
lines changed

7 files changed

+87
-3
lines changed

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gemspec

LICENSE.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2014 Namely
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.

README.md

+30-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
ruby-client
2-
===========
1+
# Namely
32

4-
Namely API Ruby Client
3+
TODO: Write a gem description
4+
5+
## Installation
6+
7+
Add this line to your application's Gemfile:
8+
9+
```ruby
10+
gem "name"
11+
```
12+
13+
And then execute:
14+
15+
$ bundle
16+
17+
Or install it yourself as:
18+
19+
$ gem install namely
20+
21+
## Usage
22+
23+
TODO: Write usage instructions here
24+
25+
## Contributing
26+
27+
1. Fork it ( https://github.com/namely/ruby-client/fork )
28+
2. Create your feature branch (`git checkout -b my-new-feature`)
29+
3. Commit your changes (`git commit -am "Add some feature"`)
30+
4. Push to the branch (`git push origin my-new-feature`)
31+
5. Create a new Pull Request

Rakefile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require "bundler/gem_tasks"
2+

lib/namely.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require "namely/version"
2+
3+
module Namely
4+
# Your code goes here...
5+
end

lib/namely/version.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Namely
2+
VERSION = "0.0.1"
3+
end

namely.gemspec

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require "namely/version"
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "namely"
8+
spec.version = Namely::VERSION
9+
spec.authors = ["Harry Schwartz"]
10+
spec.email = ["[email protected]"]
11+
spec.summary = "Wraps the Namely HTTP API in lovely Ruby."
12+
spec.homepage = "https://github.com/namely/ruby-client"
13+
spec.license = "MIT"
14+
15+
spec.files = `git ls-files -z`.split("\x0")
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.7"
21+
spec.add_development_dependency "rake", "~> 10.0"
22+
end

0 commit comments

Comments
 (0)