very_dson 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edce7cf1e57a7b6a68c8dbd49de963adfe93ff6a
4
- data.tar.gz: ef268fb26ea1bf305a0dd0f7328fc6423b278d5f
3
+ metadata.gz: 48773ecbc586babaffce60877284a17f2fbf84f4
4
+ data.tar.gz: db7848de44cf6211f7c8749b61bc7dc0e6d240be
5
5
  SHA512:
6
- metadata.gz: 58ed0b17dd9b8345a740616e5a661040b4260cd53da76ca95e780119ae7648d1527d88dac5e778395d3f6a0478a6b9c06f61df2cae6909ae4dc1dc260a32b687
7
- data.tar.gz: 92293dbdd7672d59deb3cc16963314470b451b6189831211e73df893425edbdeb4eb1ba36851388b0eea22e218c2ca98f726653e2902761c9cc5ee19df4d1ab6
6
+ metadata.gz: fe20c8c92da8eefdaa4bb7b708150edeea5ab3f184d13c80ec01f64fdbae994156f52f70cf59bce1269f54869f0bdb319d7a3c8cfc1b09e8d1e9988b39268a71
7
+ data.tar.gz: 5be4693df4140f5ea8571bbf41228ef2a66e3225c9f83f64413009c7111040a3632022298dcd41fb2faee50520e36eeae7df745c0359b544d8de6be70fe70c95
@@ -2,7 +2,7 @@ module VeryDSON
2
2
  Mime::Type.register_alias "text/html", :dson
3
3
 
4
4
  ActionController::Renderers.add :dson do |dson, options|
5
- self.content_type ||= Mime::TEXT
5
+ self.content_type ||= Mime::DSON
6
6
  DSON.stringify(dson)
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module VeryDSON
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -4977,5 +4977,270 @@ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
4977
4977
   (0.1ms) begin transaction
4978
4978
  ----------------------------------------------------------
4979
4979
  VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
