got_fixed 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +22 -0
- data/README.rdoc +3 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/got_fixed/application.js +15 -0
- data/app/assets/javascripts/got_fixed/issues.js +2 -0
- data/app/assets/stylesheets/got_fixed/application.css +13 -0
- data/app/assets/stylesheets/got_fixed/issues.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/got_fixed/application_controller.rb +4 -0
- data/app/controllers/got_fixed/issues_controller.rb +84 -0
- data/app/helpers/got_fixed/application_helper.rb +4 -0
- data/app/helpers/got_fixed/issues_helper.rb +4 -0
- data/app/mailers/got_fixed/user_mailer.rb +16 -0
- data/app/models/got_fixed/issue.rb +36 -0
- data/app/models/got_fixed/user.rb +25 -0
- data/app/views/got_fixed/issues/index.html.erb +21 -0
- data/app/views/got_fixed/issues/subscribe.js.erb +1 -0
- data/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb +13 -0
- data/app/views/layouts/got_fixed/application.html.erb +14 -0
- data/config/initializers/got_fixed.rb +17 -0
- data/config/routes.rb +12 -0
- data/db/migrate/20130912175851_create_got_fixed_issues.rb +10 -0
- data/db/migrate/20130913195152_add_number_to_got_fixed_issue.rb +6 -0
- data/db/migrate/20130914085003_add_vendor_to_got_fixed_issue.rb +5 -0
- data/db/migrate/20130924121816_create_got_fixed_users.rb +9 -0
- data/db/migrate/20130924123004_has_and_belongs_to_many_issues_user.rb +8 -0
- data/db/migrate/20130929180909_unique_user_emails.rb +5 -0
- data/lib/got_fixed/adapters/github.rb +78 -0
- data/lib/got_fixed/engine.rb +12 -0
- data/lib/got_fixed/issue_factory.rb +11 -0
- data/lib/got_fixed/receivers/github_webhook.rb +21 -0
- data/lib/got_fixed/version.rb +3 -0
- data/lib/got_fixed.rb +10 -0
- data/lib/tasks/auto_annotate_models.rake +34 -0
- data/lib/tasks/got_fixed_tasks.rake +56 -0
- data/spec/controllers/got_fixed/issues_controller_spec.rb +194 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +39 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/got_fixed.yml +15 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +44 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +3113 -0
- data/spec/dummy/log/production.log +0 -0
- data/spec/dummy/log/test.log +11243 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0ec0faefe9b37b9024c6fb43e9577379 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1ad476961916298df66abf55b6b446de +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2286292795a62721269b8a751f3ce3de +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/34f9216c794a67fd776c9e8dfe99f905 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/37a2b058893add5bb1b23726e10e90f1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3d7c2feaa3d73a9b02a2523a2bf8c6c9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/41bea58eab5eb570004a03e4c0cb9bfe +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/43e404632c89edec855c1fe4e66bbfe8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/52a4f1330e8756eedff2b67442d10802 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/79b7d2d69028ec9f2efa155d4bf7067a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8407d75ea9f26f3effb102acd4b2746d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/962e8b0955e30143673ce7bf6b31f8d5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/98b0301bcea3ebb889faa9d47cbf2419 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aaf7d9ec41e452e8a7e8a9b8ee74f1cd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b1f9d4de39dbaca4f213e1d9df6bd0bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c12af3e3ef3886081600da84f6d72c52 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/db5ae29d7657f4561f01010b7442354a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f310f9446657cf410e5ef48cc74de9d2 +0 -0
- data/spec/factories/github/closed.json +222 -0
- data/spec/factories/github/hook-issues-event.json +164 -0
- data/spec/factories/github/open.json +50 -0
- data/spec/factories/got_fixed_issues.rb +10 -0
- data/spec/factories/got_fixed_users.rb +9 -0
- data/spec/lib/got_fixed/adapters/github_spec.rb +70 -0
- data/spec/lib/got_fixed/issue_factory_spec.rb +33 -0
- data/spec/lib/got_fixed/receivers/github_webhook_spec.rb +16 -0
- data/spec/mailers/got_fixed/user_mailer_spec.rb +20 -0
- data/spec/models/got_fixed/issue_spec.rb +52 -0
- data/spec/models/got_fixed/user_spec.rb +35 -0
- data/spec/routing/got_fixed/issues_routing_spec.rb +15 -0
- data/spec/spec_helper.rb +23 -0
- metadata +311 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module GotFixed
|
4
|
+
module Adapters
|
5
|
+
describe Github do
|
6
|
+
|
7
|
+
describe "#new" do
|
8
|
+
it "should allow to build an object without any parameters" do
|
9
|
+
expect { Github.new }.not_to raise_error
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
describe "#issues" do
|
14
|
+
it "should raise an argument error if :access_token is missing" do
|
15
|
+
@github = Github.new
|
16
|
+
expect { @github.issues }.to raise_error
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should not raise the argument error for :access_token if provided in #new" do
|
20
|
+
@github = Github.new :access_token => "foo"
|
21
|
+
lambda {
|
22
|
+
ArgumentError.should_not_receive(:new).with("Missing mandatory :access_token option")
|
23
|
+
ArgumentError.should_receive(:new).once.with("Missing mandatory :owner option")
|
24
|
+
@github.issues
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should not raise the argument error for :access_token if provided as option" do
|
29
|
+
@github = Github.new
|
30
|
+
lambda {
|
31
|
+
ArgumentError.should_not_receive(:new).with("Missing mandatory :access_token option")
|
32
|
+
ArgumentError.should_receive(:new).once.with("Missing mandatory :owner option")
|
33
|
+
@github.issues :access_token => "foo"
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should not raise the argument error for :owner if provided in #new" do
|
38
|
+
@github = Github.new :access_token => "foo", :owner => "owner"
|
39
|
+
lambda {
|
40
|
+
ArgumentError.should_not_receive(:new).with("Missing mandatory :owner option")
|
41
|
+
ArgumentError.should_receive(:new).once.with("Missing mandatory :repo option")
|
42
|
+
@github.issues
|
43
|
+
}
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should not raise the argument error for :owner if provided as option" do
|
47
|
+
@github = Github.new
|
48
|
+
lambda {
|
49
|
+
ArgumentError.should_not_receive(:new).with("Missing mandatory :owner option")
|
50
|
+
ArgumentError.should_receive(:new).once.with("Missing mandatory :repo option")
|
51
|
+
@github.issues :access_token => "foo", :owner => "owner"
|
52
|
+
}
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should not raise the argument error for :repo if provided in #new" do
|
56
|
+
@github = Github.new :access_token => "foo", :owner => "owner", :repo => "repo"
|
57
|
+
stub_request(:get, /issues/).to_return(:body => "{}", :status => 200)
|
58
|
+
expect { @github.issues }.not_to raise_error
|
59
|
+
end
|
60
|
+
|
61
|
+
it "should not raise the argument error for :repo if provided as option" do
|
62
|
+
@github = Github.new
|
63
|
+
stub_request(:get, /issues/).to_return(:body => "{}", :status => 200)
|
64
|
+
expect { @github.issues :access_token => "foo", :owner => "owner", :repo => "repo" }.not_to raise_error
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module GotFixed
|
4
|
+
describe IssueFactory do
|
5
|
+
before(:each) do
|
6
|
+
@issue_factory = IssueFactory.new
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "#from_github" do
|
10
|
+
|
11
|
+
it "should create an issue from an opened Github issue" do
|
12
|
+
open_issues = JSON.load(File.open "spec/factories/github/open.json")
|
13
|
+
issue = @issue_factory.from_github(open_issues.first)
|
14
|
+
issue.should_not be_nil
|
15
|
+
issue.closed.should be_false
|
16
|
+
issue.vendor_id.should eq 3910487
|
17
|
+
issue.number.should eq 1
|
18
|
+
issue.title.should eq open_issues.first["title"]
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should create an issue from a closed Github issue" do
|
22
|
+
open_issues = JSON.load(File.open "spec/factories/github/closed.json")
|
23
|
+
issue = @issue_factory.from_github(open_issues.first)
|
24
|
+
issue.should_not be_nil
|
25
|
+
issue.closed.should be_true
|
26
|
+
issue.vendor_id.should eq 9255225
|
27
|
+
issue.number.should eq 6
|
28
|
+
issue.title.should eq open_issues.first["title"]
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module GotFixed
|
2
|
+
module Receivers
|
3
|
+
describe GithubWebhook do
|
4
|
+
|
5
|
+
describe "#check_hub_signature!" do
|
6
|
+
|
7
|
+
it "should not raise an error if signature is correct" do
|
8
|
+
@github_webhook = GithubWebhook.new :secret => "secret"
|
9
|
+
body = JSON.generate(JSON.load(File.open "spec/factories/github/hook-issues-event.json"))
|
10
|
+
lambda { @github_webhook.check_hub_signature! "sha1=7e5f575e2e92360b4f13a2100d930e770f26fde3", body }.should_not raise_error
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module GotFixed
|
4
|
+
describe UserMailer do
|
5
|
+
describe "#subject" do
|
6
|
+
it "should evaluate template with issue title" do
|
7
|
+
@user_mailer = UserMailer.send :new
|
8
|
+
issue = FactoryGirl.build :got_fixed_issue, :title => "Dummy issue"
|
9
|
+
old_config = GotFixed.config
|
10
|
+
GotFixed.config = {
|
11
|
+
:user_mailer => {
|
12
|
+
:subject_template => "[Fixed] %{title}"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
@user_mailer.subject(issue).should eq "[Fixed] Dummy issue"
|
16
|
+
GotFixed.config = old_config
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: got_fixed_issues
|
4
|
+
#
|
5
|
+
# id :integer not null, primary key
|
6
|
+
# title :string(255)
|
7
|
+
# closed :boolean
|
8
|
+
# created_at :datetime
|
9
|
+
# updated_at :datetime
|
10
|
+
# number :integer
|
11
|
+
# vendor_id :string(255)
|
12
|
+
# vendor :string(255)
|
13
|
+
#
|
14
|
+
|
15
|
+
require 'spec_helper'
|
16
|
+
|
17
|
+
module GotFixed
|
18
|
+
describe Issue do
|
19
|
+
before(:each) do
|
20
|
+
@issue = FactoryGirl.create :got_fixed_issue
|
21
|
+
ActionMailer::Base.deliveries = [] # Reset email queue
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should not send any email on issue closing if no one is registered" do
|
25
|
+
@issue.users.should be_blank
|
26
|
+
@issue.closed = true
|
27
|
+
@issue.save
|
28
|
+
ActionMailer::Base.deliveries.last.should be_nil
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should send an email on issue closing if one is registered" do
|
32
|
+
user = FactoryGirl.create :got_fixed_user
|
33
|
+
@issue.users << user
|
34
|
+
@issue.save
|
35
|
+
|
36
|
+
@issue.closed = true
|
37
|
+
@issue.save
|
38
|
+
ActionMailer::Base.deliveries.last.should_not be_nil
|
39
|
+
ActionMailer::Base.deliveries.last.to.first.should eq user.email
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should send 10 emails if 10 people are registered" do
|
43
|
+
10.times { @issue.users << FactoryGirl.create(:got_fixed_user) }
|
44
|
+
@issue.save
|
45
|
+
|
46
|
+
@issue.closed = true
|
47
|
+
@issue.save
|
48
|
+
ActionMailer::Base.deliveries.size.should eq 10
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# == Schema Information
|
2
|
+
#
|
3
|
+
# Table name: got_fixed_users
|
4
|
+
#
|
5
|
+
# id :integer not null, primary key
|
6
|
+
# email :string(255)
|
7
|
+
# created_at :datetime
|
8
|
+
# updated_at :datetime
|
9
|
+
#
|
10
|
+
|
11
|
+
require 'spec_helper'
|
12
|
+
|
13
|
+
module GotFixed
|
14
|
+
describe User do
|
15
|
+
it "should not be valid with an empty email" do
|
16
|
+
user = User.new :email => ""
|
17
|
+
user.should_not be_valid
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should not be valid with an invalid email address" do
|
21
|
+
user = User.new :email => "foo"
|
22
|
+
user.should_not be_valid
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should not be able to create 2 users with the same email" do
|
26
|
+
User.create! :email => "foo@bar.com"
|
27
|
+
expect { User.create! :email => "foo@bar.com" }.to raise_error ActiveRecord::RecordInvalid
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should be valid with a valid email address" do
|
31
|
+
user = User.new :email => "seb@saunier.me"
|
32
|
+
user.should be_valid
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
module GotFixed
|
4
|
+
describe IssuesController do
|
5
|
+
routes { GotFixed::Engine.routes }
|
6
|
+
|
7
|
+
describe "routing" do
|
8
|
+
|
9
|
+
it "routes to #index" do
|
10
|
+
get("/issues").should route_to("got_fixed/issues#index")
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require 'coveralls'
|
4
|
+
Coveralls.wear!
|
5
|
+
|
6
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
7
|
+
require 'rspec/rails'
|
8
|
+
require 'rspec/autorun'
|
9
|
+
require 'factory_girl_rails'
|
10
|
+
Rails.backtrace_cleaner.remove_silencers!
|
11
|
+
|
12
|
+
# Load support files
|
13
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
14
|
+
|
15
|
+
RSpec.configure do |config|
|
16
|
+
config.mock_with :rspec
|
17
|
+
config.use_transactional_fixtures = true
|
18
|
+
config.infer_base_class_for_anonymous_controllers = false
|
19
|
+
config.order = "random"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'webmock/rspec'
|
23
|
+
WebMock.enable!
|
metadata
ADDED
@@ -0,0 +1,311 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: got_fixed
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sebastien Saunier
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httparty
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: capybara
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: factory_girl_rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
description: Build a public dashboard of your private issue tracker
|
112
|
+
email:
|
113
|
+
- seb@saunier.me
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- app/assets/javascripts/got_fixed/application.js
|
119
|
+
- app/assets/javascripts/got_fixed/issues.js
|
120
|
+
- app/assets/stylesheets/got_fixed/application.css
|
121
|
+
- app/assets/stylesheets/got_fixed/issues.css
|
122
|
+
- app/assets/stylesheets/scaffold.css
|
123
|
+
- app/controllers/got_fixed/application_controller.rb
|
124
|
+
- app/controllers/got_fixed/issues_controller.rb
|
125
|
+
- app/helpers/got_fixed/application_helper.rb
|
126
|
+
- app/helpers/got_fixed/issues_helper.rb
|
127
|
+
- app/mailers/got_fixed/user_mailer.rb
|
128
|
+
- app/models/got_fixed/issue.rb
|
129
|
+
- app/models/got_fixed/user.rb
|
130
|
+
- app/views/got_fixed/issues/index.html.erb
|
131
|
+
- app/views/got_fixed/issues/subscribe.js.erb
|
132
|
+
- app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb
|
133
|
+
- app/views/layouts/got_fixed/application.html.erb
|
134
|
+
- config/initializers/got_fixed.rb
|
135
|
+
- config/routes.rb
|
136
|
+
- db/migrate/20130912175851_create_got_fixed_issues.rb
|
137
|
+
- db/migrate/20130913195152_add_number_to_got_fixed_issue.rb
|
138
|
+
- db/migrate/20130914085003_add_vendor_to_got_fixed_issue.rb
|
139
|
+
- db/migrate/20130924121816_create_got_fixed_users.rb
|
140
|
+
- db/migrate/20130924123004_has_and_belongs_to_many_issues_user.rb
|
141
|
+
- db/migrate/20130929180909_unique_user_emails.rb
|
142
|
+
- lib/got_fixed/adapters/github.rb
|
143
|
+
- lib/got_fixed/engine.rb
|
144
|
+
- lib/got_fixed/issue_factory.rb
|
145
|
+
- lib/got_fixed/receivers/github_webhook.rb
|
146
|
+
- lib/got_fixed/version.rb
|
147
|
+
- lib/got_fixed.rb
|
148
|
+
- lib/tasks/auto_annotate_models.rake
|
149
|
+
- lib/tasks/got_fixed_tasks.rake
|
150
|
+
- LICENSE.txt
|
151
|
+
- Rakefile
|
152
|
+
- README.rdoc
|
153
|
+
- spec/controllers/got_fixed/issues_controller_spec.rb
|
154
|
+
- spec/dummy/app/assets/javascripts/application.js
|
155
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
156
|
+
- spec/dummy/app/controllers/application_controller.rb
|
157
|
+
- spec/dummy/app/helpers/application_helper.rb
|
158
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
159
|
+
- spec/dummy/config/application.rb
|
160
|
+
- spec/dummy/config/boot.rb
|
161
|
+
- spec/dummy/config/database.yml
|
162
|
+
- spec/dummy/config/environment.rb
|
163
|
+
- spec/dummy/config/environments/development.rb
|
164
|
+
- spec/dummy/config/environments/production.rb
|
165
|
+
- spec/dummy/config/environments/test.rb
|
166
|
+
- spec/dummy/config/got_fixed.yml
|
167
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
168
|
+
- spec/dummy/config/initializers/inflections.rb
|
169
|
+
- spec/dummy/config/initializers/mime_types.rb
|
170
|
+
- spec/dummy/config/initializers/secret_token.rb
|
171
|
+
- spec/dummy/config/initializers/session_store.rb
|
172
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
173
|
+
- spec/dummy/config/locales/en.yml
|
174
|
+
- spec/dummy/config/routes.rb
|
175
|
+
- spec/dummy/config.ru
|
176
|
+
- spec/dummy/db/development.sqlite3
|
177
|
+
- spec/dummy/db/schema.rb
|
178
|
+
- spec/dummy/db/test.sqlite3
|
179
|
+
- spec/dummy/log/development.log
|
180
|
+
- spec/dummy/log/production.log
|
181
|
+
- spec/dummy/log/test.log
|
182
|
+
- spec/dummy/public/404.html
|
183
|
+
- spec/dummy/public/422.html
|
184
|
+
- spec/dummy/public/500.html
|
185
|
+
- spec/dummy/public/favicon.ico
|
186
|
+
- spec/dummy/Rakefile
|
187
|
+
- spec/dummy/README.rdoc
|
188
|
+
- spec/dummy/script/rails
|
189
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/0ec0faefe9b37b9024c6fb43e9577379
|
190
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1ad476961916298df66abf55b6b446de
|
191
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2286292795a62721269b8a751f3ce3de
|
192
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/34f9216c794a67fd776c9e8dfe99f905
|
193
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/37a2b058893add5bb1b23726e10e90f1
|
194
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/3d7c2feaa3d73a9b02a2523a2bf8c6c9
|
195
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/41bea58eab5eb570004a03e4c0cb9bfe
|
196
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/43e404632c89edec855c1fe4e66bbfe8
|
197
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/52a4f1330e8756eedff2b67442d10802
|
198
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/79b7d2d69028ec9f2efa155d4bf7067a
|
199
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/8407d75ea9f26f3effb102acd4b2746d
|
200
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/962e8b0955e30143673ce7bf6b31f8d5
|
201
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/98b0301bcea3ebb889faa9d47cbf2419
|
202
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/aaf7d9ec41e452e8a7e8a9b8ee74f1cd
|
203
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/b1f9d4de39dbaca4f213e1d9df6bd0bd
|
204
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/c12af3e3ef3886081600da84f6d72c52
|
205
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/db5ae29d7657f4561f01010b7442354a
|
206
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f310f9446657cf410e5ef48cc74de9d2
|
207
|
+
- spec/factories/github/closed.json
|
208
|
+
- spec/factories/github/hook-issues-event.json
|
209
|
+
- spec/factories/github/open.json
|
210
|
+
- spec/factories/got_fixed_issues.rb
|
211
|
+
- spec/factories/got_fixed_users.rb
|
212
|
+
- spec/lib/got_fixed/adapters/github_spec.rb
|
213
|
+
- spec/lib/got_fixed/issue_factory_spec.rb
|
214
|
+
- spec/lib/got_fixed/receivers/github_webhook_spec.rb
|
215
|
+
- spec/mailers/got_fixed/user_mailer_spec.rb
|
216
|
+
- spec/models/got_fixed/issue_spec.rb
|
217
|
+
- spec/models/got_fixed/user_spec.rb
|
218
|
+
- spec/routing/got_fixed/issues_routing_spec.rb
|
219
|
+
- spec/spec_helper.rb
|
220
|
+
homepage: https://github.com/ssaunier/got_fixed
|
221
|
+
licenses: []
|
222
|
+
metadata: {}
|
223
|
+
post_install_message:
|
224
|
+
rdoc_options: []
|
225
|
+
require_paths:
|
226
|
+
- lib
|
227
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - '>='
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project:
|
239
|
+
rubygems_version: 2.1.5
|
240
|
+
signing_key:
|
241
|
+
specification_version: 4
|
242
|
+
summary: Build a public dashboard of your private issue tracker
|
243
|
+
test_files:
|
244
|
+
- spec/controllers/got_fixed/issues_controller_spec.rb
|
245
|
+
- spec/dummy/app/assets/javascripts/application.js
|
246
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
247
|
+
- spec/dummy/app/controllers/application_controller.rb
|
248
|
+
- spec/dummy/app/helpers/application_helper.rb
|
249
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
250
|
+
- spec/dummy/config/application.rb
|
251
|
+
- spec/dummy/config/boot.rb
|
252
|
+
- spec/dummy/config/database.yml
|
253
|
+
- spec/dummy/config/environment.rb
|
254
|
+
- spec/dummy/config/environments/development.rb
|
255
|
+
- spec/dummy/config/environments/production.rb
|
256
|
+
- spec/dummy/config/environments/test.rb
|
257
|
+
- spec/dummy/config/got_fixed.yml
|
258
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
259
|
+
- spec/dummy/config/initializers/inflections.rb
|
260
|
+
- spec/dummy/config/initializers/mime_types.rb
|
261
|
+
- spec/dummy/config/initializers/secret_token.rb
|
262
|
+
- spec/dummy/config/initializers/session_store.rb
|
263
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
264
|
+
- spec/dummy/config/locales/en.yml
|
265
|
+
- spec/dummy/config/routes.rb
|
266
|
+
- spec/dummy/config.ru
|
267
|
+
- spec/dummy/db/development.sqlite3
|
268
|
+
- spec/dummy/db/schema.rb
|
269
|
+
- spec/dummy/db/test.sqlite3
|
270
|
+
- spec/dummy/log/development.log
|
271
|
+
- spec/dummy/log/production.log
|
272
|
+
- spec/dummy/log/test.log
|
273
|
+
- spec/dummy/public/404.html
|
274
|
+
- spec/dummy/public/422.html
|
275
|
+
- spec/dummy/public/500.html
|
276
|
+
- spec/dummy/public/favicon.ico
|
277
|
+
- spec/dummy/Rakefile
|
278
|
+
- spec/dummy/README.rdoc
|
279
|
+
- spec/dummy/script/rails
|
280
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/0ec0faefe9b37b9024c6fb43e9577379
|
281
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1ad476961916298df66abf55b6b446de
|
282
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2286292795a62721269b8a751f3ce3de
|
283
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/34f9216c794a67fd776c9e8dfe99f905
|
284
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/37a2b058893add5bb1b23726e10e90f1
|
285
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/3d7c2feaa3d73a9b02a2523a2bf8c6c9
|
286
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/41bea58eab5eb570004a03e4c0cb9bfe
|
287
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/43e404632c89edec855c1fe4e66bbfe8
|
288
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/52a4f1330e8756eedff2b67442d10802
|
289
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/79b7d2d69028ec9f2efa155d4bf7067a
|
290
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/8407d75ea9f26f3effb102acd4b2746d
|
291
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/962e8b0955e30143673ce7bf6b31f8d5
|
292
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/98b0301bcea3ebb889faa9d47cbf2419
|
293
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/aaf7d9ec41e452e8a7e8a9b8ee74f1cd
|
294
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/b1f9d4de39dbaca4f213e1d9df6bd0bd
|
295
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/c12af3e3ef3886081600da84f6d72c52
|
296
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/db5ae29d7657f4561f01010b7442354a
|
297
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f310f9446657cf410e5ef48cc74de9d2
|
298
|
+
- spec/factories/github/closed.json
|
299
|
+
- spec/factories/github/hook-issues-event.json
|
300
|
+
- spec/factories/github/open.json
|
301
|
+
- spec/factories/got_fixed_issues.rb
|
302
|
+
- spec/factories/got_fixed_users.rb
|
303
|
+
- spec/lib/got_fixed/adapters/github_spec.rb
|
304
|
+
- spec/lib/got_fixed/issue_factory_spec.rb
|
305
|
+
- spec/lib/got_fixed/receivers/github_webhook_spec.rb
|
306
|
+
- spec/mailers/got_fixed/user_mailer_spec.rb
|
307
|
+
- spec/models/got_fixed/issue_spec.rb
|
308
|
+
- spec/models/got_fixed/user_spec.rb
|
309
|
+
- spec/routing/got_fixed/issues_routing_spec.rb
|
310
|
+
- spec/spec_helper.rb
|
311
|
+
has_rdoc:
|