copy_tuner_client 0.1.1.beta7 → 0.1.1.beta8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "4.1.4"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,167 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ copy_tuner_client (0.0.14)
5
+ i18n (>= 0.5.0)
6
+ json
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actionmailer (4.1.4)
12
+ actionpack (= 4.1.4)
13
+ actionview (= 4.1.4)
14
+ mail (~> 2.5.4)
15
+ actionpack (4.1.4)
16
+ actionview (= 4.1.4)
17
+ activesupport (= 4.1.4)
18
+ rack (~> 1.5.2)
19
+ rack-test (~> 0.6.2)
20
+ actionview (4.1.4)
21
+ activesupport (= 4.1.4)
22
+ builder (~> 3.1)
23
+ erubis (~> 2.7.0)
24
+ activemodel (4.1.4)
25
+ activesupport (= 4.1.4)
26
+ builder (~> 3.1)
27
+ activerecord (4.1.4)
28
+ activemodel (= 4.1.4)
29
+ activesupport (= 4.1.4)
30
+ arel (~> 5.0.0)
31
+ activesupport (4.1.4)
32
+ i18n (~> 0.6, >= 0.6.9)
33
+ json (~> 1.7, >= 1.7.7)
34
+ minitest (~> 5.1)
35
+ thread_safe (~> 0.1)
36
+ tzinfo (~> 1.1)
37
+ addressable (2.3.6)
38
+ ansi (1.4.3)
39
+ appraisal (0.5.2)
40
+ bundler
41
+ rake
42
+ arel (5.0.1.20140414130214)
43
+ aruba (0.3.7)
44
+ childprocess (>= 0.1.9)
45
+ cucumber (>= 0.10.5)
46
+ rspec (>= 2.6.0)
47
+ bourne (1.5.0)
48
+ mocha (>= 0.13.2, < 0.15)
49
+ builder (3.2.2)
50
+ childprocess (0.5.3)
51
+ ffi (~> 1.0, >= 1.0.11)
52
+ crack (0.4.2)
53
+ safe_yaml (~> 1.0.0)
54
+ cucumber (0.10.7)
55
+ builder (>= 2.1.2)
56
+ diff-lcs (>= 1.1.2)
57
+ gherkin (~> 2.4.0)
58
+ json (>= 1.4.6)
59
+ term-ansicolor (>= 1.0.5)
60
+ daemons (1.1.9)
61
+ diff-lcs (1.2.5)
62
+ erubis (2.7.0)
63
+ eventmachine (1.0.3)
64
+ ffi (1.9.3)
65
+ gherkin (2.4.21)
66
+ json (>= 1.4.6)
67
+ hike (1.2.3)
68
+ i18n (0.6.9)
69
+ json (1.8.1)
70
+ mail (2.5.4)
71
+ mime-types (~> 1.16)
72
+ treetop (~> 1.4.8)
73
+ metaclass (0.0.4)
74
+ mime-types (1.25.1)
75
+ minitest (5.3.5)
76
+ mocha (0.14.0)
77
+ metaclass (~> 0.0.1)
78
+ multi_json (1.10.1)
79
+ polyglot (0.3.5)
80
+ rack (1.5.2)
81
+ rack-protection (1.5.3)
82
+ rack
83
+ rack-test (0.6.2)
84
+ rack (>= 1.0)
85
+ rails (4.1.4)
86
+ actionmailer (= 4.1.4)
87
+ actionpack (= 4.1.4)
88
+ actionview (= 4.1.4)
89
+ activemodel (= 4.1.4)
90
+ activerecord (= 4.1.4)
91
+ activesupport (= 4.1.4)
92
+ bundler (>= 1.3.0, < 2.0)
93
+ railties (= 4.1.4)
94
+ sprockets-rails (~> 2.0)
95
+ railties (4.1.4)
96
+ actionpack (= 4.1.4)
97
+ activesupport (= 4.1.4)
98
+ rake (>= 0.8.7)
99
+ thor (>= 0.18.1, < 2.0)
100
+ rake (10.3.2)
101
+ rspec (2.99.0)
102
+ rspec-core (~> 2.99.0)
103
+ rspec-expectations (~> 2.99.0)
104
+ rspec-mocks (~> 2.99.0)
105
+ rspec-core (2.99.1)
106
+ rspec-expectations (2.99.1)
107
+ diff-lcs (>= 1.1.3, < 2.0)
108
+ rspec-mocks (2.99.1)
109
+ safe_yaml (1.0.3)
110
+ sham_rack (1.3.6)
111
+ rack
112
+ sinatra (1.4.5)
113
+ rack (~> 1.4)
114
+ rack-protection (~> 1.4)
115
+ tilt (~> 1.3, >= 1.3.4)
116
+ sprockets (2.12.1)
117
+ hike (~> 1.2)
118
+ multi_json (~> 1.0)
119
+ rack (~> 1.0)
120
+ tilt (~> 1.1, != 1.3.0)
121
+ sprockets-rails (2.1.3)
122
+ actionpack (>= 3.0)
123
+ activesupport (>= 3.0)
124
+ sprockets (~> 2.8)
125
+ sqlite3 (1.3.9)
126
+ term-ansicolor (1.3.0)
127
+ tins (~> 1.0)
128
+ thin (1.6.2)
129
+ daemons (>= 1.0.9)
130
+ eventmachine (>= 1.0.0)
131
+ rack (>= 1.0.0)
132
+ thor (0.19.1)
133
+ thread_safe (0.3.4)
134
+ tilt (1.4.1)
135
+ tins (1.3.0)
136
+ treetop (1.4.15)
137
+ polyglot
138
+ polyglot (>= 0.3.1)
139
+ turn (0.9.6)
140
+ ansi
141
+ tzinfo (1.2.1)
142
+ thread_safe (~> 0.1)
143
+ webmock (1.18.0)
144
+ addressable (>= 2.3.6)
145
+ crack (>= 0.3.2)
146
+ yard (0.8.7.4)
147
+
148
+ PLATFORMS
149
+ ruby
150
+
151
+ DEPENDENCIES
152
+ appraisal (~> 0.4)
153
+ aruba (~> 0.3.2)
154
+ bourne
155
+ copy_tuner_client!
156
+ cucumber (~> 0.10.0)
157
+ i18n
158
+ rails (= 4.1.4)
159
+ rake
160
+ rspec (~> 2.3)
161
+ sham_rack
162
+ sinatra
163
+ sqlite3
164
+ thin
165
+ turn
166
+ webmock
167
+ yard
@@ -10,15 +10,15 @@ module CopyTunerClient
10
10
  # </div>
