popfly 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6920cf33d3f270dfd536fb69d05d2a7f970b0170
4
+ data.tar.gz: 11c6b7450dd4389271bcb30ce269f2adb4daaf9f
5
+ SHA512:
6
+ metadata.gz: a40ae30dc1de15b67513c67e2555690db897e2f1a7c90ac7635048af044504ce1b7b047feb891b07d5c44fca888456f5a80ad0540a23ba9a369706974e80c688
7
+ data.tar.gz: ef69208f70b0df926aba9ae7fd86a9facbddad7f11ed7b9f37c3429fde0548187931ea2789364dc5bc6d8235a9133032a71ddd90416be83bbf21bfa8ace72c9d
@@ -1,3 +1,3 @@
1
1
  module Popfly
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,25 +1,32 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3
3
- #
4
- # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
6
- development:
1
+ sqlite: &sqlite
7
2
  adapter: sqlite3
8
- database: db/development.sqlite3
3
+ database: ":memory:"
4
+
5
+ mysql: &mysql
6
+ adapter: mysql2
7
+ username: root
8
+ password:
9
+ database: myapp_<%= Rails.env %>
10
+
11
+ postgresql: &postgresql
12
+ adapter: postgresql
13
+ username: postgres
14
+ password:
15
+ database: myapp_<%= Rails.env %>
16
+ min_messages: ERROR
17
+
18
+ defaults: &defaults
9
19
  pool: 5
10
20
  timeout: 5000
21
+ host: localhost
22
+ <<: *<%= ENV['DB'] || "postgresql" %>
23
+
24
+ development:
25
+ <<: *defaults
11
26
 
12
- # Warning: The database defined as "test" will be erased and
13
- # re-generated from your development database when you run "rake".
14
- # Do not set this db to the same as development or production.
15
27
  test:
16
- adapter: sqlite3
17
- database: db/test.sqlite3
18
- pool: 5
19
- timeout: 5000
28
+ <<: *defaults
20
29
 
21
30
  production:
22
- adapter: sqlite3
23
- database: db/production.sqlite3
24
- pool: 5
25
- timeout: 5000
31
+ <<: *defaults
32
+ # TODO: Add erb-echo of credentials
@@ -734,3 +734,62 @@ Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.1ms)
734
734
   (0.1ms) rollback transaction
735
735
   (0.0ms) begin transaction
736
736
   (0.0ms) rollback transaction
737
+ Connecting to database specified by database.yml
738
+  (0.3ms) begin transaction
739
+ Processing by Popfly::PopflyController#index as HTML
740
+  (0.1ms) select 1
741
+ Rendered text template (0.0ms)
742
+ Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.1ms)
743
+  (0.1ms) rollback transaction
744
+  (0.0ms) begin transaction
745
+  (0.0ms) rollback transaction
746
+ Connecting to database specified by database.yml
747
+  (0.2ms) begin transaction
748
+ Processing by Popfly::PopflyController#index as HTML
749
+  (0.1ms) select 1
750
+ Rendered text template (0.0ms)
751
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
752
+  (0.1ms) rollback transaction
753
+  (0.0ms) begin transaction
754
+  (0.0ms) rollback transaction
755
+ Connecting to database specified by database.yml
756
+  (0.1ms) begin transaction
757
+ Processing by Popfly::PopflyController#index as HTML
758
+  (0.1ms) select 1
759
+ Rendered text template (0.0ms)
760
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.1ms)
761
+  (0.0ms) rollback transaction
762
+  (0.0ms) begin transaction
763
+  (0.0ms) rollback transaction
764
+ Connecting to database specified by database.yml
765
+  (0.1ms) begin transaction
766
+ Processing by Popfly::PopflyController#index as HTML
767
+  (0.1ms) select 1
768
+ Rendered text template (0.0ms)
769
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.1ms)
770
+  (0.0ms) rollback transaction
771
+  (0.0ms) begin transaction
772
+  (0.0ms) rollback transaction
773
+ Connecting to database specified by database.yml
774
+  (0.1ms) begin transaction
775
+ Processing by Popfly::PopflyController#index as HTML
776
+  (0.1ms) select 1
777
+ Rendered text template (0.0ms)
778
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
779
+  (0.1ms) rollback transaction
780
+  (0.0ms) begin transaction
781
+  (0.0ms) rollback transaction
782
+  (0.2ms) BEGIN
783
+ ---------------------------------------------------
784
+ Popfly::PopflyControllerTest: test_should_get_index
785
+ ---------------------------------------------------
786
+ Processing by Popfly::PopflyController#index as HTML
787
+  (0.3ms) select 1
788
+ Rendered text template (0.0ms)
789
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.3ms)
790
+  (0.2ms) ROLLBACK
791
+  (0.3ms) BEGIN
792
+ ----------------------
793
+ PopflyTest: test_truth
794
+ ----------------------
795
+  (0.3ms) ROLLBACK
metadata CHANGED
@@ -1,48 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rafi Jacoby
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-23 00:00:00.000000000 Z
11
+ date: 2013-08-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - '>'
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - '>'
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.0'
30
- - !ruby/object:Gem::Dependency
31
- name: sqlite3
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
27
  description: popfly is a Rails engine that you can drop into your app for use with
47
28
  Nagios, Pingdom, NewRelic, etc. in order to make sure that the app is alive and
48
29
  has working DB connections.
@@ -83,8 +64,6 @@ files:
83
64
  - test/dummy/config/locales/en.yml
84
65
  - test/dummy/config/routes.rb
85
66
  - test/dummy/config.ru
86
- - test/dummy/db/development.sqlite3
87
- - test/dummy/db/test.sqlite3
88
67
  - test/dummy/log/development.log
89
68
  - test/dummy/log/test.log
90
69
  - test/dummy/public/404.html
@@ -101,27 +80,26 @@ files:
101
80
  - test/unit/helpers/popfly/popfly_helper_test.rb
102
81
  homepage: https://github.com/razorfish/popfly
103
82
  licenses: []
83
+ metadata: {}
104
84
  post_install_message:
105
85
  rdoc_options: []
106
86
  require_paths:
107
87
  - lib
108
88
  required_ruby_version: !ruby/object:Gem::Requirement
109
- none: false
110
89
  requirements:
111
- - - ! '>='
90
+ - - '>='
112
91
  - !ruby/object:Gem::Version
113
92
  version: '0'
114
93
  required_rubygems_version: !ruby/object:Gem::Requirement
115
- none: false
116
94
  requirements:
117
- - - ! '>='
95
+ - - '>='
118
96
  - !ruby/object:Gem::Version
119
97
  version: '0'
120
98
  requirements: []
121
99
  rubyforge_project:
122
- rubygems_version: 1.8.24
100
+ rubygems_version: 2.0.3
123
101
  signing_key:
124
- specification_version: 3
102
+ specification_version: 4
125
103
  summary: popfly helps you check if your app can respond to simple requests.
126
104
  test_files:
127
105
  - test/dummy/app/assets/javascripts/application.js
@@ -145,8 +123,6 @@ test_files:
145
123
  - test/dummy/config/locales/en.yml
146
124
  - test/dummy/config/routes.rb
147
125
  - test/dummy/config.ru
148
- - test/dummy/db/development.sqlite3
149
- - test/dummy/db/test.sqlite3
150
126
  - test/dummy/log/development.log
151
127
  - test/dummy/log/test.log
152
128
  - test/dummy/public/404.html
Binary file
Binary file