tawork 0.0.9 → 0.0.10

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: d20bcb5f3caf86bf4454ac63953b9eae81ab8440
4
- data.tar.gz: 145edd2aa7872a0e3af18c559531608ea2d26180
3
+ metadata.gz: d0cbf3fdbc08ae9f414d4ad260fed7fe045ff68d
4
+ data.tar.gz: 43483a17aca3491d79818dd10a3215b9a5de9e9d
5
5
  SHA512:
6
- metadata.gz: 0d61ca1bafb6ec81663a7f51a1c5cc50e63de49d95d32a42121aa60500d276e13715f44e3a10682d5bf25f0fdebc156b35715aabf09182f9d9169f4ad8753f84
7
- data.tar.gz: 144f59ea3d405793093e83f77adaf74920fa72aeb80df0a1f61cab8431c46914f32aefc17a70b4c1cbcb05905fbf4879f5d2e08e27a83f1d8d36907d0f778bc6
6
+ metadata.gz: 7c76f9afbe69ba90410b02d7b52b7200228b55e77131f00efed288348e964b0109918bf92ec08320a48fbe454fe292bdcb3f39bcbe8bdd4ab325c628b2b88ed5
7
+ data.tar.gz: 33c50c59b610d41296fb4cf3a35b8313707c90981dc5ba27c80d18d3a8d0698ee7b756d55bab95de4f422e3911787276b0f56c149261113bd7d3d386f2cdaf9c
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rails-assets.org'
3
3
 
4
4
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
5
  # gem 'rails', '4.1.0.beta1'
6
- # gem 'rails', github: 'rails/rails'
6
+ gem 'rails', github: 'rails/rails'
7
7
 
8
8
  # Use mysql as the database for Active Record
9
9
  gem 'mysql2'
@@ -34,6 +34,7 @@ gem 'tinymce-rails', git: "git@github.com:spohlenz/tinymce-rails.git", branch: "
34
34
  gem 'plupload-rails'
35
35
  gem 'rails-timeago'
36
36
  gem "font-awesome-rails"
37
+ gem 'blockuijs-rails', :git => 'git://github.com/rusanu/blockuijs-rails.git'
37
38
 
38
39
  gem 'rails-assets-underscore'
39
40
  gem 'rails-assets-backbone'
@@ -74,9 +75,7 @@ group :development do
74
75
  gem 'rack-mini-profiler'
75
76
  gem 'foreman'
76
77
  gem "thin"
77
- gem "awesome_print"
78
- gem 'pry'
79
- gem 'pry-remote'
78
+ gem 'jazz_hands'
80
79
  end
81
80
 
82
81
 
data/Gemfile.lock CHANGED
@@ -1,3 +1,56 @@
1
+ GIT
2
+ remote: git://github.com/rails/rails.git
3
+ revision: 6ef0569b0bf6e13d63f6c51790745b2007b92973
4
+ specs:
5
+ actionmailer (4.1.0.beta1)
6
+ actionpack (= 4.1.0.beta1)
7
+ actionview (= 4.1.0.beta1)
8
+ mail (~> 2.5.4)
9
+ actionpack (4.1.0.beta1)
10
+ actionview (= 4.1.0.beta1)
11
+ activesupport (= 4.1.0.beta1)
12
+ rack (~> 1.5.2)
13
+ rack-test (~> 0.6.2)
14
+ actionview (4.1.0.beta1)
15
+ activesupport (= 4.1.0.beta1)
16
+ builder (~> 3.1)
17
+ erubis (~> 2.7.0)
18
+ activemodel (4.1.0.beta1)
19
+ activesupport (= 4.1.0.beta1)
20
+ builder (~> 3.1)
21
+ activerecord (4.1.0.beta1)
22
+ activemodel (= 4.1.0.beta1)
23
+ activesupport (= 4.1.0.beta1)
24
+ arel (~> 5.0.0)
25
+ activesupport (4.1.0.beta1)
26
+ i18n (~> 0.6, >= 0.6.9)
27
+ json (~> 1.7, >= 1.7.7)
28
+ minitest (~> 5.1)
29
+ thread_safe (~> 0.1)
30
+ tzinfo (~> 1.1)
31
+ rails (4.1.0.beta1)
32
+ actionmailer (= 4.1.0.beta1)
33
+ actionpack (= 4.1.0.beta1)
34
+ actionview (= 4.1.0.beta1)
35
+ activemodel (= 4.1.0.beta1)
36
+ activerecord (= 4.1.0.beta1)
37
+ activesupport (= 4.1.0.beta1)
38
+ bundler (>= 1.3.0, < 2.0)
39
+ railties (= 4.1.0.beta1)
40
+ sprockets-rails (~> 2.0.0)
41
+ railties (4.1.0.beta1)
42
+ actionpack (= 4.1.0.beta1)
43
+ activesupport (= 4.1.0.beta1)
44
+ rake (>= 0.8.7)
45
+ thor (>= 0.18.1, < 2.0)
46
+
47
+ GIT
48
+ remote: git://github.com/rusanu/blockuijs-rails.git
49
+ revision: 5deb1d36a861327dd54002d559fcd0e6197a3c83
50
+ specs:
51
+ blockuijs-rails (0.1.0)
52
+ rails (>= 3.1)
53
+
1
54
  GIT
