Skip to content

Commit f8627f1

Browse files
Jonas von AndrianJonas von Andrian
authored andcommitted
Update package files
1 parent 064a6f2 commit f8627f1

File tree

3 files changed

+75
-58
lines changed

3 files changed

+75
-58
lines changed

Gemfile.lock

Lines changed: 64 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,112 +8,124 @@ GIT
88
GEM
99
remote: http://rubygems.org/
1010
specs:
11-
activesupport (3.2.16)
11+
activesupport (3.2.22)
1212
i18n (~> 0.6, >= 0.6.4)
1313
multi_json (~> 1.0)
14-
addressable (2.2.8)
15-
chunky_png (1.2.9)
16-
closure-compiler (1.1.6)
17-
coderay (1.0.7)
14+
chunky_png (1.3.4)
15+
closure-compiler (1.1.11)
16+
coderay (1.1.0)
1817
coffee-script (2.2.0)
1918
coffee-script-source
2019
execjs
21-
coffee-script-source (1.6.3)
20+
coffee-script-source (1.9.1.1)
2221
compass (0.12.2)
2322
chunky_png (~> 1.2)
2423
fssm (>= 0.2.7)
2524
sass (~> 3.1)
26-
daemons (1.1.8)
27-
em-websocket (0.3.8)
28-
addressable (>= 2.1.1)
25+
daemons (1.2.3)
26+
em-websocket (0.5.1)
2927
eventmachine (>= 0.12.9)
30-
eventmachine (0.12.10)
31-
execjs (1.4.0)
28+
http_parser.rb (~> 0.6.0)
29+
eventmachine (1.0.7)
30+
execjs (1.4.1)
3231
multi_json (~> 1.0)
33-
ffi (1.9.3)
32+
ffi (1.9.9)
33+
formatador (0.2.5)
3434
fssm (0.2.10)
35-
guard (1.2.3)
36-
listen (>= 0.4.2)
35+
guard (1.8.3)
36+
formatador (>= 0.2.4)
37+
listen (~> 1.3)
38+
lumberjack (>= 1.0.2)
39+
pry (>= 0.9.10)
3740
thor (>= 0.14.6)
38-
guard-livereload (1.0.0)
39-
em-websocket (>= 0.2.0)
40-
guard (>= 1.1.0)
41-
multi_json (~> 1.0)
42-
haml (4.0.5)
41+
guard-livereload (1.4.0)
42+
em-websocket (>= 0.5.0)
43+
guard (>= 1.8.0)
44+
multi_json (~> 1.7)
45+
haml (4.0.6)
4346
tilt
4447
hike (1.2.3)
4548
hpricot (0.8.6)
46-
i18n (0.6.9)
47-
kramdown (1.3.1)
48-
libv8 (3.16.14.3)
49-
listen (1.1.6)
49+
http_parser.rb (0.6.0)
50+
i18n (0.6.11)
51+
json (1.8.3)
52+
kramdown (1.7.0)
53+
libv8 (3.16.14.9)
54+
listen (1.3.1)
5055
rb-fsevent (>= 0.9.3)
5156
rb-inotify (>= 0.9)
5257
rb-kqueue (>= 0.2)
53-
middleman (3.2.1)
58+
lumberjack (1.0.9)
59+
method_source (0.8.2)
60+
middleman (3.2.2)
5461
coffee-script (~> 2.2.0)
5562
compass (>= 0.12.2)
5663
execjs (~> 1.4.0)
5764
haml (>= 3.1.6)
5865
kramdown (~> 1.2)
59-
middleman-core (= 3.2.1)
66+
middleman-core (= 3.2.2)
6067
middleman-sprockets (>= 3.1.2)
6168
sass (>= 3.1.20)
62-
uglifier (~> 2.1.0)
63-
middleman-core (3.2.1)
69+
uglifier (~> 2.4.0)
70+
middleman-core (3.2.2)
6471
activesupport (~> 3.2.6)
6572
bundler (~> 1.1)
66-
i18n (~> 0.6.1)
73+
i18n (~> 0.6.9)
6774
listen (~> 1.1)
6875
rack (>= 1.4.5)
6976
rack-test (~> 0.6.1)
7077
thor (>= 0.15.2, < 2.0)
7178
tilt (~> 1.4.1)
72-
middleman-sprockets (3.2.0)
73-
middleman-core (~> 3.2)
74-
sprockets (~> 2.1)
75-
sprockets-helpers (~> 1.0.0)
76-
sprockets-sass (~> 1.0.0)
77-
multi_json (1.8.2)
78-
rack (1.5.2)
79+
middleman-sprockets (3.3.3)
80+
middleman-core (>= 3.2)
81+
sprockets (~> 2.2)
82+
sprockets-helpers (~> 1.1.0)
83+
sprockets-sass (~> 1.1.0)
84+
multi_json (1.11.1)
85+
pry (0.10.1)
86+
coderay (~> 1.1.0)
87+
method_source (~> 0.8.1)
88+
slop (~> 3.4)
89+
rack (1.6.4)
7990
rack-coderay (0.2.0)
8091
coderay (>= 0.8.312)
8192
hpricot (>= 0.8.1)
8293
rack (>= 1.0.0)
83-
rack-livereload (0.3.6)
94+
rack-livereload (0.3.15)
8495
rack
85-
rack-test (0.6.2)
96+
rack-test (0.6.3)
8697
rack (>= 1.0)
87-
rb-fsevent (0.9.4)
88-
rb-inotify (0.9.3)
98+
rb-fsevent (0.9.5)
99+
rb-inotify (0.9.5)
89100
ffi (>= 0.5.0)
90-
rb-kqueue (0.2.0)
101+
rb-kqueue (0.2.4)
91102
ffi (>= 0.5.0)
92-
rdiscount (1.6.8)
103+
rdiscount (2.1.8)
93104
ref (1.0.5)
94105
sass (3.1.21)
95-
sprockets (2.10.1)
106+
slop (3.6.0)
107+
sprockets (2.12.4)
96108
hike (~> 1.2)
97109
multi_json (~> 1.0)
98110
rack (~> 1.0)
99111
tilt (~> 1.1, != 1.3.0)
100-
sprockets-helpers (1.0.1)
112+
sprockets-helpers (1.1.0)
101113
sprockets (~> 2.0)
102-
sprockets-sass (1.0.2)
114+
sprockets-sass (1.1.0)
103115
sprockets (~> 2.0)
104116
tilt (~> 1.1)
105-
therubyracer (0.12.0)
117+
therubyracer (0.12.2)
106118
libv8 (~> 3.16.14.0)
107119
ref
108-
thin (1.4.1)
109-
daemons (>= 1.0.9)
110-
eventmachine (>= 0.12.6)
111-
rack (>= 1.0.0)
112-
thor (0.18.1)
120+
thin (1.6.3)
121+
daemons (~> 1.0, >= 1.0.9)
122+
eventmachine (~> 1.0)
123+
rack (~> 1.0)
124+
thor (0.19.1)
113125
tilt (1.4.1)
114-
uglifier (2.1.2)
126+
uglifier (2.4.0)
115127
execjs (>= 0.3.0)
116-
multi_json (~> 1.0, >= 1.0.2)
128+
json (>= 1.8.0)
117129

