logger-jquery-rails 1.2.005 → 1.2.006
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.rubocop.yml +9 -3
- data/.ruby-version +1 -1
- data/.travis.yml +2 -1
- data/CHANGELOG.md +13 -2
- data/CONTRIBUTING.md +18 -0
- data/Rakefile +24 -1
- data/lib/logger-jquery-rails/version.rb +5 -1
- data/logger-jquery-rails.gemspec +8 -8
- data/spec/spec_helper.rb +4 -0
- metadata +50 -49
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NzNkZjI0NmY5NGNlNzkxMDM2MjQ0NmU0OTFlNmQ5MWRhYTVlMzJjNQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3c31740fe737869c136e6a969913f5908e665e2d
|
4
|
+
data.tar.gz: 85a8b43a86bd03565f7428349bd5ff0d939d3223
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NjIxYjBjYmQ4YTBmNjg3ODI4ZjRmYzdjYzU2M2U1NDRhYTcyNzllMzEwMjFl
|
11
|
-
NmI3ZDZhOGJlMTM2ZTY0NzkxNWE1NjJjODEzNmVhNGQyZWI0MGM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTU4NGE1YzhlYjFlOWM4NDJkNmEwYjE1Yjc5MzBjYzllNWQ1MTQ4NjViZTMy
|
14
|
-
NDJmMTdhYmEzYmYzMzU2N2ZlYjE1NjBlOTQzY2I2MzE0ZThmYzA4N2QxNjkw
|
15
|
-
M2VhM2E1MDdhOWU2M2I0ZWFlNTc4Y2Y0ZmVkNzJhODYzMjk0OGU=
|
6
|
+
metadata.gz: 8cd295fbf3d0ebb3e1af18b7616831aafec8c442daee4663854d0be5064ddbca4c2c3698db085f4a0cb655d511fba7580fb219e5120a2216a0b965a85ca907a2
|
7
|
+
data.tar.gz: 444249fe17646b16bc87aef86d29a9cd70e1888f066c5504af736df6855d933b6bf025d3fd198c910e0ecad06174acb6f7e52fc7d641980b3da746e7beee8b4b
|
data/.rubocop.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# This is the configuration used to check the rubocop source code.
|
2
2
|
|
3
3
|
AllCops:
|
4
|
-
|
4
|
+
Include:
|
5
5
|
- !ruby/regexp /\.gemspec$/
|
6
6
|
- Gemfile
|
7
|
-
- Rakefile
|
8
|
-
|
7
|
+
- '**/Rakefile'
|
8
|
+
Exclude: []
|
9
9
|
|
10
10
|
Documentation:
|
11
11
|
Enabled: false
|
@@ -13,5 +13,11 @@ Documentation:
|
|
13
13
|
EmptyLines:
|
14
14
|
Enabled: false
|
15
15
|
|
16
|
+
FileName:
|
17
|
+
Enabled: false
|
18
|
+
|
16
19
|
HashSyntax:
|
17
20
|
EnforcedStyle: hash_rockets
|
21
|
+
|
22
|
+
Lint/UnusedBlockArgument:
|
23
|
+
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
2.1.2
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
1.2.006 / 2014-11-14
|
2
|
+
--------------------
|
3
|
+
|
4
|
+
- `NEW` - Add changelog rake task | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/71b4f75)
|
5
|
+
- `NEW` - Add CONTRIBUTING.md | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/368ebfd)
|
6
|
+
- `IMPROVE` - Configure rspec to use expect syntax | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/023f087)
|
7
|
+
- `IMPROVE` - Update development gems | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/468934b)
|
8
|
+
- `IMPROVE` - Update rubocop gem | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/4540e47)
|
9
|
+
- `IMPROVE` - Add MAJOR, MINOR, PATCH to version.rb | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/7ee6155)
|
10
|
+
- `IMPROVE` - Update to ruby-2.1.2 | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/398453d)
|
11
|
+
- `FIX` - Disable FileName cop | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/f3ffbed)
|
12
|
+
- `IMPROVE` - Update rubocop gem to v0.19.0 | [view](https://github.com/jhx/gem-logger-jquery-rails/commit/29e9f8d)
|
13
|
+
|
3
14
|
|
4
15
|
1.2.005 / 2014-02-18
|
5
16
|
--------------------
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
CONTRIBUTING
|
2
|
+
============
|
3
|
+
|
4
|
+
1. Fork the repository on GitHub
|
5
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
6
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
7
|
+
- include specs with adequate coverage
|
8
|
+
- verify `bundle exec rake` is successful
|
9
|
+
4. Push the branch (`git push origin my-new-feature`)
|
10
|
+
5. Verify the Travis-CI build passes
|
11
|
+
6. Create new Pull Request
|
12
|
+
|
13
|
+
Note: Pull requests will not be merged with insufficient specs or if `bundle exec rake` fails for any reason.
|
14
|
+
|
15
|
+
Additionally, please **DO NOT**:
|
16
|
+
|
17
|
+
- modify the version of the cookbook
|
18
|
+
- update the CHANGELOG
|
data/Rakefile
CHANGED
@@ -37,7 +37,30 @@ task :default => [:rubocop, :spec]
|
|
37
37
|
#------------------------------------------------------ ruby lint/style checks
|
38
38
|
desc 'Runs rubocop lint tool against the gem.'
|
39
39
|
task :rubocop do
|
40
|
-
|
40
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
41
41
|
# task.fail_on_error = true
|
42
42
|
end
|
43
43
|
end # task
|
44
|
+
|
45
|
+
#------------------------------------------------------------------- changelog
|
46
|
+
# TODO: improve the following:
|
47
|
+
# - remove bump version commits
|
48
|
+
# - prepend to CHANGELOG without using changelog.tmp
|
49
|
+
desc 'Updates changelog with commit messages'
|
50
|
+
task :changelog, [:tag1, :tag2] do |t, args|
|
51
|
+
args.with_defaults(:tag1 => 'v0.1.0', :tag2 => 'HEAD')
|
52
|
+
date = `git log -1 --format=%ad #{args[:tag2]} --date=short`
|
53
|
+
title = %(#{args[:tag2].gsub(/^v/, '')} / #{date}).chomp
|
54
|
+
underline = '-' * title.size
|
55
|
+
url = 'https://github.com/jhx'
|
56
|
+
format = %(- "'`'"TYPE"'`'" - %s | [view](#{url}/$basename/commit/%h))
|
57
|
+
file = 'changelog.tmp'
|
58
|
+
sh <<-EOF
|
59
|
+
remote=$(git config --get branch.master.remote)
|
60
|
+
url=$(git config --get remote.$remote.url)
|
61
|
+
basename=$(basename "$url" .git)
|
62
|
+
echo "#{title}\n#{underline}\n" > #{file}
|
63
|
+
git log #{args[:tag1]}..#{args[:tag2]} --no-merges \
|
64
|
+
--pretty=format:"#{format}" >> #{file}
|
65
|
+
EOF
|
66
|
+
end # task
|
@@ -9,6 +9,10 @@ module LoggerJquery
|
|
9
9
|
# "1.2.000" is logger v1.2.0 + gem release 0
|
10
10
|
# "1.2.001" is logger v1.2.0 + gem release 1
|
11
11
|
# "1.2.010" is logger v1.2.0 + gem release 10
|
12
|
-
|
12
|
+
MAJOR = 1
|
13
|
+
MINOR = 2
|
14
|
+
PATCH = '006'
|
15
|
+
BUILD = nil
|
16
|
+
VERSION = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
|
13
17
|
end
|
14
18
|
end
|
data/logger-jquery-rails.gemspec
CHANGED
@@ -23,14 +23,14 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'railties', '>= 3.1'
|
24
24
|
spec.requirements << 'jQuery'
|
25
25
|
|
26
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
27
|
-
spec.add_development_dependency 'capybara', '~> 2.
|
28
|
-
spec.add_development_dependency 'coveralls', '~> 0.7.
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.7'
|
27
|
+
spec.add_development_dependency 'capybara', '~> 2.4.3'
|
28
|
+
spec.add_development_dependency 'coveralls', '~> 0.7.1'
|
29
29
|
spec.add_development_dependency 'launchy', '~> 2.4.2'
|
30
30
|
spec.add_development_dependency 'rails', '~> 3.2.14'
|
31
|
-
spec.add_development_dependency 'rake', '~> 10.
|
32
|
-
spec.add_development_dependency 'rspec-rails', '~>
|
33
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
34
|
-
spec.add_development_dependency 'semantic', '~> 1.3.
|
35
|
-
spec.add_development_dependency 'sqlite3', '~> 1.3.
|
31
|
+
spec.add_development_dependency 'rake', '~> 10.3.2'
|
32
|
+
spec.add_development_dependency 'rspec-rails', '~> 3.1.0'
|
33
|
+
spec.add_development_dependency 'rubocop', '~> 0.26.1'
|
34
|
+
spec.add_development_dependency 'semantic', '~> 1.3.1'
|
35
|
+
spec.add_development_dependency 'sqlite3', '~> 1.3.9'
|
36
36
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -24,6 +24,10 @@ include Sprockets::Helpers::IsolatedHelper
|
|
24
24
|
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
25
25
|
|
26
26
|
RSpec.configure do |config|
|
27
|
+
config.expect_with :rspec do |c|
|
28
|
+
c.syntax = :expect
|
29
|
+
end # config.expect_with
|
30
|
+
|
27
31
|
# ## Mock Framework
|
28
32
|
#
|
29
33
|
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
metadata
CHANGED
@@ -1,169 +1,169 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logger-jquery-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.006
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Doc Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-15 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.1'
|
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.1'
|
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
|
-
version: '1.
|
33
|
+
version: '1.7'
|
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
|
-
version: '1.
|
40
|
+
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: capybara
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.4.3
|
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
|
-
version: 2.
|
54
|
+
version: 2.4.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: coveralls
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.7.
|
61
|
+
version: 0.7.1
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.7.
|
68
|
+
version: 0.7.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: launchy
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.4.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.4.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 3.2.14
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 3.2.14
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 10.
|
103
|
+
version: 10.3.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 10.
|
110
|
+
version: 10.3.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec-rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 3.1.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 3.1.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.26.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.26.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: semantic
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.3.
|
145
|
+
version: 1.3.1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.3.
|
152
|
+
version: 1.3.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: sqlite3
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.3.
|
159
|
+
version: 1.3.9
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.3.
|
166
|
+
version: 1.3.9
|
167
167
|
description: Provides the `logger` jQuery plugin packaged for the Rails 3.1+ asset
|
168
168
|
pipeline.
|
169
169
|
email:
|
@@ -172,13 +172,14 @@ executables: []
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
-
- .gitignore
|
176
|
-
- .rspec
|
177
|
-
- .rubocop.yml
|
178
|
-
- .ruby-gemset
|
179
|
-
- .ruby-version
|
180
|
-
- .travis.yml
|
175
|
+
- ".gitignore"
|
176
|
+
- ".rspec"
|
177
|
+
- ".rubocop.yml"
|
178
|
+
- ".ruby-gemset"
|
179
|
+
- ".ruby-version"
|
180
|
+
- ".travis.yml"
|
181
181
|
- CHANGELOG.md
|
182
|
+
- CONTRIBUTING.md
|
182
183
|
- Gemfile
|
183
184
|
- LICENSE.txt
|
184
185
|
- README.md
|
@@ -225,18 +226,18 @@ require_paths:
|
|
225
226
|
- lib
|
226
227
|
required_ruby_version: !ruby/object:Gem::Requirement
|
227
228
|
requirements:
|
228
|
-
- -
|
229
|
+
- - ">="
|
229
230
|
- !ruby/object:Gem::Version
|
230
231
|
version: '0'
|
231
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
233
|
requirements:
|
233
|
-
- -
|
234
|
+
- - ">="
|
234
235
|
- !ruby/object:Gem::Version
|
235
236
|
version: '0'
|
236
237
|
requirements:
|
237
238
|
- jQuery
|
238
239
|
rubyforge_project:
|
239
|
-
rubygems_version: 2.
|
240
|
+
rubygems_version: 2.0.14
|
240
241
|
signing_key:
|
241
242
|
specification_version: 4
|
242
243
|
summary: Provides the `logger` jQuery plugin packaged for the Rails 3.1+ asset pipeline.
|