2
55
  remote: git@github.com:spohlenz/tinymce-rails.git
3
56
  revision: b398df1b434d56e20d1c2ae65fa0715cb6bf16e5
@@ -19,36 +72,12 @@ GEM
19
72
  specs:
20
73
  RedCloth (4.2.9)
21
74
  aasm (3.0.23)
22
- actionmailer (4.0.2)
23
- actionpack (= 4.0.2)
24
- mail (~> 2.5.4)
25
- actionpack (4.0.2)
26
- activesupport (= 4.0.2)
27
- builder (~> 3.1.0)
28
- erubis (~> 2.7.0)
29
- rack (~> 1.5.2)
30
- rack-test (~> 0.6.2)
31
- activemodel (4.0.2)
32
- activesupport (= 4.0.2)
33
- builder (~> 3.1.0)
34
- activerecord (4.0.2)
35
- activemodel (= 4.0.2)
36
- activerecord-deprecated_finders (~> 1.0.2)
37
- activesupport (= 4.0.2)
38
- arel (~> 4.0.0)
39
- activerecord-deprecated_finders (1.0.3)
40
- activesupport (4.0.2)
41
- i18n (~> 0.6, >= 0.6.4)
42
- minitest (~> 4.2)
43
- multi_json (~> 1.3)
44
- thread_safe (~> 0.1)
45
- tzinfo (~> 0.3.37)
46
75
  ancestry (2.0.0)
47
76
  activerecord (>= 3.0.0)
48
77
  ansi (1.4.3)
49
- arel (4.0.1)
78
+ arel (5.0.0)
50
79
  atomic (1.1.14)
51
- awesome_print (1.1.0)
80
+ awesome_print (1.2.0)
52
81
  bcrypt-ruby (3.1.2)
53
82
  better_errors (0.3.2)
54
83
  coderay (>= 1.0.0)
@@ -57,7 +86,7 @@ GEM
57
86
  debug_inspector (>= 0.0.1)
58
87
  bootstrap-sass (3.0.3.0)
59
88
  sass (~> 3.2)
60
- builder (3.1.4)
89
+ builder (3.2.2)
61
90
  charlock_holmes (0.6.9.4)
62
91
  coderay (1.0.8)
63
92
  coffee-rails (4.0.1)
@@ -67,8 +96,16 @@ GEM
67
96
  coffee-script-source
68
97
  execjs
69
98
  coffee-script-source (1.6.3)
99
+ columnize (0.3.6)
100
+ coolline (0.4.3)
70
101
  daemons (1.1.9)
71
102
  debug_inspector (0.0.2)
103
+ debugger (1.6.5)
104
+ columnize (>= 0.3.1)
105
+ debugger-linecache (~> 1.2.0)
106
+ debugger-ruby_core_source (~> 1.3.1)
107
+ debugger-linecache (1.2.0)
108
+ debugger-ruby_core_source (1.3.1)
72
109
  devise (3.2.2)