4980
+ ----------------------------------------------------------
4981
+  (0.0ms) rollback transaction
4982
+  (0.2ms) begin transaction
4983
+ ---------------------------------
4984
+ RenderDogeTest: test_renders_dson
4985
+ ---------------------------------
4986
+ Started GET "/doge.dson" for 127.0.0.1 at 2014-06-12 19:20:19 -0400
4987
+ Processing by DogeController#index as DSON
4988
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
4989
+  (0.1ms) rollback transaction
4990
+  (0.1ms) begin transaction
4991
+ ----------------------------------------------------------
4992
+ VeryDSON::DSONTest: test_test_pair_0_is_resolved_correctly
4993
+ ----------------------------------------------------------
4994
+  (0.0ms) rollback transaction
4995
+  (0.0ms) begin transaction
4996
+ ----------------------------------------------------------
4997
+ VeryDSON::DSONTest: test_test_pair_1_is_resolved_correctly
4998
+ ----------------------------------------------------------
4999
+  (0.0ms) rollback transaction
5000
+  (0.1ms) begin transaction
5001
+ ----------------------------------------------------------
5002
+ VeryDSON::DSONTest: test_test_pair_2_is_resolved_correctly
5003
+ ----------------------------------------------------------
5004
+  (0.0ms) rollback transaction
5005
+  (0.0ms) begin transaction
5006
+ ----------------------------------------------------------
5007
+ VeryDSON::DSONTest: test_test_pair_3_is_resolved_correctly
5008
+ ----------------------------------------------------------
5009
+  (0.0ms) rollback transaction
5010
+  (0.0ms) begin transaction
5011
+ ----------------------------------------------------------
5012
+ VeryDSON::DSONTest: test_test_pair_4_is_resolved_correctly
5013
+ ----------------------------------------------------------
5014
+  (0.0ms) rollback transaction
5015
+  (0.0ms) begin transaction
5016
+ ----------------------------------------------------------
5017
+ VeryDSON::DSONTest: test_test_pair_5_is_resolved_correctly
5018
+ ----------------------------------------------------------
5019
+  (0.0ms) rollback transaction
5020
+  (0.0ms) begin transaction
5021
+ ----------------------------------------------------------
5022
+ VeryDSON::DSONTest: test_test_pair_6_is_resolved_correctly
5023
+ ----------------------------------------------------------
5024
+  (0.1ms) rollback transaction
5025
+  (0.0ms) begin transaction
5026
+ ----------------------------------------------------------
5027
+ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
5028
+ ----------------------------------------------------------
5029
+  (0.0ms) rollback transaction
5030
+  (0.0ms) begin transaction
5031
+ ----------------------------------------------------------
5032
+ VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
5033
+ ----------------------------------------------------------
5034
+  (0.0ms) rollback transaction
5035
+  (0.2ms) begin transaction
5036
+ ---------------------------------
5037
+ RenderDogeTest: test_renders_dson
5038
+ ---------------------------------
5039
+ Started GET "/doge.dson" for 127.0.0.1 at 2014-06-12 20:27:08 -0400
5040
+ Processing by DogeController#index as DSON
5041
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5042
+  (0.1ms) rollback transaction
5043
+  (0.0ms) begin transaction
5044
+ ----------------------------------------------------------
5045
+ VeryDSON::DSONTest: test_test_pair_0_is_resolved_correctly
5046
+ ----------------------------------------------------------
5047
+  (0.0ms) rollback transaction
5048
+  (0.1ms) begin transaction
5049
+ ----------------------------------------------------------
5050
+ VeryDSON::DSONTest: test_test_pair_1_is_resolved_correctly
5051
+ ----------------------------------------------------------
5052
+  (0.0ms) rollback transaction
5053
+  (0.0ms) begin transaction
5054
+ ----------------------------------------------------------
5055
+ VeryDSON::DSONTest: test_test_pair_2_is_resolved_correctly
5056
+ ----------------------------------------------------------
5057
+  (0.0ms) rollback transaction
5058
+  (0.0ms) begin transaction
5059
+ ----------------------------------------------------------
5060
+ VeryDSON::DSONTest: test_test_pair_3_is_resolved_correctly
5061
+ ----------------------------------------------------------
5062
+  (0.0ms) rollback transaction
5063
+  (0.0ms) begin transaction
5064
+ ----------------------------------------------------------
5065
+ VeryDSON::DSONTest: test_test_pair_4_is_resolved_correctly
5066
+ ----------------------------------------------------------
5067
+  (0.0ms) rollback transaction
5068
+  (0.0ms) begin transaction
5069
+ ----------------------------------------------------------
5070
+ VeryDSON::DSONTest: test_test_pair_5_is_resolved_correctly
5071
+ ----------------------------------------------------------
5072
+  (0.0ms) rollback transaction
5073
+  (0.0ms) begin transaction
5074
+ ----------------------------------------------------------
5075
+ VeryDSON::DSONTest: test_test_pair_6_is_resolved_correctly
5076
+ ----------------------------------------------------------
5077
+  (0.0ms) rollback transaction
5078
+  (0.0ms) begin transaction
5079
+ ----------------------------------------------------------
5080
+ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
5081
+ ----------------------------------------------------------
5082
+  (0.0ms) rollback transaction
5083
+  (0.0ms) begin transaction
5084
+ ----------------------------------------------------------
5085
+ VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
5086
+ ----------------------------------------------------------
5087
+  (0.0ms) rollback transaction
5088
+  (0.2ms) begin transaction
5089
+ ---------------------------------
5090
+ RenderDogeTest: test_renders_dson
5091
+ ---------------------------------
5092
+ Started GET "/doge.dson" for 127.0.0.1 at 2014-06-12 20:38:20 -0400
5093
+ Processing by DogeController#index as DSON
5094
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5095
+  (0.1ms) rollback transaction
5096
+  (0.0ms) begin transaction
5097
+ ----------------------------------------------------------
5098
+ VeryDSON::DSONTest: test_test_pair_0_is_resolved_correctly
5099
+ ----------------------------------------------------------
5100
+  (0.0ms) rollback transaction
5101
+  (0.1ms) begin transaction
5102
+ ----------------------------------------------------------
5103
+ VeryDSON::DSONTest: test_test_pair_1_is_resolved_correctly
5104
+ ----------------------------------------------------------
5105
+  (0.0ms) rollback transaction
5106
+  (0.0ms) begin transaction
5107
+ ----------------------------------------------------------
5108
+ VeryDSON::DSONTest: test_test_pair_2_is_resolved_correctly
5109
+ ----------------------------------------------------------
5110
+  (0.0ms) rollback transaction
5111
+  (0.0ms) begin transaction
5112
+ ----------------------------------------------------------
5113
+ VeryDSON::DSONTest: test_test_pair_3_is_resolved_correctly
5114
+ ----------------------------------------------------------
5115
+  (0.0ms) rollback transaction
5116
+  (0.0ms) begin transaction
5117
+ ----------------------------------------------------------
5118
+ VeryDSON::DSONTest: test_test_pair_4_is_resolved_correctly
5119
+ ----------------------------------------------------------
5120
+  (0.0ms) rollback transaction
5121
+  (0.0ms) begin transaction
5122
+ ----------------------------------------------------------
5123
+ VeryDSON::DSONTest: test_test_pair_5_is_resolved_correctly
5124
+ ----------------------------------------------------------
5125
+  (0.0ms) rollback transaction
5126
+  (0.1ms) begin transaction
5127
+ ----------------------------------------------------------
5128
+ VeryDSON::DSONTest: test_test_pair_6_is_resolved_correctly
5129
+ ----------------------------------------------------------
5130
+  (0.0ms) rollback transaction
5131
+  (0.0ms) begin transaction
5132
+ ----------------------------------------------------------
5133
+ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
5134
+ ----------------------------------------------------------
5135
+  (0.0ms) rollback transaction
5136
+  (0.0ms) begin transaction
5137
+ ----------------------------------------------------------
5138
+ VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
5139
+ ----------------------------------------------------------
5140
+  (0.0ms) rollback transaction
5141
+  (0.2ms) begin transaction
5142
+ ---------------------------------
5143
+ RenderDogeTest: test_renders_dson
5144
+ ---------------------------------
5145
+ Started GET "/doge.dson" for 127.0.0.1 at 2014-06-12 20:38:26 -0400
5146
+ Processing by DogeController#index as DSON
5147
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5148
+  (0.1ms) rollback transaction
5149
+  (0.0ms) begin transaction
5150
+ ----------------------------------------------------------
5151
+ VeryDSON::DSONTest: test_test_pair_0_is_resolved_correctly
5152
+ ----------------------------------------------------------
5153
+  (0.0ms) rollback transaction
5154
+  (0.1ms) begin transaction
5155
+ ----------------------------------------------------------
5156
+ VeryDSON::DSONTest: test_test_pair_1_is_resolved_correctly
5157
+ ----------------------------------------------------------
5158
+  (0.0ms) rollback transaction
5159
+  (0.1ms) begin transaction
5160
+ ----------------------------------------------------------
5161
+ VeryDSON::DSONTest: test_test_pair_2_is_resolved_correctly
5162
+ ----------------------------------------------------------
5163
+  (0.0ms) rollback transaction
5164
+  (0.1ms) begin transaction
5165
+ ----------------------------------------------------------
5166
+ VeryDSON::DSONTest: test_test_pair_3_is_resolved_correctly
5167
+ ----------------------------------------------------------
5168
+  (0.0ms) rollback transaction
5169
+  (0.0ms) begin transaction
5170
+ ----------------------------------------------------------
5171
+ VeryDSON::DSONTest: test_test_pair_4_is_resolved_correctly
5172
+ ----------------------------------------------------------
5173
+  (0.0ms) rollback transaction
5174
+  (0.1ms) begin transaction
5175
+ ----------------------------------------------------------
5176
+ VeryDSON::DSONTest: test_test_pair_5_is_resolved_correctly
5177
+ ----------------------------------------------------------
5178
+  (0.0ms) rollback transaction
5179
+  (0.0ms) begin transaction
5180
+ ----------------------------------------------------------
5181
+ VeryDSON::DSONTest: test_test_pair_6_is_resolved_correctly
5182
+ ----------------------------------------------------------
5183
+  (0.0ms) rollback transaction
5184
+  (0.0ms) begin transaction
5185
+ ----------------------------------------------------------
5186
+ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
5187
+ ----------------------------------------------------------
5188
+  (0.0ms) rollback transaction
5189
+  (0.0ms) begin transaction
5190
+ ----------------------------------------------------------
5191
+ VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
5192
+ ----------------------------------------------------------
5193
+  (0.0ms) rollback transaction
5194
+  (0.2ms) begin transaction
5195
+ ---------------------------------
5196
+ RenderDogeTest: test_renders_dson
5197
+ ---------------------------------
5198
+ Started GET "/doge.dson" for 127.0.0.1 at 2014-06-12 20:59:35 -0400
5199
+ Processing by DogeController#index as DSON
5200
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5201
+  (0.1ms) rollback transaction
5202
+  (0.0ms) begin transaction
5203
+ ----------------------------------------------------------
5204
+ VeryDSON::DSONTest: test_test_pair_0_is_resolved_correctly
5205
+ ----------------------------------------------------------
5206
+  (0.0ms) rollback transaction
5207
+  (0.1ms) begin transaction
5208
+ ----------------------------------------------------------
5209
+ VeryDSON::DSONTest: test_test_pair_1_is_resolved_correctly
5210
+ ----------------------------------------------------------
5211
+  (0.0ms) rollback transaction
5212
+  (0.1ms) begin transaction
5213
+ ----------------------------------------------------------
5214
+ VeryDSON::DSONTest: test_test_pair_2_is_resolved_correctly
5215
+ ----------------------------------------------------------
5216
+  (0.0ms) rollback transaction
5217
+  (0.1ms) begin transaction
5218
+ ----------------------------------------------------------
5219
+ VeryDSON::DSONTest: test_test_pair_3_is_resolved_correctly
5220
+ ----------------------------------------------------------
5221
+  (0.0ms) rollback transaction
5222
+  (0.1ms) begin transaction
5223
+ ----------------------------------------------------------
5224
+ VeryDSON::DSONTest: test_test_pair_4_is_resolved_correctly
5225
+ ----------------------------------------------------------
5226
+  (0.0ms) rollback transaction
5227
+  (0.1ms) begin transaction
5228
+ ----------------------------------------------------------
5229
+ VeryDSON::DSONTest: test_test_pair_5_is_resolved_correctly
5230
+ ----------------------------------------------------------
5231
+  (0.0ms) rollback transaction
5232
+  (0.1ms) begin transaction
5233
+ ----------------------------------------------------------
5234
+ VeryDSON::DSONTest: test_test_pair_6_is_resolved_correctly
5235
+ ----------------------------------------------------------
5236
+  (0.0ms) rollback transaction
5237
+  (0.1ms) begin transaction
5238
+ ----------------------------------------------------------
5239
+ VeryDSON::DSONTest: test_test_pair_7_is_resolved_correctly
5240
+ ----------------------------------------------------------
5241
+  (0.0ms) rollback transaction
5242
+  (0.0ms) begin transaction
5243
+ ----------------------------------------------------------
5244
+ VeryDSON::DSONTest: test_test_pair_8_is_resolved_correctly
4980
5245
  ----------------------------------------------------------
4981
5246
   (0.0ms) rollback transaction
@@ -4,7 +4,7 @@ class RenderDogeTest < ActionDispatch::IntegrationTest
4
4
  test "renders dson" do
5
5
  get "doge.dson"
6
6
 
7
- output = response.body.gsub("also", "and")
7
+ output = response.body
8
8
 
9
9
  assert_match /such "foo" is so "bar" (and|also) "baz" (and|also) "fizzbuzz" many(\.|!|,|\?) "doge" is yes wow/,
10
10
  output
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: very_dson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Boland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-09 00:00:00.000000000 Z
11
+ date: 2014-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -129,7 +129,7 @@ rubyforge_project:
129
129
  rubygems_version: 2.1.11
130
130
  signing_key:
131
131
  specification_version: 4
132
- summary: very_dson-0.0.2
132
+ summary: very_dson-0.0.3
133
133
  test_files:
134
134
  - test/dson_test.rb
135
135
  - test/dummy/app/assets/javascripts/application.js