118130
PLATFORMS
119131
ruby

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"drag",
1717
"dragging"
1818
],
19-
"license": "MIT",
19+
"license": "BSD-3",
2020
"ignore": [
2121
"**/.*",
2222
"node_modules",

config.rb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ def file_kb(name)
9090

9191
set :images_dir, 'img'
9292

93+
def update_version(file)
94+
content = File.read(file).gsub(/("version": "|blob\/)[\d\.]+/, '\1' + VERSION)
95+
File.open(file, 'w') do |file|
96+
file.puts content
97+
end
98+
end
9399
# Build-specific configuration
94100
configure :build do
95101
filename = 'source/js/jquery-sortable.js'
@@ -108,11 +114,10 @@ def file_kb(name)
108114

109115
`gzip -c source/js/jquery-sortable-min.js > source/js/jquery-sortable-min.js.gz`
110116

111-
manifest = 'sortable.jquery.json'
112-
content = File.read(manifest).gsub(/("version": "|blob\/)[\d\.]+/, '\1' + VERSION)
113-
File.open(manifest, 'w') do |file|
114-
file.puts content
115-
end
117+
['sortable.jquery.json',
118+
'bower.json',
119+
'package.json'
120+
].each { |package_file| update_version(package_file) }
116121

117122
# For example, change the Compass output style for deployment
118123
# activate :minify_css

0 commit comments

Comments
 (0)