73
110
  bcrypt-ruby (~> 3.0)
74
111
  orm_adapter (~> 0.1)
@@ -98,6 +135,10 @@ GEM
98
135
  pygments.rb (~> 0.5.2)
99
136
  sanitize (~> 2.0.6)
100
137
  stringex (~> 2.1.0)
138
+ grit (2.5.0)
139
+ diff-lcs (~> 1.1)
140
+ mime-types (~> 1.15)
141
+ posix-spawn (~> 0.3.6)
101
142
  haml (4.0.4)
102
143
  tilt
103
144
  haml-contrib (1.0.0.1)
@@ -110,7 +151,20 @@ GEM
110
151
  hashie (2.0.5)
111
152
  hashr (0.0.22)
112
153
  hike (1.2.3)
154
+ hirb (0.7.1)
113
155
  i18n (0.6.9)
156
+ jazz_hands (0.5.2)
157
+ awesome_print (~> 1.2)
158
+ coolline (>= 0.4.2)
159
+ hirb (~> 0.7.1)
160
+ pry (~> 0.9.12)
161
+ pry-debugger (~> 0.2.2)
162
+ pry-doc (~> 0.4.6)
163
+ pry-git (~> 0.2.3)
164
+ pry-rails (~> 0.3.2)
165
+ pry-remote (>= 0.1.7)
166
+ pry-stack_explorer (~> 0.4.9)
167
+ railties (>= 3.0, < 5.0)
114
168
  jbuilder (1.5.3)
115
169
  activesupport (>= 3.0.0)
116
170
  multi_json (>= 1.2.0)
@@ -128,7 +182,7 @@ GEM
128
182
  method_source (0.8.2)
129
183
  mime-types (1.25.1)
130
184
  mini_portile (0.5.2)
131
- minitest (4.7.5)
185
+ minitest (5.2.2)
132
186
  multi_json (1.8.4)
133
187
  mysql2 (0.3.14)
134
188
  nokogiri (1.6.1)
@@ -148,9 +202,24 @@ GEM
148
202
  coderay (~> 1.0)
149
203
  method_source (~> 0.8)
150
204
  slop (~> 3.4)
205
+ pry-debugger (0.2.2)
206
+ debugger (~> 1.3)
207
+ pry (~> 0.9.10)
208
+ pry-doc (0.4.6)
209
+ pry (>= 0.9)
210
+ yard (>= 0.8)
211
+ pry-git (0.2.3)
212
+ diffy
213
+ grit
214
+ pry (>= 0.9.8)
215
+ pry-rails (0.3.2)
216
+ pry (>= 0.9.10)
151
217
  pry-remote (0.1.7)
152
218
  pry (~> 0.9)
153
219
  slop (~> 3.0)
220
+ pry-stack_explorer (0.4.9.1)
221
+ binding_of_caller (>= 0.7)
222
+ pry (>= 0.9.11)
154
223
  public_activity (1.4.0)
155
224
  actionpack (>= 3.0.0)
156
225
  activerecord (>= 3.0)
@@ -167,14 +236,6 @@ GEM
167
236
  ruby-openid (>= 2.1.8)
168
237
  rack-test (0.6.2)
169
238
  rack (>= 1.0)
170
- rails (4.0.2)
171
- actionmailer (= 4.0.2)
172
- actionpack (= 4.0.2)
173
- activerecord (= 4.0.2)
174
- activesupport (= 4.0.2)
175
- bundler (>= 1.3.0, < 2.0)
176
- railties (= 4.0.2)
177
- sprockets-rails (~> 2.0.0)
178
239
  rails-assets-backbone (1.1.0)
179
240
  rails-assets-highlightjs (7.5.0)
180
241
  rails-assets-jquery (2.0.3)
@@ -186,11 +247,6 @@ GEM
186
247
  rails-timeago (2.8.0)
187
248
  actionpack (>= 3.1)
188
249
  activesupport (>= 3.1)
