tinymce-rails-config-manager 0.0.7 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f54a3f875bdb1c7991faee3f4796f02871e66200
4
+ data.tar.gz: 87bb256701343fd634b2ee637f5941223a481650
5
+ SHA512:
6
+ metadata.gz: 88d505923838325f19383387033cff8ed6ae5176181f0df5515c432b6e74d53ba531d285df360ff8666674e1fefc461150e6835290950a9948e705e0067cd6ec
7
+ data.tar.gz: e3000b8de8303e5b582f903fa9f7b80a126df70e0480fee5da32e4820011ce6684f0dee3b7ce46465dcc7ab07c4471b1f3a84640c1600c0579b7b6bd0f29107f
data/Rakefile CHANGED
@@ -1,29 +1,11 @@
1
- #!/usr/bin/env rake
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
- end
7
- begin
8
- require 'rdoc/task'
9
- rescue LoadError
10
- require 'rdoc/rdoc'
11
- require 'rake/rdoctask'
12
- RDoc::Task = Rake::RDocTask
13
- end
14
-
15
- RDoc::Task.new(:rdoc) do |rdoc|
16
- rdoc.rdoc_dir = 'rdoc'
17
- rdoc.title = 'TinymceRailsConfigManager'
18
- rdoc.options << '--line-numbers'
19
- rdoc.rdoc_files.include('README.rdoc')
20
- rdoc.rdoc_files.include('lib/**/*.rb')
21
- end
22
-
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ require 'rspec/core/rake_task'
23
4
  require 'jasmine'
24
5
  load 'jasmine/tasks/jasmine.rake'
25
6
 
26
7
  Bundler::GemHelper.install_tasks
8
+ task :default => :jasmine
27
9
 
28
10
  namespace :jasmine do
29
11
  desc "Compile CoffeeScript files"
@@ -16,14 +16,14 @@ class TinyMCEConfigManager
16
16
  skin: "cirkuit",
17
17
  mode: "textareas",
18
18
  plugins: "table,fullscreen,lists,paste",
19
- relative_urls : false,
19
+ relative_urls : false,
20
20
  theme_advanced_buttons1 : "bold,italic,underline,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,|,formatselect,|,image,removeformat,code,fullscreen",
21
21
  theme_advanced_buttons2 : "tablecontrols,|,paste,pastetext,pasteword,|,anchor,link,unlink",
22
22
  theme_advanced_buttons3 : "",
23
23
  theme_advanced_toolbar_location: "top",
24
24
  theme_advanced_toolbar_align: "left",
25
25
  }
26
-
26
+
27
27
  @_instance: null
28
28
 
29
29
  @get: ->
@@ -88,7 +88,7 @@ class TinyMCEConfigManager
88
88
  add: (keyName, newValue) ->
89
89
  listManager = new TinyMCEListSettingManager(this)
90
90
  listManager.add(keyName, newValue)
91
-
91
+
92
92
  addAfter: (keyName, newValue, oldValue) ->
93
93
  listManager = new TinyMCEListSettingManager(this)
94
94
  listManager.addAfter(keyName, newValue, oldValue)
@@ -96,7 +96,7 @@ class TinyMCEConfigManager
96
96
  addBefore: (keyName, newValue, oldValue) ->
97
97
  listManager = new TinyMCEListSettingManager(this)
98
98
  listManager.addBefore(keyName, newValue, oldValue)
99
-
99
+
100
100
  set: (keyName, newValue) ->
101
101
  valueManager = new TinyMCEValueSettingManager(this)
102
102
  valueManager.set(keyName, newValue)
@@ -131,7 +131,7 @@ class TinyMCEConfigManager
131
131
  COMPLEX_OPTIONS = {
132
132
  buttons: ['theme_advanced_buttons1', 'theme_advanced_buttons2', 'theme_advanced_buttons3']
133
133
  }
134
-
134
+
135
135
  add:(keyName, newValue) ->
136
136
  for listKeyName, list of @_valuesList(keyName)
137
137
  if list
@@ -1,3 +1,3 @@
1
1
  module TinymceRailsConfigManager
2
- VERSION = "0.0.7"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce-rails-config-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - ITHouse (Latvia) and Arturs Meisters
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-09 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.8
19
+ version: '3.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
- version: 3.2.8
26
+ version: '3.2'
30
27
  description: Simple tinyMCE configuration manager that makes it easier to manage different
31
28
  configurations without changing templates
32
29
  email:
@@ -37,9 +34,9 @@ extra_rdoc_files: []
37
34
  files:
38
35
  - app/assets/javascripts/tinymce-rails-config-manager.js
39
36
  - app/assets/javascripts/tinymce-rails-config-manager/manager.js.coffee
40
- - lib/tinymce-rails-config-manager.rb
41
- - lib/tinymce-rails-config-manager/engine.rb
42
37
  - lib/tinymce-rails-config-manager/version.rb
38
+ - lib/tinymce-rails-config-manager/engine.rb
39
+ - lib/tinymce-rails-config-manager.rb
43
40
  - lib/tasks/jasmine.rake
44
41
  - lib/tasks/tinymce-rails-config-manager_tasks.rake
45
42
  - MIT-LICENSE
@@ -47,26 +44,25 @@ files:
47
44
  - README.md
48
45
  homepage: http://github.com/ithouse/tinymce-rails-config-manager
49
46
  licenses: []
47
+ metadata: {}
50
48
  post_install_message:
51
49
  rdoc_options: []
52
50
  require_paths:
53
51
  - lib
54
52
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
53
  requirements:
57
- - - ! '>='
54
+ - - '>='
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0'
60
57
  required_rubygems_version: !ruby/object:Gem::Requirement
61
- none: false
62
58
  requirements:
63
- - - ! '>='
59
+ - - '>='
64
60
  - !ruby/object:Gem::Version
65
61
  version: '0'
66
62
  requirements: []
67
63
  rubyforge_project:
68
- rubygems_version: 1.8.24
64
+ rubygems_version: 2.0.3
69
65
  signing_key:
70
- specification_version: 3
66
+ specification_version: 4
71
67
  summary: Simple tinyMCE configuration manager.
72
68
  test_files: []