Skip to content

Commit 16d0e8e

Browse files
author
Richard Adams
committed
Renamed Project
After some thinking I didn’t like the name.
1 parent 61ed068 commit 16d0e8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+303
-94
lines changed

.ruby-gemset

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
type_station

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-2.0.0-p353

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source "https://rubygems.org"
22

3-
# Declare your gem's dependencies in blast_cms.gemspec.
3+
# Declare your gem's dependencies in type_station.gemspec.
44
# Bundler will treat runtime dependencies like base dependencies, and
55
# development dependencies will be added by default to the :development group.
66
gemspec
@@ -11,4 +11,4 @@ gemspec
1111
# your gem to rubygems.org.
1212

1313
# To use debugger
14-
# gem 'debugger'
14+
gem 'debugger'

Gemfile.lock

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
PATH
2+
remote: .
3+
specs:
4+
type_station (0.0.1.pre)
5+
mongoid (~> 4.0.0)
6+
mongoid-tree (~> 2.0.0)
7+
rails (~> 4.1.6)
8+
9+
GEM
10+
remote: https://rubygems.org/
11+
specs:
12+
actionmailer (4.1.6)
13+
actionpack (= 4.1.6)
14+
actionview (= 4.1.6)
15+
mail (~> 2.5, >= 2.5.4)
16+
actionpack (4.1.6)
17+
actionview (= 4.1.6)
18+
activesupport (= 4.1.6)
19+
rack (~> 1.5.2)
20+
rack-test (~> 0.6.2)
21+
actionview (4.1.6)
22+
activesupport (= 4.1.6)
23+
builder (~> 3.1)
24+
erubis (~> 2.7.0)
25+
activemodel (4.1.6)
26+
activesupport (= 4.1.6)
27+
builder (~> 3.1)
28+
activerecord (4.1.6)
29+
activemodel (= 4.1.6)
30+
activesupport (= 4.1.6)
31+
arel (~> 5.0.0)
32+
activesupport (4.1.6)
33+
i18n (~> 0.6, >= 0.6.9)
34+
json (~> 1.7, >= 1.7.7)
35+
minitest (~> 5.1)
36+
thread_safe (~> 0.1)
37+
tzinfo (~> 1.1)
38+
arel (5.0.1.20140414130214)
39+
bson (2.3.0)
40+
builder (3.2.2)
41+
celluloid (0.16.0)
42+
timers (~> 4.0.0)
43+
coderay (1.1.0)
44+
columnize (0.8.9)
45+
connection_pool (2.0.0)
46+
debugger (1.6.8)
47+
columnize (>= 0.3.1)
48+
debugger-linecache (~> 1.2.0)
49+
debugger-ruby_core_source (~> 1.3.5)
50+
debugger-linecache (1.2.0)
51+
debugger-ruby_core_source (1.3.5)
52+
diff-lcs (1.2.5)
53+
erubis (2.7.0)
54+
ffi (1.9.6)
55+
formatador (0.2.5)
56+
guard (2.9.0)
57+
formatador (>= 0.2.4)
58+
listen (~> 2.7)
59+
lumberjack (~> 1.0)
60+
pry (>= 0.9.12)
61+
thor (>= 0.18.1)
62+
guard-rspec (4.3.1)
63+
guard (~> 2.1)
64+
rspec (>= 2.14, < 4.0)
65+
hike (1.2.3)
66+
hitimes (1.2.2)
67+
i18n (0.6.11)
68+
json (1.8.1)
69+
listen (2.8.2)
70+
celluloid (>= 0.15.2)
71+
rb-fsevent (>= 0.9.3)
72+
rb-inotify (>= 0.9)
73+
lumberjack (1.0.9)
74+
mail (2.6.1)
75+
mime-types (>= 1.16, < 3)
76+
method_source (0.8.2)
77+
mime-types (2.4.3)
78+
minitest (5.4.2)
79+
mongoid (4.0.0)
80+
activemodel (~> 4.0)
81+
moped (~> 2.0.0)
82+
origin (~> 2.1)
83+
tzinfo (>= 0.3.37)
84+
mongoid-tree (2.0.0)
85+
mongoid (>= 4.0, <= 5.0)
86+
moped (2.0.1)
87+
bson (~> 2.2)
88+
connection_pool (~> 2.0)
89+
optionable (~> 0.2.0)
90+
multi_json (1.10.1)
91+
optionable (0.2.0)
92+
origin (2.1.1)
93+
pry (0.10.1)
94+
coderay (~> 1.1.0)
95+
method_source (~> 0.8.1)
96+
slop (~> 3.4)
97+
rack (1.5.2)
98+
rack-test (0.6.2)
99+
rack (>= 1.0)
100+
rails (4.1.6)
101+
actionmailer (= 4.1.6)
102+
actionpack (= 4.1.6)
103+
actionview (= 4.1.6)
104+
activemodel (= 4.1.6)
105+
activerecord (= 4.1.6)
106+
activesupport (= 4.1.6)
107+
bundler (>= 1.3.0, < 2.0)
108+
railties (= 4.1.6)
109+
sprockets-rails (~> 2.0)
110+
railties (4.1.6)
111+
actionpack (= 4.1.6)
112+
activesupport (= 4.1.6)
113+
rake (>= 0.8.7)
114+
thor (>= 0.18.1, < 2.0)
115+
rake (10.3.2)
116+
rb-fsevent (0.9.4)
117+
rb-inotify (0.9.5)
118+
ffi (>= 0.5.0)
119+
rspec (3.1.0)
120+
rspec-core (~> 3.1.0)
121+
rspec-expectations (~> 3.1.0)
122+
rspec-mocks (~> 3.1.0)
123+
rspec-core (3.1.7)
124+
rspec-support (~> 3.1.0)
125+
rspec-expectations (3.1.2)
126+
diff-lcs (>= 1.2.0, < 2.0)
127+
rspec-support (~> 3.1.0)
128+
rspec-mocks (3.1.3)
129+
rspec-support (~> 3.1.0)
130+
rspec-rails (3.1.0)
131+
actionpack (>= 3.0)
132+
activesupport (>= 3.0)
133+
railties (>= 3.0)
134+
rspec-core (~> 3.1.0)
135+
rspec-expectations (~> 3.1.0)
136+
rspec-mocks (~> 3.1.0)
137+
rspec-support (~> 3.1.0)
138+
rspec-support (3.1.2)
139+
slop (3.6.0)
140+
sprockets (2.12.2)
141+
hike (~> 1.2)
142+
multi_json (~> 1.0)
143+
rack (~> 1.0)
144+
tilt (~> 1.1, != 1.3.0)
145+
sprockets-rails (2.2.0)
146+
actionpack (>= 3.0)
147+
activesupport (>= 3.0)
148+
sprockets (>= 2.8, < 4.0)
149+
thor (0.19.1)
150+
thread_safe (0.3.4)
151+
tilt (1.4.1)
152+
timers (4.0.1)
153+
hitimes
154+
tzinfo (1.2.2)
155+
thread_safe (~> 0.1)
156+
157+
PLATFORMS
158+
ruby
159+
160+
DEPENDENCIES
161+
debugger
162+
guard-rspec (~> 4.3.1)
163+
rspec (~> 3.1)
164+
rspec-rails (~> 3.0)
165+
type_station!

Guardfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
guard :rspec, cmd: 'bundle exec rspec' do
2+
watch('spec/spec_helper.rb') { "spec" }
3+
watch('config/routes.rb') { "spec/routing" }
4+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
5+
watch(%r{^spec/.+_spec\.rb$})
6+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
7+
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
8+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
9+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
10+
end

README.md

+21

README.rdoc

-3
This file was deleted.

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require 'rdoc/task'
88

99
RDoc::Task.new(:rdoc) do |rdoc|
1010
rdoc.rdoc_dir = 'rdoc'
11-
rdoc.title = 'BlastCms'
11+
rdoc.title = 'TypeStation'
1212
rdoc.options << '--line-numbers'
1313
rdoc.rdoc_files.include('README.rdoc')
1414
rdoc.rdoc_files.include('lib/**/*.rb')
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module BlastCms
1+
module TypeStation
22
class ApplicationController < ActionController::Base
33
end
44
end
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module BlastCms
1+
module TypeStation
22
module ApplicationHelper
33
end
44
end

app/views/layouts/blast_cms/application.html.erb

-14
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>TypeStation</title>
5+
<%= stylesheet_link_tag "type_station/application", media: "all" %>
6+
<%= javascript_include_tag "type_station/application" %>
7+
<%= csrf_meta_tags %>
8+
</head>
9+
<body>
10+
11+
<%= yield %>
12+
13+
</body>
14+
</html>

bin/rails

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
33

44
ENGINE_ROOT = File.expand_path('../..', __FILE__)
5-
ENGINE_PATH = File.expand_path('../../lib/blast_cms/engine', __FILE__)
5+
ENGINE_PATH = File.expand_path('../../lib/type_station/engine', __FILE__)
66

77
# Set up gems listed in the Gemfile.
88
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

blast_cms.gemspec

-21
This file was deleted.

config/routes.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
BlastCms::Engine.routes.draw do
1+
TypeStation::Engine.routes.draw do
2+
root :to => 'articles#index'
23
end

lib/blast_cms.rb

-4
This file was deleted.

lib/blast_cms/engine.rb

-5
This file was deleted.

lib/blast_cms/version.rb

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# desc "Explaining what the task does"
2-
# task :blast_cms do
2+
# task :type_station do
33
# # Task goes here
44
# end

lib/type_station.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
require "type_station/engine"
2+
3+
module TypeStation
4+
end

lib/type_station/engine.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module TypeStation
2+
class Engine < ::Rails::Engine
3+
isolate_namespace TypeStation
4+
end
5+
end

lib/type_station/version.rb

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module TypeStation
2+
module Version
3+
MAJOR = 0
4+
MINOR = 0
5+
TINY = 1
6+
PRE = 'pre'
7+
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
8+
end
9+
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/dummy/config/application.rb spec/dummy/config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
require "rails/test_unit/railtie"
1010

1111
Bundler.require(*Rails.groups)
12-
require "blast_cms"
12+
require "type_station"
1313

1414
module Dummy
1515
class Application < Rails::Application
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

spec/dummy/config/routes.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Rails.application.routes.draw do
2+
3+
mount TypeStation::Engine => "/type_station"
4+
end
File renamed without changes.
File renamed without changes.
File renamed without changes.

spec/dummy/log/test.log

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Started GET "/type_station" for 127.0.0.1 at 2014-11-27 12:55:02 +0000
2+
Started GET "/type_station" for 127.0.0.1 at 2014-11-27 12:55:45 +0000
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

spec/integration/home_spec.rb

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require 'spec_helper'
2+
3+
RSpec.describe "Test", :type => :request do
4+
describe "GET /" do
5+
it "works! (now write some real specs)" do
6+
get "/type_station"
7+
expect(response).to have_http_status(200)
8+
end
9+
end
10+
end

spec/spec_helper.rb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Configure Rails Environment
2+
ENV["RAILS_ENV"] = "test"
3+
4+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
5+
6+
Rails.backtrace_cleaner.remove_silencers!
7+
8+
require 'rspec'
9+
require 'rspec/rails'
10+
11+
RSpec.configure do |config|
12+
# config
13+
end

0 commit comments

Comments
 (0)