11
11
  #
12
12
  # Becomes:
13
- # <!-- XRAY START 123 /path/to/file.html -->
13
+ # <!-- COPYRAY START 123 /path/to/file.html -->
14
14
  # <div class=".my-element">
15
15
  # ...
16
16
  # </div>
17
- # <!-- XRAY END 123 -->
17
+ # <!-- COPYRAY END 123 -->
18
18
  def self.augment_template(source, key)
19
19
  id = next_id
20
20
  # skim doesn't allow html comments, so use skim's comment syntax if it's skim
21
- augmented = "<!--XRAY START #{id} #{key} #{CopyTunerClient.configuration.project_url} -->\n<span>#{source}</span>\n<!--XRAY END #{id}-->"
21
+ augmented = "<!--COPYRAY START #{id} #{key} #{CopyTunerClient.configuration.project_url} -->\n<span>#{source}</span>\n<!--COPYRAY END #{id}-->"
22
22
  ActiveSupport::SafeBuffer === source ? ActiveSupport::SafeBuffer.new(augmented) : augmented
23
23
  end
24
24
 
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.1.1.beta7'
3
+ VERSION = '0.1.1.beta8'
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
@@ -38,11 +38,11 @@ describe CopyTunerClient::RequestSync, 'serving assets' do
38
38
 
39
39
  it "does not flush defaults" do
40
40
  subject.call(env)
41
- cache.should_not have_received(:flush)
41
+ cache.should have_received(:flush).never
42
42
  end
43
43
  it "does not download new copy" do
44
44
  subject.call(env)
45
- cache.should_not have_received(:download)
45
+ cache.should have_received(:download).never
46
46
  end
47
47
  end
48
48
 
@@ -57,11 +57,11 @@ describe CopyTunerClient::RequestSync do
57
57
  subject { CopyTunerClient::RequestSync.new(app, :cache => cache, :interval => 10, :last_synced => Time.now) }
58
58
  it "does not flush defaults" do
59
59
  subject.call(env)
60
- cache.should_not have_received(:flush)
60
+ cache.should have_received(:flush).never
61
61
  end
62
62
  it "does not download new copy" do
63
63
  subject.call(env)
64
- cache.should_not have_received(:download)
64
+ cache.should have_received(:download).never
65
65
  end
66
66
  end
67
67
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.beta7
4
+ version: 0.1.1.beta8
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-05 00:00:00.000000000 Z
12
+ date: 2014-07-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -306,12 +306,13 @@ files:
306
306
  - features/step_definitions/rails_steps.rb
