bootstrap-wysihtml5-rails 0.3.1.23 → 0.3.1.24

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a630de9ab06c30ad1e99a6463d98be54e8fa080e
4
- data.tar.gz: 4e12246cec1e36f44dcf5591452bb4c6656ec388
3
+ metadata.gz: 5eaf6d32fdb755853366210f0368766b5182a1ff
4
+ data.tar.gz: 68b40177d9b6f9ef12c84b69e69a9c21ba7f521f
5
5
  SHA512:
6
- metadata.gz: 86bfcb021af75d8c112e4d870105485c061ffc869b8e352f101f4890eb408aae840eb8fbede9652b460f69c4b3929b90e15b0dec8a98735a7acf23468034128c
7
- data.tar.gz: 293e8886add2d7479a9b3bc11a3e88d001c06d1f3a08ba56369fd1144c75d117b06ec7a9ac022f073f15d27e037771b6c0a600d5820aaba8894da0ea6f30a94c
6
+ metadata.gz: a4507aa2d8cc3d58a7b61f6fcb6171a15bc3bf6b3c86797f476c427387275ae72282df3f9124c921c1d91bbf042b02c870133c7545c890ea47380e1ce338add4
7
+ data.tar.gz: 23d4b1211617692029aaf4c1aa0062560b21221aa81fe4eeaa4ad58d26510bd64f0def91918bdb4d0c14ce986f6815a8171028fb59292e55033a99a4bef25a3b
data/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_JOBS: 8
data/Rakefile CHANGED
@@ -42,9 +42,9 @@ task 'update' do
42
42
  system("cd bootstrap-wysihtml5 && git pull && cd ..")
43
43
  else
44
44
  system("git clone git://github.com/jhollingworth/bootstrap-wysihtml5.git bootstrap-wysihtml5")
45
- system("cd bootstrap-wysihtml5 && git remote add b3 git@github.com:artillery/bootstrap-wysihtml5.git")
46
- system("cd bootstrap-wysihtml5 && git fetch b3")
47
- system("cd bootstrap-wysihtml5 && git checkout -b tb3 b3/master")
45
+ # system("cd bootstrap-wysihtml5 && git remote add b3 git@github.com:artillery/bootstrap-wysihtml5.git")
46
+ # system("cd bootstrap-wysihtml5 && git fetch b3")
47
+ # system("cd bootstrap-wysihtml5 && git checkout -b tb3 b3/master")
48
48
  end
49
49
 
50
50
  Dir.foreach("bootstrap-wysihtml5/src/locales") do |file|
@@ -58,7 +58,14 @@ task 'update' do
58
58
  system("cp #{ORIGIN_LIB_PATH}/css/wysiwyg-color.css #{DEST_CSS_PATH}/wysiwyg-color.css")
59
59
 
60
60
  b2
61
- b3
61
+ # b3
62
+
63
+ # ["#{DEST_JAVASCRIPT_PATH}/core.js.erb", "#{DEST_JAVASCRIPT_PATH}/core-b3.js.erb"].each do |file|
64
+ ["#{DEST_JAVASCRIPT_PATH}/core.js.erb"].each do |file|
65
+ initial = File.read(file)
66
+ initial = "//= depend_on_asset \"bootstrap-wysihtml5/wysiwyg-color.css\"\n\n" + initial
67
+ File.write(file, initial)
68
+ end
62
69
 
63
70
  system("git status")
64
71
  end
@@ -1,5 +1,5 @@
1
1
  module BootstrapWysihtml5Rails
2
2
  module Rails
3
- VERSION = "0.3.1.23"
3
+ VERSION = "0.3.1.24"
4
4
  end
5
5
  end
@@ -1,3 +1,5 @@
1
+ //= depend_on_asset "bootstrap-wysihtml5/wysiwyg-color.css"
2
+
1
3
  !function($, wysi) {
2
4
  "use strict";
3
5
 
@@ -1,3 +1,5 @@
1
+ //= depend_on_asset "bootstrap-wysihtml5/wysiwyg-color.css"
2
+
1
3
  !function($, wysi) {
2
4
  "use strict";
3
5
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-wysihtml5-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.23
4
+ version: 0.3.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Rodríguez-Baltanás Díaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-02 00:00:00.000000000 Z
11
+ date: 2014-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: A wysiwyg text editor for Twitter Bootstrap
@@ -59,8 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .rvmrc
62
+ - ".bundle/config"
63
+ - ".gitignore"
64
64
  - CONTRIBUTING.md
65
65
  - Gemfile
66
66
  - README.md
@@ -119,17 +119,17 @@ require_paths:
119
119
  - lib
120
120
  required_ruby_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - '>='
127
+ - - ">="
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.0.6
132
+ rubygems_version: 2.2.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: A wysiwyg text editor for Twitter Bootstrap
data/.rvmrc DELETED
@@ -1,60 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 2.0.0" > .rvmrc
9
- environment_id="ruby-2.0.0-p195@wysihtml5"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.20.13 (master)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- for __hook in "${rvm_path:-$HOME/.rvm}/hooks/after_use"*
27
- do
28
- if [[ -f "${__hook}" && -x "${__hook}" && -s "${__hook}" ]]
29
- then \. "${__hook}" || true
30
- fi
31
- done
32
- unset __hook
33
- if (( ${rvm_use_flag:=1} >= 2 )) # display only when forced
34
- then
35
- if [[ $- == *i* ]] # check for interactive shells
36
- then printf "%b" "Using: \E[32m$GEM_HOME\E[0m" # show the user the ruby and gemset they are using in green
37
- else printf "%b" "Using: $GEM_HOME" # don't use colors in non-interactive shells
38
- fi
39
- fi
40
- else
41
- # If the environment file has not yet been created, use the RVM CLI to select.
42
- rvm --create "$environment_id" || {
43
- echo "Failed to create RVM environment '${environment_id}'."
44
- return 1
45
- }
46
- fi
47
-
48
- # If you use bundler, this might be useful to you:
49
- # if [[ -s Gemfile ]] && {
50
- # ! builtin command -v bundle >/dev/null ||
51
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
52
- # }
53
- # then
54
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
55
- # gem install bundler
56
- # fi
57
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
58
- # then
59
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
60
- # fi