Skip to content

Commit 9c0c1b9

Browse files
committed
Add gem boilerplate
1 parent d00545b commit 9c0c1b9

File tree

7 files changed

+59
-0
lines changed

7 files changed

+59
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.gem

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in gitdeploy.gemspec
4+
gemspec

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Gitdeploy
2+
3+
With this Gitdeploy gem, you can easily push your build folder to a Gitdeploy setup.
4+
5+
## Installation
6+
7+
Add this line to your application's Gemfile:
8+
9+
gem 'gitdeploy', git: '[email protected]:velaluqa/gitdeploy.git'
10+
11+
or
12+
13+
gem 'gitdeploy', git: 'https://git.velalu.qa/velaluqa/gitdeploy.git'
14+
15+
And then execute:
16+
17+
$ bundle
18+
19+
## Usage
20+
21+
TODO: Write usage instructions here

Rakefile

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

gitdeploy.gemspec

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# -*- coding: utf-8 -*-
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'gitdeploy/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "gitdeploy"
8+
spec.version = Gitdeploy::VERSION
9+
spec.authors = ["Franz Kißig"]
10+
spec.email = ["[email protected]"]
11+
spec.summary = %q{Push to a Gitdeploy setup with this Gitdeploy gem}
12+
spec.description = %q{With this Gitdeploy gem, you can easily push your build folder to a Gitdeploy setup.}
13+
spec.homepage = "https://git.velalu.qa/velaluqa/gitdeploy"
14+
spec.license = "Proprietary"
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"
23+
end

lib/gitdeploy.rb

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

lib/gitdeploy/version.rb

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

0 commit comments

Comments
 (0)