swfmill 0.0.4 → 0.0.5
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.
- data/VERSION +1 -1
- data/ext/libb64/src/cencode.c +6 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.5
|
data/ext/libb64/src/cencode.c
CHANGED
|
@@ -71,13 +71,15 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
|
|
|
71
71
|
*codechar++ = base64_encode_value(result);
|
|
72
72
|
result = (fragment & 0x03f) >> 0;
|
|
73
73
|
*codechar++ = base64_encode_value(result);
|
|
74
|
-
|
|
74
|
+
|
|
75
|
+
#if 0
|
|
75
76
|
++(state_in->stepcount);
|
|
76
77
|
if (state_in->stepcount == CHARS_PER_LINE/4)
|
|
77
78
|
{
|
|
78
79
|
*codechar++ = '\n';
|
|
79
80
|
state_in->stepcount = 0;
|
|
80
81
|
}
|
|
82
|
+
#endif
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
/* control should not reach here */
|
|
@@ -102,8 +104,10 @@ int base64_encode_blockend(char* code_out, base64_encodestate* state_in)
|
|
|
102
104
|
case step_A:
|
|
103
105
|
break;
|
|
104
106
|
}
|
|
107
|
+
#if 0
|
|
105
108
|
*codechar++ = '\n';
|
|
106
|
-
|
|
109
|
+
#endif
|
|
110
|
+
|
|
107
111
|
return codechar - code_out;
|
|
108
112
|
}
|
|
109
113
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: swfmill
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- miyucy
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-11-
|
|
18
|
+
date: 2010-11-29 00:00:00 +09:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|