oxidized-web 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of oxidized-web might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Rakefile +15 -2
- data/oxidized-web.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a0d392d1d8dc6166e75fd562f853c8119ceb9b2fb370a754d0b60acacc0de20
|
4
|
+
data.tar.gz: 7f6a971a151cb06ce0044647b5cb101b95f3563e93539ff9d63a5bee2d73552f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0e38327ab5c7e92e071d0baad334ea5b0dd8f0cff995dd11c8d7ba3133f5091b931c3df9a64b7970613792c2f65387a498318cf81fa11a83cefb4237b57193a
|
7
|
+
data.tar.gz: 150d902906c3f603eb0dbeeb6e42833c9287f6a6334e651042350cf95cb75c13ecd8aec3d436d80b1775b214072092401ebd5443ea6d945c28a760ed99f22f5d
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'bundler/gem_tasks'
|
|
2
2
|
require 'rake/testtask'
|
3
3
|
|
4
4
|
gemspec = eval(File.read(Dir['*.gemspec'].first))
|
5
|
-
|
5
|
+
gemfile = [gemspec.name, gemspec.version].join('-') + '.gem'
|
6
6
|
|
7
7
|
# Integrate Rubocop if available
|
8
8
|
begin
|
@@ -31,6 +31,7 @@ task :test do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
task build: :chmod
|
34
35
|
## desc 'Install gem'
|
35
36
|
## task :install => :build do
|
36
37
|
## system "sudo -Es sh -c \'umask 022; gem install gems/#{file}\'"
|
@@ -48,7 +49,19 @@ end
|
|
48
49
|
|
49
50
|
desc 'Push to rubygems'
|
50
51
|
task :push => :tag do
|
51
|
-
system "gem push pkg/#{
|
52
|
+
system "gem push pkg/#{gemfile}"
|
53
|
+
end
|
54
|
+
|
55
|
+
desc 'Normalise file permissions'
|
56
|
+
task :chmod do
|
57
|
+
xbit = %w[
|
58
|
+
]
|
59
|
+
dirs = []
|
60
|
+
%x(git ls-files -z).split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }.each do |file|
|
61
|
+
dirs.push(File.dirname(file))
|
62
|
+
xbit.include?(file) ? File.chmod(0o0755, file) : File.chmod(0o0644, file)
|
63
|
+
end
|
64
|
+
dirs.sort.uniq.each { |dir| File.chmod(0o0755, dir) }
|
52
65
|
end
|
53
66
|
|
54
67
|
task default: :test
|
data/oxidized-web.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'oxidized-web'
|
3
|
-
s.version = '0.13.
|
3
|
+
s.version = '0.13.1'
|
4
4
|
s.licenses = %w[Apache-2.0]
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.authors = ['Saku Ytti', 'Samer Abdel-Hafez']
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_runtime_dependency 'emk-sinatra-url-for', '~> 0.2'
|
19
19
|
s.add_runtime_dependency 'haml', '~> 5.0'
|
20
20
|
s.add_runtime_dependency 'htmlentities', '~> 4.3'
|
21
|
-
s.add_runtime_dependency 'oxidized', '~> 0.26
|
21
|
+
s.add_runtime_dependency 'oxidized', '~> 0.26'
|
22
22
|
s.add_runtime_dependency 'puma', '~> 3.11.4'
|
23
23
|
s.add_runtime_dependency 'sass', '~> 3.3'
|
24
24
|
s.add_runtime_dependency 'sinatra', '~> 1.4', '>= 1.4.6'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxidized-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saku Ytti
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.26
|
76
|
+
version: '0.26'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.26
|
83
|
+
version: '0.26'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: puma
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|