Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source :rubygems
gemspec
28 changes: 28 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
PATH
remote: .
specs:
lighthouse-api (2.0.1)
activeresource (>= 3.0.0)
activesupport (>= 3.0.0)

GEM
remote: http://rubygems.org/
specs:
activemodel (3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
activeresource (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
builder (3.0.4)
i18n (0.6.1)
multi_json (1.6.0)

PLATFORMS
ruby

DEPENDENCIES
lighthouse-api!
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rspec/core/rake_task"

task :default => :spec

RSpec::Core::RakeTask.new
1 change: 1 addition & 0 deletions lib/lighthouse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module Lighthouse

autoload :Bin
autoload :Changeset
autoload :Member
autoload :Membership
autoload :Message
autoload :Milestone
Expand Down
4 changes: 4 additions & 0 deletions lib/lighthouse/member.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Lighthouse
class Member < Base
end
end
5 changes: 2 additions & 3 deletions lib/lighthouse/tag.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
require 'active_support/core_ext/module/attr_accessor_with_default'

module Lighthouse
class Tag < String
attr_accessor_with_default :prefix_options, {}
attr_accessor :prefix_options
attr_accessor :project_id

def initialize(s, project_id)
@prefix_options ||= {}
self.project_id = project_id
super(s)
end
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-api.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{lighthouse-api}
s.version = "2.0"
s.version = "2.0.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rick Olson", "Justin Palmer"]
Expand Down