189
- railties (4.0.2)
190
- actionpack (= 4.0.2)
191
- activesupport (= 4.0.2)
192
- rake (>= 0.8.7)
193
- thor (>= 0.18.1, < 2.0)
194
250
  rake (10.1.1)
195
251
  rdoc (3.12.2)
196
252
  json (~> 1.4)
@@ -243,13 +299,15 @@ GEM
243
299
  polyglot (>= 0.3.1)
244
300
  turbolinks (2.0.0)
245
301
  coffee-rails
246
- tzinfo (0.3.38)
302
+ tzinfo (1.1.0)
303
+ thread_safe (~> 0.1)
247
304
  uglifier (2.3.2)
248
305
  execjs (>= 0.3.0)
249
306
  json (>= 1.8.0)
250
307
  warden (1.2.3)
251
308
  rack (>= 1.0)
252
309
  yajl-ruby (1.1.0)
310
+ yard (0.8.7.3)
253
311
 
254
312
  PLATFORMS
255
313
  ruby
@@ -259,9 +317,9 @@ DEPENDENCIES
259
317
  aasm
260
318
  acts_as_list!
261
319
  ancestry
262
- awesome_print
263
320
  better_errors
264
321
  binding_of_caller
322
+ blockuijs-rails!
265
323
  bootstrap-sass
266
324
  coffee-rails (~> 4.0.0)
267
325
  devise
@@ -272,6 +330,7 @@ DEPENDENCIES
272
330
  gollum-lib
273
331
  haml-contrib
274
332
  haml-rails
333
+ jazz_hands
275
334
  jbuilder (~> 1.2)
276
335
  jquery-rails
277
336
  kaminari
@@ -279,10 +338,9 @@ DEPENDENCIES
279
338
  mysql2
280
339
  omniauth-openid
281
340
  plupload-rails
282
- pry
283
- pry-remote
284
341
  public_activity
285
342
  rack-mini-profiler
343
+ rails!
286
344
  rails-assets-backbone
287
345
  rails-assets-highlightjs
288
346
  rails-assets-jquery-autosize
@@ -27,5 +27,6 @@
27
27
  //= require jquery-autosize
28
28
  //= require rails-timeago
29
29
  //= require underscore
30
+ //= require jquery.blockUI
30
31
  //= require backbone
31
32
  //= require backbone/tawork
@@ -46,7 +46,7 @@ class Wiki::PagesController < ApplicationController
46
46
  if (params[:timestamp].present? && @page.last_updated.present?) &&
47
47
  ((params[:timestamp].present? && !@page.last_updated.present?) ||
48
48
  @page.last_updated.try(:created_at) != Time.parse(params[:timestamp]))
49
- @page.errors.add(:base, "This page was edited by someone. Please refresh.")
49
+ @page.errors.add(:base, "This page was edited by someone. Please refresh to get the updated changes. Refreshing the page will remove the your changes.")
50
50
  end
51
51
 
52
52
  if @page.errors.none? && @page.update_attributes(update_params)
@@ -125,11 +125,14 @@
125
125
  title = tinyMCE.get("wiki-title").getContent()
126
126
  body = tinyMCE.get("wiki-content").getContent()
127
127
  markdown_body = $("#markdown_body").val()
128
+ $.blockUI(message: "")
128
129
 
129
130
  $.ajax
130
131
  type: $(this).data("type")
131
132
  url: $(this).data("url")
132
133
  success: ->
134
+ complete: ->
135
+ $.unblockUI()
133
136
 
134
137
  data:
135
138
  timestamp: $(".time").data("timestamp")
@@ -20,10 +20,7 @@ module Gollum
20
20
  def normalize(data)
21
21
  return data.read if data.respond_to?(:read)
22
22
 
23
- Rails.logger.info data
24
23
  result = data.try(:gsub, /\r/, '')
25
- Rails.logger.info "DATA"
26
- Rails.logger.info data
27
24
  result
28
25
  end
29
26
  end
@@ -1,3 +1,3 @@
1
1
  module Tawork
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tawork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adnan Ali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails