wagn 1.15.pre2 → 1.15.0

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: 0e730e4f0587f9ed9cb2be2f38a6acbe2c8a5a91
4
- data.tar.gz: 8f75540cb3364d479cf2b6807259485e2f61ffac
3
+ metadata.gz: 499a531b54f0709c0f6730c90a06a47e4062fac8
4
+ data.tar.gz: dfc08f74157aac74737a57ceaf60f5d2ba3aa9e0
5
5
  SHA512:
6
- metadata.gz: 515ddc6a266d52d36b53ce34f1ae94849906bc9527aa6d4a7a1751d806d18248ebd0a971246e0dbd51d860ed5b497ba6668548c1e953a4ae27331b9e945a9479
7
- data.tar.gz: ca3f8c78c99de445207b70b039a9365db55f76abc17e4f50d9c501b178fbb60c75daa2f5f7e3fc80a431e40d77fdbd2d7bbf0dfac5bddc78f1e5ed08e6b69347
6
+ metadata.gz: 7791cfc643b5e8075b40f290620ec31fac6f14f7959918a7c095d18167107ea4d1e1e696ce4208eff2b3d34fd828bf0f2c402fc84ddd6a1547d63c841d57e6d5
7
+ data.tar.gz: 8da97d9501b303842c210bcf34921d88bbef163b85870b8c4e6cef43e19dc62c14d90a770d894fa1b82404c0f1353d6aef343729ffe2877098551dc1cf5e61c6
@@ -47,7 +47,7 @@ module Decko
47
47
  end
48
48
  ActiveSupport.on_load(:after_initialize) do
49
49
  begin
50
- require_dependency 'card' unless defined?(Card)
50
+ require_dependency 'card' unless defined?(Card)
51
51
  rescue ActiveRecord::StatementInvalid => e
52
52
  ::Rails.logger.warn "database not available[#{::Rails.env}] #{e}"
53
53
  end
@@ -20,11 +20,11 @@ css_dir: <%= Cardio.gem_root %>/mod/03_machines/lib/stylesheets
20
20
  # list of file expressions to include as source files
21
21
  # relative path from src_dir
22
22
  src_files:
23
- - jquery.js
24
- - tinymce.js
23
+ - script_jquery.js
24
+ - script_tinymce.js
25
25
  - wagn_mod.js.coffee
26
26
  - wagn.js.coffee
27
- - wagn_menu.js
27
+ - script_card_menu.js
28
28
  # - jquerymobile.js
29
29
  - jquery-ui.js
30
30
  - jquery.ui.autocomplete.html.js
@@ -32,7 +32,7 @@ src_files:
32
32
  - jquery.fileupload.js
33
33
  - jquery.iframe-transport.js
34
34
  - jquery_ujs.js
35
- - ace.js
35
+ - script_ace.js
36
36
  #- "**/*.{js.coffee,js,coffee}"
37
37
 
38
38
  # list of file expressions to include as css files
@@ -334,8 +334,12 @@ namespace :wagn do
334
334
  FileUtils.remove_dir target_dir, force=true if Dir.exists? target_dir
335
335
  FileUtils.mkdir_p target_dir
336
336
 
337
+ # if card.name =~ /icon/
338
+ # require 'pry'; binding.pry
339
+ # end
337
340
  Dir.entries( source_dir ).each do |filename|
338
341
  next if filename =~ /^\./
342
+ next if filename !~ (Regexp.new card.last_content_action_id.to_s)
339
343
 
340
344
  target_filename = filename.gsub /\d+/, card.type_code.to_s
341
345
  FileUtils.cp "#{source_dir}/#{filename}", "#{target_dir}/#{target_filename}"
@@ -1,9 +1,11 @@
1
+ # -*- encoding : utf-8 -*-
2
+
1
3
  version = File.open(File.expand_path( '../../card/VERSION', __FILE__ )).read.chomp
2
4
 
3
5
  Gem::Specification.new do |s|
4
6
  s.name = 'wagn'
5
7
  s.version = version
6
- s.authors = ["Ethan McCutchen", "Lewis Hoffman", "Gerry Gleason"]
8
+ s.authors = ["Ethan McCutchen", "Lewis Hoffman", "Gerry Gleason", "Philipp Kühl"]
7
9
  s.email = ['info@wagn.org']
8
10
 
9
11
  # s.date = '2013-12-20'
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.pre2
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
8
8
  - Lewis Hoffman
9
9
  - Gerry Gleason
10
+ - Philipp Kühl
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2015-03-25 00:00:00.000000000 Z
14
+ date: 2015-03-28 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: rails
@@ -32,14 +33,14 @@ dependencies:
32
33
  requirements:
33
34
  - - '='
34
35
  - !ruby/object:Gem::Version
35
- version: 1.15.pre2
36
+ version: 1.15.0
36
37
  type: :runtime
37
38
  prerelease: false
38
39
  version_requirements: !ruby/object:Gem::Requirement
39
40
  requirements:
40
41
  - - '='
41
42
  - !ruby/object:Gem::Version
42
- version: 1.15.pre2
43
+ version: 1.15.0
43
44
  description: a wiki approach to stuctured data, dynamic interaction, and web design
44
45
  email:
45
46
  - info@wagn.org
@@ -741,9 +742,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
741
742
  version: 1.8.7
742
743
  required_rubygems_version: !ruby/object:Gem::Requirement
743
744
  requirements:
744
- - - ">"
745
+ - - ">="
745
746
  - !ruby/object:Gem::Version
746
- version: 1.3.1
747
+ version: '0'
747
748
  requirements: []
748
749
  rubyforge_project:
749
750
  rubygems_version: 2.4.3