summernote-ext-addclass-rails 0.8.1 → 0.8.2

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: 189b9fee1be028fd86d8c9fada5c0ee438d6d6ba
4
- data.tar.gz: 42ace3dc1ff225d3d54af278c59cc558fa017bf3
3
+ metadata.gz: 7539bf48e70cbdd73c6080ded5c67bb711902676
4
+ data.tar.gz: 37ac87d020fbbecfe7789d57117fa5b2613620b8
5
5
  SHA512:
6
- metadata.gz: 123992c631e43d3141416bd2bc895e38afc5cd6b64f4f0a0509899109cbed830b26616426090e3367439acbdc1b0776d10d9d4cd87a970ef1f1f2fdfb71d0a47
7
- data.tar.gz: b2123e43c62d8e075afb3286e8f9be15b9bcbd8d693c9647daac0a0a6c04b7425696d432fc1dc9000450dab37a78ca3489ce30acf5c5b3aa8ab1695f9b7bc20b
6
+ metadata.gz: f2315fe7ba49c6704b1563d08fce823637c6af8bcf1eb1aac48a960f5e1a1f60f50a8f1d078096a89e10165d02e2b78b0d1c21ba5dfec4eebab435dba46dc157
7
+ data.tar.gz: 29546b054cce842c00024289a15cfbcc6f36448f4313ed39920b2d96f2c4a0c2dfefba9005b5d56ccf19c70640516443c937e5eae7d634442713f4a3a92a55f7
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at wakematta@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'summernote-ext-addclass-rails'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -5,7 +5,7 @@ autoload :SummernoteInput, 'summernote-ext-addclass-rails/simple_form/summernote
5
5
 
6
6
  module SummernoteExtAddclassRails
7
7
  module Rails
8
- if ::Rails.version.to_s < 3.1
8
+ if ::Rails::VERSION::MAJOR >= 3 && ::Rails::VERSION::MINOR >= 1 # Rails >= 3.1
9
9
  require 'summernote-ext-addclass-rails/railtie'
10
10
  else
11
11
  require 'summernote-ext-addclass-rails/engine'
@@ -1,5 +1,5 @@
1
1
  module SummernoteExtAddclassRails
2
2
  module Rails
3
- VERSION = '0.8.1'
3
+ VERSION = '0.8.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summernote-ext-addclass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Gargiulo
@@ -63,11 +63,14 @@ extra_rdoc_files: []
63
63
  files:
64
64
  - ".gitignore"
65
65
  - CHANGELOG.md
66
+ - CODE_OF_CONDUCT.md
66
67
  - Gemfile
67
68
  - LICENSE
68
69
  - MAINTAIN.md
69
70
  - README.md
70
71
  - Rakefile
72
+ - bin/console
73
+ - bin/setup
71
74
  - lib/summernote-ext-addclass-rails.rb
72
75
  - lib/summernote-ext-addclass-rails/engine.rb
73
76
  - lib/summernote-ext-addclass-rails/railtie.rb