Skip to content

Commit

Permalink
Build a gem
Browse files Browse the repository at this point in the history
  • Loading branch information
dohzya committed Oct 2, 2013
1 parent 7a05632 commit 85553ed
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
coverage/
pkg/*.gem
9 changes: 2 additions & 7 deletions Gemfile
@@ -1,9 +1,4 @@
source 'https://rubygems.org'


group :test do
gem 'yajl-ruby', require: 'yajl'
gem 'rspec'
gem 'nokogiri'
gem 'simplecov'
end
# Specify your gem's dependencies in truc.gemspec
gemspec
15 changes: 11 additions & 4 deletions Gemfile.lock
@@ -1,3 +1,8 @@
PATH
remote: .
specs:
Prismic (1.0.0.preview.1)

GEM
remote: https://rubygems.org/
specs:
Expand All @@ -24,7 +29,9 @@ PLATFORMS
ruby

DEPENDENCIES
nokogiri
rspec
simplecov
yajl-ruby
Prismic!
bundler (~> 1.3)
nokogiri (~> 1.6)
rspec (~> 2.14)
simplecov (~> 0.7)
yajl-ruby (~> 1.1)
1 change: 1 addition & 0 deletions Rakefile
@@ -0,0 +1 @@
require "bundler/gem_tasks"
5 changes: 5 additions & 0 deletions lib/prismic/version.rb
@@ -0,0 +1,5 @@
module Prismic

VERSION = "1.0.0.preview.1"

end
34 changes: 25 additions & 9 deletions prismic.gemspec
@@ -1,10 +1,26 @@
Gem::Specification.new do |s|
s.name = 'Prismic'
s.version = '0.0.0'
s.summary = "Prismic development kit"
s.description = "A gem to use Prismic with a Ruby app"
s.authors = ["Samy Dindane"]
s.email = 'sdi@zenexity.com'
s.files = []
s.homepage = 'http://prismic.io'
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'prismic/version'

Gem::Specification.new do |spec|
spec.name = "prismic.io"
spec.version = Prismic::VERSION
spec.authors = ["Étienne Vallette d'Osia", "Samy Dindane"]
spec.email = ["evo@zenexity.com"]
spec.description = %q{The standard Prismic.io's API library.}
spec.summary = %q{Prismic.io development kit}
spec.homepage = "http://prismic.io"
spec.license = "Apache-2"

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

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "yajl-ruby", "~> 1.1"
spec.add_development_dependency "rspec", "~> 2.14"
spec.add_development_dependency "nokogiri", "~> 1.6"
spec.add_development_dependency "simplecov", "~> 0.7"
end

0 comments on commit 85553ed

Please sign in to comment.