lg_pod_plugin 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/bin/lg +2 -2
  3. data/lib/command/command.rb +1 -2
  4. data/lib/command/install.rb +7 -2
  5. data/lib/command/update.rb +4 -1
  6. data/lib/lg_pod_plugin/config/l_config.rb +59 -0
  7. data/lib/lg_pod_plugin/config/lockfile_model.rb +59 -0
  8. data/lib/lg_pod_plugin/config/podspec.rb +266 -0
  9. data/lib/lg_pod_plugin/config/target.rb +33 -0
  10. data/lib/lg_pod_plugin/{database.rb → db/database.rb} +76 -16
  11. data/lib/lg_pod_plugin/downloader/downloader.rb +156 -0
  12. data/lib/lg_pod_plugin/{l_cache.rb → downloader/l_cache.rb} +41 -22
  13. data/lib/lg_pod_plugin/downloader/request.rb +233 -0
  14. data/lib/lg_pod_plugin/git/git_clone.rb +85 -0
  15. data/lib/lg_pod_plugin/git/git_download.rb +53 -0
  16. data/lib/lg_pod_plugin/git/github_api.rb +137 -0
  17. data/lib/lg_pod_plugin/git/github_archive.rb +165 -0
  18. data/lib/lg_pod_plugin/git/gitlab_api.rb +265 -0
  19. data/lib/lg_pod_plugin/git/gitlab_archive.rb +177 -0
  20. data/lib/lg_pod_plugin/git/http_download.rb +39 -0
  21. data/lib/lg_pod_plugin/installer/PodDownload +0 -0
  22. data/lib/lg_pod_plugin/installer/concurrency.rb +21 -0
  23. data/lib/lg_pod_plugin/installer/install.rb +111 -0
  24. data/lib/lg_pod_plugin/installer/main.rb +63 -0
  25. data/lib/lg_pod_plugin/installer/project.rb +47 -0
  26. data/lib/lg_pod_plugin/net/l_uri.rb +88 -0
  27. data/lib/lg_pod_plugin/net/net-ping.rb +27 -0
  28. data/lib/lg_pod_plugin/pod/external_pod.rb +21 -0
  29. data/lib/lg_pod_plugin/pod/release-pod.rb +158 -0
  30. data/lib/lg_pod_plugin/utils/aes-crypt.rb +82 -0
  31. data/lib/lg_pod_plugin/{file_path.rb → utils/file_path.rb} +3 -5
  32. data/lib/lg_pod_plugin/utils/l_util.rb +133 -0
  33. data/lib/lg_pod_plugin/{log.rb → utils/log.rb} +1 -1
  34. data/lib/lg_pod_plugin/{string.rb → utils/string.rb} +0 -0
  35. data/lib/lg_pod_plugin/version.rb +1 -1
  36. data/lib/lg_pod_plugin.rb +24 -9
  37. data/lib/sqlite3-1.5.3-arm64-darwin/API_CHANGES.md +49 -0
  38. data/lib/sqlite3-1.5.3-arm64-darwin/CHANGELOG.md +462 -0
  39. data/lib/sqlite3-1.5.3-arm64-darwin/CONTRIBUTING.md +24 -0
  40. data/lib/sqlite3-1.5.3-arm64-darwin/ChangeLog.cvs +88 -0
  41. data/lib/sqlite3-1.5.3-arm64-darwin/README.md +235 -0
  42. data/lib/sqlite3-1.5.3-arm64-darwin/dependencies.yml +14 -0
  43. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/aggregator.c +274 -0
  44. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/aggregator.h +12 -0
  45. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/backup.c +168 -0
  46. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/backup.h +15 -0
  47. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/database.c +853 -0
  48. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/database.h +17 -0
  49. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/exception.c +98 -0
  50. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/exception.h +8 -0
  51. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/extconf.rb +251 -0
  52. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/sqlite3.c +163 -0
  53. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/sqlite3_ruby.h +48 -0
  54. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/statement.c +442 -0
  55. data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/statement.h +16 -0
  56. data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.md +431 -0
  57. data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.rb +145 -0
  58. data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.yml +426 -0
  59. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/2.6/sqlite3_native.bundle +0 -0
  60. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle +0 -0
  61. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle +0 -0
  62. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
  63. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/constants.rb +50 -0
  64. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/database.rb +741 -0
  65. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/errors.rb +35 -0
  66. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/pragmas.rb +595 -0
  67. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/resultset.rb +187 -0
  68. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/statement.rb +145 -0
  69. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/translator.rb +118 -0
  70. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/value.rb +57 -0
  71. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/version.rb +23 -0
  72. data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3.rb +15 -0
  73. data/lib/sqlite3-1.5.3-arm64-darwin/test/helper.rb +27 -0
  74. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_backup.rb +33 -0
  75. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_collation.rb +82 -0
  76. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database.rb +545 -0
  77. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_flags.rb +95 -0
  78. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readonly.rb +36 -0
  79. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readwrite.rb +41 -0
  80. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_deprecated.rb +44 -0
  81. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_encoding.rb +155 -0
  82. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration.rb +507 -0
  83. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb +336 -0
  84. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_open_close.rb +30 -0
  85. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_pending.rb +115 -0
  86. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_resultset.rb +142 -0
  87. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_statement.rb +194 -0
  88. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_result_set.rb +37 -0
  89. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_sqlite3.rb +30 -0
  90. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_statement.rb +263 -0
  91. data/lib/sqlite3-1.5.3-arm64-darwin/test/test_statement_execute.rb +35 -0
  92. data/lib/sqlite3-1.5.3-x86_64-darwin/API_CHANGES.md +49 -0
  93. data/lib/sqlite3-1.5.3-x86_64-darwin/CHANGELOG.md +462 -0
  94. data/lib/sqlite3-1.5.3-x86_64-darwin/CONTRIBUTING.md +24 -0
  95. data/lib/sqlite3-1.5.3-x86_64-darwin/ChangeLog.cvs +88 -0
  96. data/lib/sqlite3-1.5.3-x86_64-darwin/README.md +235 -0
  97. data/lib/sqlite3-1.5.3-x86_64-darwin/dependencies.yml +14 -0
  98. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/aggregator.c +274 -0
  99. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/aggregator.h +12 -0
  100. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/backup.c +168 -0
  101. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/backup.h +15 -0
  102. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/database.c +853 -0
  103. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/database.h +17 -0
  104. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/exception.c +98 -0
  105. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/exception.h +8 -0
  106. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/extconf.rb +251 -0
  107. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/sqlite3.c +163 -0
  108. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/sqlite3_ruby.h +48 -0
  109. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/statement.c +442 -0
  110. data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/statement.h +16 -0
  111. data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.md +431 -0
  112. data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.rb +145 -0
  113. data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.yml +426 -0
  114. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/2.6/sqlite3_native.bundle +0 -0
  115. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle +0 -0
  116. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle +0 -0
  117. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
  118. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/constants.rb +50 -0
  119. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/database.rb +741 -0
  120. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/errors.rb +35 -0
  121. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/pragmas.rb +595 -0
  122. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/resultset.rb +187 -0
  123. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/statement.rb +145 -0
  124. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/translator.rb +118 -0
  125. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/value.rb +57 -0
  126. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/version.rb +23 -0
  127. data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3.rb +15 -0
  128. data/lib/sqlite3-1.5.3-x86_64-darwin/test/helper.rb +27 -0
  129. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_backup.rb +33 -0
  130. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_collation.rb +82 -0
  131. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database.rb +545 -0
  132. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_flags.rb +95 -0
  133. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readonly.rb +36 -0
  134. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readwrite.rb +41 -0
  135. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_deprecated.rb +44 -0
  136. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_encoding.rb +155 -0
  137. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration.rb +507 -0
  138. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_aggregate.rb +336 -0
  139. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_open_close.rb +30 -0
  140. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_pending.rb +115 -0
  141. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_resultset.rb +142 -0
  142. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_statement.rb +194 -0
  143. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_result_set.rb +37 -0
  144. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_sqlite3.rb +30 -0
  145. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement.rb +263 -0
  146. data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement_execute.rb +35 -0
  147. metadata +146 -53
  148. data/lib/lg_pod_plugin/downloader.rb +0 -57
  149. data/lib/lg_pod_plugin/gitlab_api.rb +0 -147
  150. data/lib/lg_pod_plugin/gitlab_archive.rb +0 -352
  151. data/lib/lg_pod_plugin/gitlab_download.rb +0 -159
  152. data/lib/lg_pod_plugin/install.rb +0 -81
  153. data/lib/lg_pod_plugin/l_config.rb +0 -83
  154. data/lib/lg_pod_plugin/l_util.rb +0 -145
  155. data/lib/lg_pod_plugin/net-ping.rb +0 -41
  156. data/lib/lg_pod_plugin/podspec.rb +0 -156
  157. data/lib/lg_pod_plugin/release-pod.rb +0 -90
  158. data/lib/lg_pod_plugin/request.rb +0 -221
  159. data/lib/lg_pod_plugin/runner.rb +0 -114
  160. data/lib/lg_pod_plugin/specification.rb +0 -52
@@ -0,0 +1,462 @@
1
+ # sqlite3-ruby Changelog
2
+
3
+ ## 1.5.3 / 2022-10-11
4
+
5
+ ### Fixed
6
+
7
+ * Fixed installation of the "ruby" platform gem when building from source on Fedora. In v1.5.0..v1.5.2, installation failed on some systems due to the behavior of Fedora's pkg-config implementation. [#355]
8
+
9
+
10
+ ## 1.5.2 / 2022-10-01
11
+
12
+ ### Packaging
13
+
14
+ This version correctly vendors the tarball for sqlite v3.39.4 in the vanilla "ruby" platform gem package, so that users will not require network access at installation.
15
+
16
+ v1.5.0 and v1.5.1 mistakenly packaged the tarball for sqlite v3.38.5 in the vanilla "ruby" platform gem, resulting in downloading the intended tarball over the network at installation time (or, if the network was not available, failure to install). Note that the precompiled native gems were not affected by this issue. [#352]
17
+
18
+
19
+ ## 1.5.1 / 2022-09-29
20
+
21
+ ### Dependencies
22
+
23
+ * Vendored sqlite is updated to [v3.39.4](https://sqlite.org/releaselog/3_39_4.html).
24
+
25
+ ### Security
26
+
27
+ The vendored version of sqlite, v3.39.4, should be considered to be a security release. From the release notes:
28
+
29
+ > Version 3.39.4 is a minimal patch against the prior release that addresses issues found since the
30
+ > prior release. In particular, a potential vulnerability in the FTS3 extension has been fixed, so
31
+ > this should be considered a security update.
32
+ >
33
+ > In order to exploit the vulnerability, an attacker must have full SQL access and must be able to
34
+ > construct a corrupt database with over 2GB of FTS3 content. The problem arises from a 32-bit
35
+ > signed integer overflow.
36
+
37
+ For more information please see [GHSA-mgvv-5mxp-xq67](https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mgvv-5mxp-xq67).
38
+
39
+
40
+ ## 1.5.0 / 2022-09-08
41
+
42
+ ### Packaging
43
+
44
+ #### Faster, more reliable installation
45
+
46
+ Native (precompiled) gems are available for Ruby 2.6, 2.7, 3.0, and 3.1 on all these platforms:
47
+
48
+ - `aarch64-linux`
49
+ - `arm-linux`
50
+ - `arm64-darwin`
51
+ - `x64-mingw32` and `x64-mingw-ucrt`
52
+ - `x86-linux`
53
+ - `x86_64-darwin`
54
+ - `x86_64-linux`
55
+
56
+ If you are using one of these Ruby versions on one of these platforms, the native gem is the recommended way to install sqlite3-ruby.
57
+
58
+ See [the README](https://github.com/sparklemotion/sqlite3-ruby#native-gems-recommended) for more information.
59
+
60
+
61
+ #### More consistent developer experience
62
+
63
+ Both the native (precompiled) gems and the vanilla "ruby platform" (source) gem include sqlite v3.39.3 by default.
64
+
65
+ Defaulting to a consistent version of sqlite across all systems means that your development environment behaves exactly like your production environment, and you have access to the latest and greatest features of sqlite.
66
+
67
+ You can opt-out of the packaged version of sqlite (and use your system-installed library as in versions < 1.5.0). See [the README](https://github.com/sparklemotion/sqlite3-ruby#avoiding-the-precompiled-native-gem) for more information.
68
+
69
+ [Release notes for this version of sqlite](https://sqlite.org/releaselog/3_39_3.html)
70
+
71
+
72
+ ### Rubies and Platforms
73
+
74
+ * TruffleRuby is supported.
75
+ * Apple Silicon is supported (M1, arm64-darwin).
76
+ * vcpkg system libraries supported. [#332] (Thanks, @MSP-Greg!)
77
+
78
+
79
+ ### Added
80
+
81
+ * `SQLite3::SQLITE_LOADED_VERSION` contains the version string of the sqlite3 library that is dynamically loaded (compare to `SQLite3::SQLITE_VERSION` which is the version at compile-time).
82
+
83
+
84
+ ### Fixed
85
+
86
+ * `SQLite3::Database#load_extensions` now raises a `TypeError` unless a String is passed as the file path. Previously it was possible to pass a non-string and cause a segfault. [#339]
87
+
88
+
89
+ ## 1.4.4 / 2022-06-14
90
+
91
+ ### Fixes
92
+
93
+ * Compilation no longer fails against SQLite3 versions < 3.29.0. This issue was introduced in v1.4.3. [#324] (Thank you, @r6e!)
94
+
95
+
96
+ ## 1.4.3 / 2022-05-25
97
+
98
+ ### Enhancements
99
+
100
+ * Disable non-standard support for double-quoted string literals via the `:strict` option. [#317] (Thank you, @casperisfine!)
101
+ * Column type names are now explicitly downcased on platforms where they may have been in shoutcaps. [#315] (Thank you, @petergoldstein!)
102
+ * Support File or Pathname arguments to `Database.new`. [#283] (Thank you, @yb66!)
103
+ * Support building on MSVC. [#285] (Thank you, @jmarrec!)
104
+
105
+
106
+ ## 1.4.2 / 2019-12-18
107
+
108
+ * Travis: Drop unused setting "sudo: false"
109
+ * The taint mechanism will be deprecated in Ruby 2.7
110
+ * Fix Ruby 2.7 rb_check_safe_obj warnings
111
+ * Update travis config
112
+
113
+
114
+ ## 1.4.1
115
+
116
+ * Don't mandate dl functions for the extention build
117
+ * bumping version
118
+
119
+
120
+ ## 1.4.0
121
+
122
+ ### Enhancements
123
+
124
+ * Better aggregator support
125
+
126
+ ### Bugfixes
127
+
128
+ * Various
129
+
130
+
131
+ ## 1.3.13
132
+
133
+ ### Enhancements
134
+
135
+ * Support SQLite flags when defining functions
136
+ * Add definition for SQLITE_DETERMINISTIC flag
137
+
138
+
139
+ ## 1.3.12
140
+
141
+ ### Bugfixes
142
+
143
+ * OS X install will default to homebrew if available. Fixes #195
144
+
145
+
146
+ ## 1.3.11 / 2015-10-10
147
+
148
+ ### Enhancements
149
+
150
+ * Windows: build against SQLite 3.8.11.1
151
+
152
+ ### Internal
153
+
154
+ * Use rake-compiler-dock to build Windows binaries. Pull #159 [larskanis]
155
+ * Expand Ruby versions being tested for Travis and AppVeyor
156
+
157
+
158
+ ## 1.3.10 / 2014-10-30
159
+
160
+ ### Enhancements
161
+
162
+ * Windows: build against SQLite 3.8.6. Closes #135 [Hubro]
163
+
164
+
165
+ ## 1.3.9 / 2014-02-25
166
+
167
+ ### Bugfixes
168
+
169
+ * Reset exception message. Closes #80
170
+ * Reduce warnings due unused pointers. Closes #89
171
+ * Add BSD-3 license reference to gemspec. Refs #99 and #106
172
+
173
+
174
+ ## 1.3.8 / 2013-08-17
175
+
176
+ ### Enhancements
177
+
178
+ * Windows: build against SQLite 3.7.17
179
+
180
+ ### Bugfixes
181
+
182
+ * Reset exception message. Closes #80
183
+ * Correctly convert BLOB values to Ruby. Closes #65
184
+ * Add MIT license reference to gemspec. Closes #99
185
+ * Remove unused pointer. Closes #89
186
+
187
+ ### Internal
188
+
189
+ * Backport improvements in cross compilation for Windows
190
+ * Use of Minitest for internal tests
191
+ * Use Gemfile (generated by Hoe) to deal with dependencies
192
+ * Cleanup Travis CI
193
+
194
+
195
+ ## 1.3.7 / 2013-01-11
196
+
197
+ ### Bugfixes
198
+
199
+ * Closing a bad statement twice will not segv.
200
+ * Aggregate handlers are initialized on each query. Closes #44
201
+
202
+ ### Internal
203
+
204
+ * Unset environment variables that could affect cross compilation.
205
+
206
+
207
+ ## 1.3.6 / 2012-04-16
208
+
209
+ ### Enhancements
210
+
211
+ * Windows: build against SQLite 3.7.11
212
+ * Added SQLite3::ResultSet#each_hash for fetching each row as a hash.
213
+ * Added SQLite3::ResultSet#next_hash for fetching one row as a hash.
214
+
215
+ ### Bugfixes
216
+
217
+ * Support both UTF-16LE and UTF-16BE encoding modes on PPC. Closes #63
218
+ * Protect parameters to custom functions from being garbage collected too
219
+ soon. Fixes #60. Thanks hirataya!
220
+ * Fix backwards compatibility with 1.2.5 with bind vars and `query` method.
221
+ Fixes #35.
222
+ * Fix double definition error caused by defining sqlite3_int64/uint64.
223
+ * Fix suspicious version regexp.
224
+
225
+ ### Deprecations
226
+
227
+ * ArrayWithTypesAndFields#types is deprecated and the class will be removed
228
+ in version 2.0.0. Please use the `types` method on the ResultSet class
229
+ that created this object.
230
+ * ArrayWithTypesAndFields#fields is deprecated and the class will be removed
231
+ in version 2.0.0. Please use the `columns` method on the ResultSet class
232
+ that created this object.
233
+ * The ArrayWithTypesAndFields class will be removed in 2.0.0
234
+ * The ArrayWithTypes class will be removed in 2.0.0
235
+ * HashWithTypesAndFields#types is deprecated and the class will be removed
236
+ in version 2.0.0. Please use the `types` method on the ResultSet class
237
+ that created this object.
238
+ * HashWithTypesAndFields#fields is deprecated and the class will be removed
239
+ in version 2.0.0. Please use the `columns` method on the ResultSet class
240
+ that created this object.
241
+
242
+
243
+ ## 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!
244
+
245
+ ### Enhancements
246
+
247
+ * Windows: build against SQLite 3.7.9
248
+ * Static: enable SQLITE_ENABLE_COLUMN_METADATA
249
+ * Added Statement#clear_bindings! to set bindings back to nil
250
+
251
+ ### Bugfixes
252
+
253
+ * Fixed a segv on Database.new. Fixes #34 (thanks nobu!)
254
+ * Database error is not reset, so don't check it in Statement#reset!
255
+ * Remove conditional around Bignum statement bindings.
256
+ Fixes #52. Fixes #56. Thank you Evgeny Myasishchev.
257
+
258
+ ### Internal
259
+
260
+ * Use proper endianness when testing database connection with UTF-16.
261
+ Fixes #40. Fixes #51
262
+ * Use -fPIC for static compilation when host is x86_64.
263
+
264
+
265
+ ## 1.3.4 / 2011-07-25
266
+
267
+ ### Enhancements
268
+
269
+ * Windows: build against SQLite 3.7.7.1
270
+ * Windows: build static binaries that do not depend on sqlite3.dll be
271
+ installed anymore
272
+
273
+ ### Bugfixes
274
+
275
+ * Backup API is conditionally required so that older libsqlite3 can be used.
276
+ Thanks Hongli Lai.
277
+ * Fixed segmentation fault when nil is passed to SQLite3::Statement.new
278
+ * Fix extconf's hardcoded path that affected installation on certain systems.
279
+
280
+
281
+ ## 1.3.3 / 2010-01-16
282
+
283
+ ### Bugfixes
284
+
285
+ * Abort on installation if sqlite3_backup_init is missing. Fixes #19
286
+ * Gem has been renamed to 'sqlite3'. Please use `gem install sqlite3`
287
+
288
+
289
+ ## 1.3.2 / 2010-10-30 / RubyConf Uruguay Edition!
290
+
291
+ ### Enhancements
292
+
293
+ * Windows: build against 3.7.3 version of SQLite3
294
+ * SQLite3::Database can now be open as readonly
295
+
296
+ db = SQLite3::Database.new('my.db', :readonly => true)
297
+
298
+ * Added SQLite3::SQLITE_VERSION and SQLite3::SQLITE_VERSION_NUMBER [nurse]
299
+
300
+ ### Bugfixes
301
+
302
+ * type_translation= works along with Database#execute and a block
303
+ * defined functions are kept in a hash to prevent GC. #7
304
+ * Removed GCC specific flags from extconf.
305
+
306
+ ### Deprecations
307
+
308
+ * SQLite3::Database#type_translation= will be deprecated in the future with
309
+ no replacement.
310
+ * SQlite3::Version will be deprecated in 2.0.0 with SQLite3::VERSION as the
311
+ replacement.
312
+
313
+
314
+ ## 1.3.1 / 2010-07-09
315
+
316
+ ### Enhancements
317
+
318
+ * Custom collations may be defined using SQLite3::Database#collation
319
+
320
+ ### Bugfixes
321
+
322
+ * Statements returning 0 columns are automatically stepped. [RF #28308]
323
+ * SQLite3::Database#encoding works on 1.8 and 1.9
324
+
325
+
326
+ ## 1.3.0 / 2010-06-06
327
+
328
+ ### Enhancements
329
+
330
+ * Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
331
+ See API_CHANGES document for details.
332
+ This closes: Bug #27300, Bug #27241, Patch #16020
333
+ * Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
334
+ * Added support for type translations [tenderlove]
335
+
336
+ @db.translator.add_translator('sometime') do |type, thing|
337
+ 'output' # this will be returned as value for that column
338
+ end
339
+
340
+ ### Experimental
341
+
342
+ * Added API to access and load extensions. [kashif]
343
+ These functions maps directly into SQLite3 own enable_load_extension()
344
+ and load_extension() C-API functions. See SQLite3::Database API documentation for details.
345
+ This closes: Patches #9178
346
+
347
+ ### Bugfixes
348
+
349
+ * Corrected gem dependencies (runtime and development)
350
+ * Fixed threaded tests [Alexey Borzenkov]
351
+ * Removed GitHub gemspec
352
+ * Fixed "No definition for" warnings from RDoc
353
+ * Generate zip and tgz files for releases
354
+ * Added Luis Lavena as gem Author (maintainer)
355
+ * Prevent mkmf interfere with Mighty Snow Leopard
356
+ * Allow extension compilation search for common lib paths [kashif]
357
+ (lookup /usr/local, /opt/local and /usr)
358
+ * Corrected extension compilation under MSVC [romuloceccon]
359
+ * Define load_extension functionality based on availability [tenderlove]
360
+ * Deprecation notices for Database#query. Fixes RF #28192
361
+
362
+
363
+ ## 1.3.0.beta.2 / 2010-05-15
364
+
365
+ ### Enhancements
366
+
367
+ * Added support for type translations [tenderlove]
368
+
369
+ @db.translator.add_translator('sometime') do |type, thing|
370
+ 'output' # this will be returned as value for that column
371
+ end
372
+
373
+ ### Bugfixes
374
+
375
+ * Allow extension compilation search for common lib paths [kashif]
376
+ (lookup /usr/local, /opt/local and /usr)
377
+ * Corrected extension compilation under MSVC [romuloceccon]
378
+ * Define load_extension functionality based on availability [tenderlove]
379
+ * Deprecation notices for Database#query. Fixes RF #28192
380
+
381
+
382
+ ## 1.3.0.beta.1 / 2010-05-10
383
+
384
+ ### Enhancements
385
+
386
+ * Complete rewrite of C-based adapter from SWIG to hand-crafted one [tenderlove]
387
+ See API_CHANGES document for details.
388
+ This closes: Bug #27300, Bug #27241, Patch #16020
389
+ * Improved UTF, Unicode, M17N, all that handling and proper BLOB handling [tenderlove, nurse]
390
+
391
+ ### Experimental
392
+
393
+ * Added API to access and load extensions. [kashif]
394
+ These functions maps directly into SQLite3 own enable_load_extension()
395
+ and load_extension() C-API functions. See SQLite3::Database API documentation for details.
396
+ This closes: Patches #9178
397
+
398
+ ### Bugfixes
399
+
400
+ * Corrected gem dependencies (runtime and development)
401
+ * Fixed threaded tests [Alexey Borzenkov]
402
+ * Removed GitHub gemspec
403
+ * Fixed "No definition for" warnings from RDoc
404
+ * Generate zip and tgz files for releases
405
+ * Added Luis Lavena as gem Author (maintainer)
406
+ * Prevent mkmf interfere with Mighty Snow Leopard
407
+
408
+
409
+ ## 1.2.5 / 2009-07-25
410
+
411
+ * Check for illegal nil before executing SQL [Erik Veenstra]
412
+ * Switch to Hoe for gem task management and packaging.
413
+ * Advertise rake-compiler as development dependency.
414
+ * Build gem binaries for Windows.
415
+ * Improved Ruby 1.9 support compatibility.
416
+ * Taint returned values. Patch #20325.
417
+ * Database.open and Database.new now take an optional block [Gerrit Kaiser]
418
+
419
+
420
+ ## 1.2.4.1 (internal) / 2009-07-05
421
+
422
+ * Check for illegal nil before executing SQL [Erik Veenstra]
423
+ * Switch to Hoe for gem task management and packaging.
424
+ * Advertise rake-compiler as development dependency.
425
+ * Build gem binaries for Windows.
426
+ * Improved Ruby 1.9 support compatibility.
427
+
428
+
429
+ ## 1.2.4 / 2008-08-27
430
+
431
+ * Package the updated C file for source builds. [Jamis Buck]
432
+
433
+
434
+ ## 1.2.3 / 2008-08-26
435
+
436
+ * Fix incorrect permissions on database.rb and translator.rb [Various]
437
+ * Avoid using Object#extend for greater speedups [Erik Veenstra]
438
+ * Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com]
439
+ * Fix linking against Ruby 1.8.5 [Rob Holland <rob@inversepath.com>]
440
+
441
+
442
+ ## 1.2.2 / 2008-05-31
443
+
444
+ * Make the table_info method adjust the returned default value for the rows
445
+ so that the sqlite3 change in 3.3.8 and greater can be handled
446
+ transparently [Jamis Buck <jamis@37signals.com>]
447
+ * Ruby 1.9 compatibility tweaks [Roman Le Negrate <roman2k@free.fr>]
448
+ * Various performance enhancements [thanks Erik Veenstra]
449
+ * Correct busy_handler documentation [Rob Holland <rob@inversepath.com>]
450
+ * Use int_bind64 on Fixnum values larger than a 32bit C int can take. [Rob Holland <rob@inversepath.com>]
451
+ * Work around a quirk in SQLite's error reporting by calling sqlite3_reset
452
+ to produce a more informative error code upon a failure from
453
+ sqlite3_step. [Rob Holland <rob@inversepath.com>]
454
+ * Various documentation, test, and style tweaks [Rob Holland <rob@inversepath.com>]
455
+ * Be more granular with time/data translation [Rob Holland <rob@inversepath.com>]
456
+ * Use Date directly for parsing rather than going via Time [Rob Holland <rob@inversepath.com>]
457
+ * Check for the rt library and fdatasync so we link against that when
458
+ needed [Rob Holland <rob@inversepath.com>]
459
+ * Rename data structures to avoid collision on win32. based on patch
460
+ by: Luis Lavena [Rob Holland <rob@inversepath.com>]
461
+ * Add test for defaults [Daniel Rodríguez Troitiño]
462
+ * Correctly unquote double-quoted pragma defaults [Łukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]
@@ -0,0 +1,24 @@
1
+ # Contributing to sqlite3-ruby
2
+
3
+ **This document is a work-in-progress.**
4
+
5
+ This doc is a short introduction on how to modify and maintain the sqlite3-ruby gem.
6
+
7
+
8
+ ## Building gems
9
+
10
+ As a prerequisite please make sure you have `docker` correctly installed, so that you're able to cross-compile the native gems.
11
+
12
+ Run `bin/build-gems` which will package gems for all supported platforms, and run some basic sanity tests on those packages using `bin/test-gem-set` and `bin/test-gem-file-contents`.
13
+
14
+
15
+ ## Making a release
16
+
17
+ A quick checklist:
18
+
19
+ - [ ] make sure CI is green!
20
+ - [ ] update `CHANGELOG.md` and `lib/sqlite3/version.rb` including `VersionProxy::{MINOR,TINY}`
21
+ - [ ] create a git tag using a format that matches the pattern `v\d+\.\d+\.\d+`, e.g. `v1.3.13`
22
+ - [ ] run `bin/build-gems` and make sure it completes and all the tests pass
23
+ - [ ] `for g in gems/*.gem ; do gem push $g ; done`
24
+ - [ ] create a release at https://github.com/sparklemotion/sqlite3-ruby/releases and include sha2 checksums
@@ -0,0 +1,88 @@
1
+ 2005-01-05 09:40 minam
2
+
3
+ * Rakefile, sqlite3-ruby-win32.gemspec, sqlite3-ruby.gemspec: Added
4
+ win32 gem.
5
+
6
+ 2005-01-05 07:31 minam
7
+
8
+ * Rakefile, test/tc_integration.rb, test/tests.rb: Added
9
+ native-vs-dl benchmark to Rakefile. Added SQLITE3_DRIVERS
10
+ environment variable to integration test to specify which
11
+ driver(s) should be tested (defaults to "Native").
12
+
13
+ 2005-01-04 14:26 minam
14
+
15
+ * ext/sqlite3_api/sqlite3_api.i, lib/sqlite3/database.rb,
16
+ lib/sqlite3/driver/native/driver.rb, test/tc_database.rb,
17
+ test/tc_integration.rb, test/tests.rb: Unit tests: done. Bugs:
18
+ fixed.
19
+
20
+ 2005-01-03 23:13 minam
21
+
22
+ * ext/sqlite3_api/sqlite3_api.i, lib/sqlite3/database.rb,
23
+ lib/sqlite3/driver/dl/driver.rb,
24
+ lib/sqlite3/driver/native/driver.rb, test/tc_integration.rb:
25
+ Custom functions (aggregate and otherwise) are supported by the
26
+ native driver now. Test cases for the same.
27
+
28
+ 2005-01-03 13:51 minam
29
+
30
+ * ext/sqlite3_api/MANIFEST, ext/sqlite3_api/extconf.rb,
31
+ ext/sqlite3_api/post-clean.rb, ext/sqlite3_api/post-distclean.rb,
32
+ ext/sqlite3_api/sqlite3_api.i, lib/sqlite3/database.rb,
33
+ lib/sqlite3/resultset.rb, lib/sqlite3/version.rb,
34
+ lib/sqlite3/driver/dl/driver.rb,
35
+ lib/sqlite3/driver/native/driver.rb, test/native-vs-dl.rb,
36
+ test/tc_integration.rb: Added preliminary implementation of
37
+ native driver (swig-based), and integration tests.
38
+
39
+ 2004-12-29 19:37 minam
40
+
41
+ * lib/sqlite3/driver/dl/driver.rb: Some fixes to allow the DL
42
+ driver to work with Ruby 1.8.1.
43
+
44
+ 2004-12-29 14:52 minam
45
+
46
+ * lib/sqlite3/: database.rb, version.rb: Made #quote a class method
47
+ (again). Bumped version to 0.6.
48
+
49
+ 2004-12-25 22:59 minam
50
+
51
+ * lib/sqlite3/driver/dl/api.rb: Added check for darwin in supported
52
+ platforms (thanks to bitsweat).
53
+
54
+ 2004-12-22 12:38 minam
55
+
56
+ * Rakefile: Rakefile wasn't packaging the README file.
57
+
58
+ 2004-12-21 22:28 minam
59
+
60
+ * Rakefile, sqlite3-ruby.gemspec, test/bm.rb: Packaging now works.
61
+ Added benchmarks.
62
+
63
+ 2004-12-21 21:45 minam
64
+
65
+ * LICENSE, README, Rakefile, setup.rb, sqlite3-ruby.gemspec,
66
+ doc/faq/faq.rb, doc/faq/faq.yml, lib/sqlite3.rb,
67
+ lib/sqlite3/statement.rb, lib/sqlite3/constants.rb,
68
+ lib/sqlite3/database.rb, lib/sqlite3/resultset.rb,
69
+ lib/sqlite3/translator.rb, lib/sqlite3/value.rb,
70
+ lib/sqlite3/version.rb, lib/sqlite3/errors.rb,
71
+ lib/sqlite3/pragmas.rb, lib/sqlite3/driver/dl/api.rb,
72
+ lib/sqlite3/driver/dl/driver.rb, test/mocks.rb,
73
+ test/tc_database.rb, test/tests.rb, test/driver/dl/tc_driver.rb:
74
+ Initial import
75
+
76
+ 2004-12-21 21:45 minam
77
+
78
+ * LICENSE, README, Rakefile, setup.rb, sqlite3-ruby.gemspec,
79
+ doc/faq/faq.rb, doc/faq/faq.yml, lib/sqlite3.rb,
80
+ lib/sqlite3/statement.rb, lib/sqlite3/constants.rb,
81
+ lib/sqlite3/database.rb, lib/sqlite3/resultset.rb,
82
+ lib/sqlite3/translator.rb, lib/sqlite3/value.rb,
83
+ lib/sqlite3/version.rb, lib/sqlite3/errors.rb,
84
+ lib/sqlite3/pragmas.rb, lib/sqlite3/driver/dl/api.rb,
85
+ lib/sqlite3/driver/dl/driver.rb, test/mocks.rb,
86
+ test/tc_database.rb, test/tests.rb, test/driver/dl/tc_driver.rb:
87
+ Initial revision
88
+