307
307
  - features/support/env.rb
308
308
  - features/support/rails_server.rb
309
- - gemfiles/2.3.gemfile
310
309
  - gemfiles/2.3.gemfile.lock
311
- - gemfiles/3.0.gemfile
312
- - gemfiles/3.0.gemfile.lock
313
- - gemfiles/3.1.gemfile
314
- - gemfiles/3.1.gemfile.lock
310
+ - gemfiles/3.2.gemfile
311
+ - gemfiles/3.2.gemfile.lock
312
+ - gemfiles/4.0.gemfile
313
+ - gemfiles/4.0.gemfile.lock
314
+ - gemfiles/4.1.gemfile
315
+ - gemfiles/4.1.gemfile.lock
315
316
  - init.rb
316
317
  - lib/copy_tuner_client.rb
317
318
  - lib/copy_tuner_client/cache.rb
@@ -368,7 +369,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
368
369
  version: '0'
369
370
  segments:
370
371
  - 0
371
- hash: -1059796236893078728
372
+ hash: -558695419483214411
372
373
  required_rubygems_version: !ruby/object:Gem::Requirement
373
374
  none: false
374
375
  requirements:
@@ -1,153 +0,0 @@
1
- PATH
2
- remote: /Users/mat_aki/gem/copy-tuner-ruby-client
3
- specs:
4
- copy_tuner_client (0.0.13)
5
- i18n (>= 0.5.0)
6
- json
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- abstract (1.0.0)
12
- actionmailer (3.0.20)
13
- actionpack (= 3.0.20)
14
- mail (~> 2.2.19)
15
- actionpack (3.0.20)
16
- activemodel (= 3.0.20)
17
- activesupport (= 3.0.20)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.5.0)
21
- rack (~> 1.2.5)
22
- rack-mount (~> 0.6.14)
23
- rack-test (~> 0.5.7)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.20)
26
- activesupport (= 3.0.20)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.5.0)
29
- activerecord (3.0.20)
30
- activemodel (= 3.0.20)
31
- activesupport (= 3.0.20)
32
- arel (~> 2.0.10)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.20)
35
- activemodel (= 3.0.20)
36
- activesupport (= 3.0.20)
37
- activesupport (3.0.20)
38
- addressable (2.3.2)
39
- ansi (1.4.3)
40
- appraisal (0.5.1)
41
- bundler
42
- rake
43
- arel (2.0.10)
44
- aruba (0.3.7)
45
- childprocess (>= 0.1.9)
46
- cucumber (>= 0.10.5)
47
- rspec (>= 2.6.0)
48
- bourne (1.3.0)
49
- mocha (= 0.13.0)
50
- builder (2.1.2)
51
- childprocess (0.3.7)
52
- ffi (~> 1.0, >= 1.0.6)
53
- crack (0.3.2)
54
- cucumber (0.10.7)
55
- builder (>= 2.1.2)
56
- diff-lcs (>= 1.1.2)
57
- gherkin (~> 2.4.0)
58
- json (>= 1.4.6)
59
- term-ansicolor (>= 1.0.5)
60
- daemons (1.1.9)
61
- diff-lcs (1.1.3)
62
- erubis (2.6.6)
63
- abstract (>= 1.0.0)
64
- eventmachine (1.0.0)
65
- ffi (1.3.1)
66
- gherkin (2.4.21)
67
- json (>= 1.4.6)
68
- i18n (0.5.0)
69
- json (1.7.6)
70
- mail (2.2.19)
71
- activesupport (>= 2.3.6)
72
- i18n (>= 0.4.0)
73
- mime-types (~> 1.16)
74
- treetop (~> 1.4.8)
75
- metaclass (0.0.1)
76
- mime-types (1.20.1)
77
- mocha (0.13.0)
78
- metaclass (~> 0.0.1)
79
- polyglot (0.3.3)
80
- rack (1.2.7)
81
- rack-mount (0.6.14)
82
- rack (>= 1.0.0)
83
- rack-test (0.5.7)
84
- rack (>= 1.0)
85
- rails (3.0.20)
86
- actionmailer (= 3.0.20)
87
- actionpack (= 3.0.20)
88
- activerecord (= 3.0.20)
89
- activeresource (= 3.0.20)
90
- activesupport (= 3.0.20)
91
- bundler (~> 1.0)
92
- railties (= 3.0.20)
93
- railties (3.0.20)
94
- actionpack (= 3.0.20)
95
- activesupport (= 3.0.20)
96
- rake (>= 0.8.7)
97
- rdoc (~> 3.4)
98
- thor (~> 0.14.4)
99
- rake (10.0.3)
100
- rdoc (3.12)
101
- json (~> 1.4)
102
- rspec (2.12.0)
103
- rspec-core (~> 2.12.0)
104
- rspec-expectations (~> 2.12.0)
105
- rspec-mocks (~> 2.12.0)
106
- rspec-core (2.12.2)
107
- rspec-expectations (2.12.1)
108
- diff-lcs (~> 1.1.3)
109
- rspec-mocks (2.12.2)
110
- sham_rack (1.3.4)
111
- rack
112
- sinatra (1.2.8)
113
- rack (~> 1.1)
114
- tilt (>= 1.2.2, < 2.0)
115
- sqlite3 (1.3.7)
116
- term-ansicolor (1.0.7)
117
- thin (1.5.0)
118
- daemons (>= 1.0.9)
119
- eventmachine (>= 0.12.6)
120
- rack (>= 1.0.0)
121
- thor (0.14.6)
122
- tilt (1.3.3)
123
- treetop (1.4.12)
124
- polyglot
125
- polyglot (>= 0.3.1)
126
- turn (0.9.6)
127
- ansi
128
- tzinfo (0.3.35)
129
- webmock (1.9.0)
130
- addressable (>= 2.2.7)
131
- crack (>= 0.1.7)
132
- yard (0.8.4.1)
133
-
134
- PLATFORMS
135
- ruby
136
-
137
- DEPENDENCIES
138
- appraisal (~> 0.4)
139
- aruba (~> 0.3.2)
140
- bourne
141
- copy_tuner_client!
142
- cucumber (~> 0.10.0)
143
- i18n
144
- rails (= 3.0.20)
145
- rake
146
- rspec (~> 2.3)
147
- sham_rack
148
- sinatra
149
- sqlite3
150
- thin
151
- turn
152
- webmock
153
- yard
data/gemfiles/3.1.gemfile DELETED
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "3.1.10"
6
- gem "jquery-rails"
7
- gem "uglifier"
8
- gem "sass-rails"
9
- gem "coffee-rails"
10
-
11
- gemspec :path=>"../"
@@ -1,191 +0,0 @@
1
- PATH
2
- remote: /Users/mat_aki/gem/copy-tuner-ruby-client
3
- specs:
4
- copy_tuner_client (0.0.13)
5
- i18n (>= 0.5.0)
6
- json
7
-
8
- GEM
9
- remote: http://rubygems.org/
10
- specs:
11
- actionmailer (3.1.10)
12
- actionpack (= 3.1.10)
13
- mail (~> 2.3.3)
14
- actionpack (3.1.10)
15
- activemodel (= 3.1.10)
16
- activesupport (= 3.1.10)
17
- builder (~> 3.0.0)
18
- erubis (~> 2.7.0)
19
- i18n (~> 0.6)
20
- rack (~> 1.3.6)
21
- rack-cache (~> 1.2)
22
- rack-mount (~> 0.8.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.0.4)
25
- activemodel (3.1.10)
26
- activesupport (= 3.1.10)
27
- builder (~> 3.0.0)
28
- i18n (~> 0.6)
29
- activerecord (3.1.10)
30
- activemodel (= 3.1.10)
31
- activesupport (= 3.1.10)
32
- arel (~> 2.2.3)
33
- tzinfo (~> 0.3.29)
34
- activeresource (3.1.10)
35
- activemodel (= 3.1.10)
36
- activesupport (= 3.1.10)
37
- activesupport (3.1.10)
38
- multi_json (>= 1.0, < 1.3)
39
- addressable (2.3.2)
40
- ansi (1.4.3)
41
- appraisal (0.5.1)
42
- bundler
43
- rake
44
- arel (2.2.3)
45
- aruba (0.3.7)
46
- childprocess (>= 0.1.9)
47
- cucumber (>= 0.10.5)
48
- rspec (>= 2.6.0)
49
- bourne (1.3.0)
50
- mocha (= 0.13.0)
51
- builder (3.0.4)
52
- childprocess (0.3.7)
53
- ffi (~> 1.0, >= 1.0.6)
54
- coffee-rails (3.1.1)
55
- coffee-script (>= 2.2.0)
56
- railties (~> 3.1.0)
57
- coffee-script (2.2.0)
58
- coffee-script-source
59
- execjs
60
- coffee-script-source (1.4.0)
61
- crack (0.3.2)
62
- cucumber (0.10.7)
63
- builder (>= 2.1.2)
64
- diff-lcs (>= 1.1.2)
65
- gherkin (~> 2.4.0)
66
- json (>= 1.4.6)
67
- term-ansicolor (>= 1.0.5)
68
- daemons (1.1.9)
69
- diff-lcs (1.1.3)
70
- erubis (2.7.0)
71
- eventmachine (1.0.0)
72
- execjs (1.4.0)
73
- multi_json (~> 1.0)
74
- ffi (1.3.1)
75
- gherkin (2.4.21)
76
- json (>= 1.4.6)
77
- hike (1.2.1)
78
- i18n (0.6.1)
79
- jquery-rails (2.2.0)
80
- railties (>= 3.0, < 5.0)
81
- thor (>= 0.14, < 2.0)
82
- json (1.7.6)
83
- mail (2.3.3)
84
- i18n (>= 0.4.0)
85
- mime-types (~> 1.16)
86
- treetop (~> 1.4.8)
87
- metaclass (0.0.1)
88
- mime-types (1.20.1)
89
- mocha (0.13.0)
90
- metaclass (~> 0.0.1)
91
- multi_json (1.2.0)
92
- polyglot (0.3.3)
93
- rack (1.3.9)
94
- rack-cache (1.2)
95
- rack (>= 0.4)
96
- rack-mount (0.8.3)
97
- rack (>= 1.0.0)
98
- rack-protection (1.3.2)
99
- rack
100
- rack-ssl (1.3.3)
101
- rack
102
- rack-test (0.6.2)
103
- rack (>= 1.0)
104
- rails (3.1.10)
105
- actionmailer (= 3.1.10)
106
- actionpack (= 3.1.10)
107
- activerecord (= 3.1.10)
108
- activeresource (= 3.1.10)
109
- activesupport (= 3.1.10)
110
- bundler (~> 1.0)
111
- railties (= 3.1.10)
112
- railties (3.1.10)
113
- actionpack (= 3.1.10)
114
- activesupport (= 3.1.10)
115
- rack-ssl (~> 1.3.2)
116
- rake (>= 0.8.7)
117
- rdoc (~> 3.4)
118
- thor (~> 0.14.6)
119
- rake (10.0.3)
120
- rdoc (3.12)
121
- json (~> 1.4)
122
- rspec (2.12.0)
123
- rspec-core (~> 2.12.0)
124
- rspec-expectations (~> 2.12.0)
125
- rspec-mocks (~> 2.12.0)
126
- rspec-core (2.12.2)
127
- rspec-expectations (2.12.1)
128
- diff-lcs (~> 1.1.3)
129
- rspec-mocks (2.12.2)
130
- sass (3.2.5)
131
- sass-rails (3.1.7)
132
- actionpack (~> 3.1.0)
133
- railties (~> 3.1.0)
134
- sass (>= 3.1.10)
135
- tilt (~> 1.3.2)
136
- sham_rack (1.3.4)
137
- rack
138
- sinatra (1.3.3)
139
- rack (~> 1.3, >= 1.3.6)
140
- rack-protection (~> 1.2)
141
- tilt (~> 1.3, >= 1.3.3)
142
- sprockets (2.0.4)
143
- hike (~> 1.2)
144
- rack (~> 1.0)
145
- tilt (~> 1.1, != 1.3.0)
146
- sqlite3 (1.3.7)
147
- term-ansicolor (1.0.7)
148
- thin (1.5.0)
149
- daemons (>= 1.0.9)
150
- eventmachine (>= 0.12.6)
151
- rack (>= 1.0.0)
152
- thor (0.14.6)
153
- tilt (1.3.3)
154
- treetop (1.4.12)
155
- polyglot
156
- polyglot (>= 0.3.1)
157
- turn (0.9.6)
158
- ansi
159
- tzinfo (0.3.35)
160
- uglifier (1.3.0)
161
- execjs (>= 0.3.0)
162
- multi_json (~> 1.0, >= 1.0.2)
163
- webmock (1.9.0)
164
- addressable (>= 2.2.7)
165
- crack (>= 0.1.7)
166
- yard (0.8.4.1)
167
-
168
- PLATFORMS
169
- ruby
170
-
171
- DEPENDENCIES
172
- appraisal (~> 0.4)
173
- aruba (~> 0.3.2)
174
- bourne
175
- coffee-rails
176
- copy_tuner_client!
177
- cucumber (~> 0.10.0)
178
- i18n
179
- jquery-rails
180
- rails (= 3.1.10)
181
- rake
182
- rspec (~> 2.3)
183
- sass-rails
184
- sham_rack
185
- sinatra
186
- sqlite3
187
- thin
188
- turn
189
- uglifier
190
- webmock
191
- yard