Skip to content

Commit 7f4e79b

Browse files
committed
Basic gem structure.
1 parent a85de15 commit 7f4e79b

File tree

7 files changed

+85
-0
lines changed

7 files changed

+85
-0
lines changed

Diff for: Gemfile

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

Diff for: Gemfile.lock

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
PATH
2+
remote: .
3+
specs:
4+
influxdb (0.0.1)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
diff-lcs (1.2.4)
10+
rake (10.1.0)
11+
rspec (2.14.1)
12+
rspec-core (~> 2.14.0)
13+
rspec-expectations (~> 2.14.0)
14+
rspec-mocks (~> 2.14.0)
15+
rspec-core (2.14.6)
16+
rspec-expectations (2.14.3)
17+
diff-lcs (>= 1.1.3, < 2.0)
18+
rspec-mocks (2.14.4)
19+
20+
PLATFORMS
21+
ruby
22+
23+
DEPENDENCIES
24+
bundler (~> 1.3)
25+
influxdb!
26+
rake
27+
rspec

Diff for: LICENSE.txt

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

Diff for: Rakefile

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

Diff for: influxdb.gemspec

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'influxdb/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "influxdb"
8+
spec.version = Influxdb::VERSION
9+
spec.authors = ["Todd Persen"]
10+
spec.email = ["[email protected]"]
11+
spec.description = %q{This is the official Ruby library for InfluxDB.}
12+
spec.summary = %q{Ruby library for InfluxDB.}
13+
spec.homepage = "http://influxdb.org"
14+
spec.license = "MIT"
15+
16+
spec.files = `git ls-files`.split($/)
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.3"
22+
spec.add_development_dependency "rake"
23+
spec.add_development_dependency "rspec"
24+
end

Diff for: lib/influxdb.rb

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

Diff for: lib/influxdb/version.rb

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

0 commit comments

Comments
 (0)