wmd-rails 0.0.1 → 0.0.3

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,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .*.swp
19
+ .*.swo
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Rei http://chloerei.com
1
+ Copyright (c) 2011 Rei http://chloerei.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,28 +1,30 @@
1
- # WMD Editor for rails 3.1
1
+ # WMD Editor for rails
2
2
 
3
3
  Using assets pipeline, base on https://github.com/chloerei/wmd version, witch fork from https://github.com/ChiperSoft/wmd .
4
4
 
5
5
  ## History
6
6
 
7
- Original WMD and Showdwon code copyright (c) 2007 John Fraser
8
- Modifications and bugfixes (c) 2009-2010 Chris Jester-Young, Dana Robinson, Anand Chitipothu
7
+ Original WMD and Showdwon code copyright (c) 2007 John Fraser
8
+ Modifications and bugfixes (c) 2009-2010 Chris Jester-Young, Dana Robinson, Anand Chitipothu
9
9
  Further modifications (c) 2010-2011 Jarvis Badgley, Wenqiang Wang, Helder Ribeiro, Chad Burggraf
10
10
 
11
11
  ## Dependency
12
12
 
13
- Rails 3.1.1.rc1
13
+ Rails 3.1.1
14
14
 
15
15
  ## Install
16
16
 
17
17
  In you Gemfile
18
18
 
19
19
  ```ruby
20
- gem 'wmd-rails', :git => 'git@github.com:chloerei/wmd-rails.git'
20
+ gem 'wmd-rails'
21
21
  ```
22
22
 
23
+ Then `bundle install`
24
+
23
25
  ## Usage
24
26
 
25
- In app/assets/javascripts/editor.js or other
27
+ In app/assets/javascripts/editor.js or other js
26
28
 
27
29
  ```javascript
28
30
  //= require wmd
@@ -39,7 +41,7 @@ $(function(){
39
41
 
40
42
  More wmd document: https://github.com/chloerei/wmd
41
43
 
42
- In app/assets/stylesheets/editor.css or other
44
+ In app/assets/stylesheets/editor.css or other css
43
45
 
44
46
  ```css
45
47
  /*
@@ -55,7 +57,7 @@ In config/application.rb
55
57
  config.assets.precompile += %w(wmd-buttons.png editor.js editor.css)
56
58
  ```
57
59
 
58
- rake assets:precompile
60
+ Then `rake assets:precompile`
59
61
 
60
62
  ## LICENSE
61
63
 
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -1,2 +1,2 @@
1
1
  require 'wmd/rails/engine'
2
- require 'wmd/rails/version'
2
+ require 'wmd/version'
@@ -1,5 +1,5 @@
1
1
  module WMD
2
2
  module Rails
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -0,0 +1,18 @@
1
+ require File.expand_path('../lib/wmd/version', __FILE__)
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = "wmd-rails"
5
+ gem.version = WMD::Rails::VERSION
6
+ gem.authors = ["Rei"]
7
+ gem.email = ["chloerei@gmail.com"]
8
+ gem.homepage = "https://github.com/chloerei/wmd-rails"
9
+ gem.summary = "WMDEditor for rails 3.1"
10
+ gem.description = "WMDEditor for rails 3.1"
11
+
12
+ gem.add_dependency "rails", "~> 3.1.1"
13
+
14
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
+ gem.files = `git ls-files`.split("\n")
16
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ gem.require_path = ["lib"]
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wmd-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,19 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-23 00:00:00.000000000Z
12
+ date: 2011-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &74330880 !ruby/object:Gem::Requirement
16
+ requirement: &73500630 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.1.rc1
21
+ version: 3.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *74330880
24
+ version_requirements: *73500630
25
25
  description: WMDEditor for rails 3.1
26
26
  email:
27
27
  - chloerei@gmail.com
@@ -29,21 +29,24 @@ executables: []
29
29
  extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
+ - .gitignore
33
+ - LICENSE.txt
34
+ - README.md
35
+ - Rakefile
32
36
  - lib/wmd-rails.rb
33
37
  - lib/wmd/rails/engine.rb
34
- - lib/wmd/rails/version.rb
38
+ - lib/wmd/version.rb
35
39
  - vendor/assets/images/wmd-buttons.png
36
- - vendor/assets/stylesheets/wmd.css.erb
37
- - vendor/assets/javascripts/wmd.js
38
40
  - vendor/assets/javascripts/showdown.js
39
- - README.md
40
- - LICENSE.txt
41
+ - vendor/assets/javascripts/wmd.js
42
+ - vendor/assets/stylesheets/wmd.css.erb
43
+ - wmd-rails.gemspec
41
44
  homepage: https://github.com/chloerei/wmd-rails
42
45
  licenses: []
43
46
  post_install_message:
44
47
  rdoc_options: []
45
48
  require_paths:
46
- - lib
49
+ - - lib
47
50
  required_ruby_version: !ruby/object:Gem::Requirement
48
51
  none: false
49
52
  requirements:
@@ -58,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
61
  version: '0'
59
62
  requirements: []
60
63
  rubyforge_project:
61
- rubygems_version: 1.7.2
64
+ rubygems_version: 1.8.10
62
65
  signing_key:
63
66
  specification_version: 3
64
67
  summary: WMDEditor for rails 3.1