hublot 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hublot/pretty.rb +1 -1
- data/lib/hublot/version.rb +1 -1
- data/test/dummy/Guardfile +0 -20
- data/test/dummy/Rakefile +0 -4
- data/test/dummy/config.ru +0 -2
- data/test/dummy/log/development.log +1 -0
- data/test/dummy/log/test.log +144 -0
- data/test/dummy/script/rails +0 -3
- metadata +21 -23
- checksums.yaml +0 -15
- data/lib/tasks/hublot_tasks.rake +0 -4
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -25
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/comments.yml +0 -7
- data/test/dummy/test/unit/comment_test.rb +0 -7
- data/test/hublot_test.rb +0 -7
- data/test/test_helper.rb +0 -15
data/lib/hublot/pretty.rb
CHANGED
data/lib/hublot/version.rb
CHANGED
data/test/dummy/Guardfile
CHANGED
@@ -1,24 +1,4 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
1
|
guard :rspec do
|
5
|
-
watch(%r{^spec/.+_spec\.rb$})
|
6
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
-
watch('spec/spec_helper.rb') { "spec" }
|
8
|
-
|
9
|
-
# Rails example
|
10
2
|
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
11
|
-
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
12
|
-
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"] }
|
13
|
-
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
14
|
-
watch('config/routes.rb') { "spec/routing" }
|
15
|
-
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
16
|
-
|
17
|
-
# Capybara features specs
|
18
|
-
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
19
|
-
|
20
|
-
# Turnip features and steps
|
21
|
-
watch(%r{^spec/acceptance/(.+)\.feature$})
|
22
|
-
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
|
23
3
|
end
|
24
4
|
|
data/test/dummy/Rakefile
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
-
|
5
1
|
require File.expand_path('../config/application', __FILE__)
|
6
2
|
|
7
3
|
Dummy::Application.load_tasks
|
data/test/dummy/config.ru
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -3067,3 +3067,147 @@ Connecting to database specified by database.yml
|
|
3067
3067
|
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 02:32:05 UTC +00:00]]
|
3068
3068
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3069
3069
|
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3070
|
+
Connecting to database specified by database.yml
|
3071
|
+
[1m[36m (3.4ms)[0m [1mbegin transaction[0m
|
3072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3073
|
+
[1m[36mSQL (5.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3074
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3075
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3076
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3077
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3078
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3079
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3080
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3082
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3083
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3086
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 01 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3087
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3089
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Sun, 14 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3091
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3093
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3094
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 09 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3097
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3098
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3099
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3101
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3102
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Wed, 10 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3105
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Sun, 14 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3109
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3110
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3113
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 15 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3116
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 01 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3119
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Sun, 21 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3121
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3124
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3126
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3129
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3130
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3131
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3133
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3134
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3136
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3138
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3139
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:34 UTC +00:00]]
|
3140
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3141
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3142
|
+
Connecting to database specified by database.yml
|
3143
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3144
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3145
|
+
[1m[36mSQL (25.9ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 15 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3148
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 01 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Sun, 21 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3152
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3153
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
3154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3156
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3157
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3158
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3160
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3161
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3162
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3163
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3164
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 01 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3166
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3167
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Sun, 14 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3169
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3171
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3172
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Wed, 10 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3175
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3176
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3178
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Sun, 14 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3180
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3181
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3183
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3185
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3187
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3188
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3190
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3192
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3193
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 09 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3195
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3196
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Mon, 08 Jul 2013 20:00:58 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3197
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3198
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3201
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3203
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3205
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3206
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3207
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3208
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3210
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3211
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "comments" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "Hello World!"], ["created_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 17:29:39 UTC +00:00]]
|
3212
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3213
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
data/test/dummy/script/rails
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
1
|
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
2
|
require File.expand_path('../../config/boot', __FILE__)
|
6
3
|
require 'rails/commands'
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hublot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Brett Shollenberger
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ! '>'
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ! '>'
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: sqlite3
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: activesupport
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: i18n
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,6 +94,7 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: rake
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
@@ -90,6 +102,7 @@ dependencies:
|
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
@@ -105,7 +118,6 @@ files:
|
|
105
118
|
- lib/hublot/rails.rb
|
106
119
|
- lib/hublot/version.rb
|
107
120
|
- lib/hublot.rb
|
108
|
-
- lib/tasks/hublot_tasks.rake
|
109
121
|
- MIT-LICENSE
|
110
122
|
- Rakefile
|
111
123
|
- README.rdoc
|
@@ -138,43 +150,37 @@ files:
|
|
138
150
|
- test/dummy/Guardfile
|
139
151
|
- test/dummy/log/development.log
|
140
152
|
- test/dummy/log/test.log
|
141
|
-
- test/dummy/public/404.html
|
142
|
-
- test/dummy/public/422.html
|
143
|
-
- test/dummy/public/500.html
|
144
|
-
- test/dummy/public/favicon.ico
|
145
153
|
- test/dummy/Rakefile
|
146
154
|
- test/dummy/script/rails
|
147
155
|
- test/dummy/spec/factories.rb
|
148
156
|
- test/dummy/spec/features/hublot_prettifies_time_with_zone_spec.rb
|
149
157
|
- test/dummy/spec/models/comment_spec.rb
|
150
158
|
- test/dummy/spec/spec_helper.rb
|
151
|
-
- test/dummy/test/fixtures/comments.yml
|
152
|
-
- test/dummy/test/unit/comment_test.rb
|
153
159
|
- test/dummy/tmp/rspec_guard_result
|
154
|
-
- test/hublot_test.rb
|
155
|
-
- test/test_helper.rb
|
156
160
|
homepage: http://github.com/brettshollenberger/hublot
|
157
|
-
licenses:
|
158
|
-
|
161
|
+
licenses:
|
162
|
+
- MIT
|
159
163
|
post_install_message:
|
160
164
|
rdoc_options: []
|
161
165
|
require_paths:
|
162
166
|
- lib
|
163
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
164
169
|
requirements:
|
165
170
|
- - ! '>='
|
166
171
|
- !ruby/object:Gem::Version
|
167
172
|
version: '0'
|
168
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
169
175
|
requirements:
|
170
176
|
- - ! '>='
|
171
177
|
- !ruby/object:Gem::Version
|
172
178
|
version: '0'
|
173
179
|
requirements: []
|
174
180
|
rubyforge_project:
|
175
|
-
rubygems_version:
|
181
|
+
rubygems_version: 1.8.25
|
176
182
|
signing_key:
|
177
|
-
specification_version:
|
183
|
+
specification_version: 3
|
178
184
|
summary: Adds datetime humanization to Active Record objects.
|
179
185
|
test_files:
|
180
186
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -206,18 +212,10 @@ test_files:
|
|
206
212
|
- test/dummy/Guardfile
|
207
213
|
- test/dummy/log/development.log
|
208
214
|
- test/dummy/log/test.log
|
209
|
-
- test/dummy/public/404.html
|
210
|
-
- test/dummy/public/422.html
|
211
|
-
- test/dummy/public/500.html
|
212
|
-
- test/dummy/public/favicon.ico
|
213
215
|
- test/dummy/Rakefile
|
214
216
|
- test/dummy/script/rails
|
215
217
|
- test/dummy/spec/factories.rb
|
216
218
|
- test/dummy/spec/features/hublot_prettifies_time_with_zone_spec.rb
|
217
219
|
- test/dummy/spec/models/comment_spec.rb
|
218
220
|
- test/dummy/spec/spec_helper.rb
|
219
|
-
- test/dummy/test/fixtures/comments.yml
|
220
|
-
- test/dummy/test/unit/comment_test.rb
|
221
221
|
- test/dummy/tmp/rspec_guard_result
|
222
|
-
- test/hublot_test.rb
|
223
|
-
- test/test_helper.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
OWY2YWM0MTVlYzQ1NDE3MWVhY2YxY2I2ODNkN2M0N2U2NGNiMjQ2Yg==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTNkNWMyYjNhMWY5N2FkZmIyZjNhNzU2MTRiZDIyODkwZDAwZDhlNw==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MjYzMWU2NjMyMzkwNWJjNTRkZWVhMzhmOTRlYWJlNDA4MDJmNjU1N2NjN2E1
|
10
|
-
NGM0MGVlYjllYzBhMTVjZTRlOTIyYjM3MGYyYjgzZGJlYTQ0ZTY3YjczYmNk
|
11
|
-
NWE3Y2M5ZmMwMjg4Yzg3NTVlYWE1NmY2NjE1MzFkNjU5NzIxYjA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MmUzMWY3MjczYzA4NTlkM2NlMWRjM2NlNzExMmY3NmY4YmYyN2M1MTE5Mjk5
|
14
|
-
MTExNWQ0YTYzY2IwZDJkODUyZTE0NjEzZjZjNTlmOTM2ZmIxOGRmNDZhZGZi
|
15
|
-
YjA2MGJlMzQzZjM0Nzk1M2ExN2M1OGI0M2IzMDVlNjgzZjk0MTU=
|
data/lib/tasks/hublot_tasks.rake
DELETED
data/test/dummy/public/404.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/404.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/test/dummy/public/422.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/422.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The change you wanted was rejected.</h1>
|
23
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/test/dummy/public/500.html
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
</div>
|
24
|
-
</body>
|
25
|
-
</html>
|
File without changes
|
data/test/hublot_test.rb
DELETED
data/test/test_helper.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# Configure Rails Environment
|
2
|
-
ENV["RAILS_ENV"] = "test"
|
3
|
-
|
4
|
-
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
-
require "rails/test_help"
|
6
|
-
|
7
|
-
Rails.backtrace_cleaner.remove_silencers!
|
8
|
-
|
9
|
-
# Load support files
|
10
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
-
|
12
|
-
# Load fixtures from the engine
|
13
|
-
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
-
end
|