motion-sqlite3 0.5.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4ab612fddb9cf7a6c0c4c5d73556c585900c5b5a
4
- data.tar.gz: 76c20d1eca84a2f529b7fa0f545d9dd332aea6ea
2
+ SHA256:
3
+ metadata.gz: af35fbc8bd9aa73cd8a574a4adb203f57910b70b9ead0a20144f7d44b171de01
4
+ data.tar.gz: c92ffaf547cd920776d5f45c95cb81ce57679b670729d02509123eaed9c190b8
5
5
  SHA512:
6
- metadata.gz: 6f404828905fb82453055d07756d9393b12f72cc9879b21c892787b0178f4f6ac56503c1254ff37b504d21d4b7b1f6caf3243b175dea0633e1ce0acb352e4916
7
- data.tar.gz: 49d652fdd8eb7f49f536331fa4f980b72d6da70d241be83861353e6f72d8b5643c77c74ecb00e3148fe3f27d3ab40818e941ea6e6aad9a351ade91cce2489033
6
+ metadata.gz: 4b35565c0e8b8c625afe6106050387c898795291dcb21e7755f03a5dedc8825df7abac2650640143cc03203881fa9f2044eabde6b898c31eac877fbbe853f5fb
7
+ data.tar.gz: e47e30b578a2db477e4e4a609c27cf913245a4c31d216bfee48a75c0cd96e4399529907123be047e94e37b2e4cd1597b74fe6bf1692b550630673df609e98d6c
@@ -1,6 +1,23 @@
1
1
  language: objective-c
2
+ osx_image: xcode11.3
3
+ env:
4
+ global:
5
+ - RUBYMOTION_LICENSE=1dcac45cc434293009f74b33037bdf7361a3a1ff # Official license key for open-source projects
6
+ - TMP_DIR=./tmp # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
7
+ - OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
2
8
  before_install:
3
- - sudo chown -R travis ~/Library/RubyMotion
4
- - mkdir -p ~/Library/RubyMotion/build
5
-
9
+ - brew update
10
+ - brew outdated xctool || brew upgrade xctool
11
+ - (xcrun simctl list)
12
+ - wget http://travisci.rubymotion.com/ -O RubyMotion-TravisCI.pkg
13
+ - sudo installer -pkg RubyMotion-TravisCI.pkg -target /
14
+ - cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks/
15
+ - touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
16
+ - sudo mkdir -p ~/Library/RubyMotion/build
17
+ - sudo chown -R travis ~/Library/RubyMotion
18
+ - eval "sudo motion activate $RUBYMOTION_LICENSE"
19
+ - sudo motion update
20
+ - (motion --version)
21
+ - (ruby --version)
22
+ - motion repo
6
23
  script: bundle exec rake spec
data/README.md CHANGED
@@ -4,7 +4,7 @@ This is a tiny wrapper around the SQLite C API that's written in RubyMotion. It
4
4
 
5
5
  Whenever possible, it uses Ruby idioms like blocks and exceptions.
6
6
 
7
- [![Code Climate](https://codeclimate.com/github/mattgreen/motion-sqlite3.png)](https://codeclimate.com/github/mattgreen/motion-sqlite3) [![Build Status](https://travis-ci.org/mattgreen/motion-sqlite3.png?branch=master)](https://travis-ci.org/mattgreen/motion-sqlite3) [![Gem Version](https://badge.fury.io/rb/motion-sqlite3.png)](http://badge.fury.io/rb/motion-sqlite3)
7
+ [![Code Climate](https://codeclimate.com/github/rubymotion-community/motion-sqlite3.png)](https://codeclimate.com/github/rubymotion-community/motion-sqlite3) [![Build Status](https://travis-ci.org/rubymotion-community/motion-sqlite3.png?branch=master)](https://travis-ci.org/rubymotion-community/motion-sqlite3) [![Gem Version](https://badge.fury.io/rb/motion-sqlite3.png)](http://badge.fury.io/rb/motion-sqlite3)
8
8
 
9
9
  Is it any good?
10
10
  ---------------
@@ -52,7 +52,3 @@ Usage
52
52
  * Use `execute` to run SQL statements. All SQL statements are first prepared, and parameters can be passed as an Array or a Hash. If a Hash is passed, then the SQLite named parameter syntax is assumed to be in use.
53
53
  * Use `execute_debug` to see the SQL statement and paramaters passed in the REPL. You should not use this method in production.
54
54
  * Use `execute_scalar` to run SQL statements and return the first column of the first row. This is useful for queries like `SELECT COUNT(*) FROM posts`.
55
-
56
- Status
57
- ----------
58
- Still in early stages. I'm hacking on it.
data/Rakefile CHANGED
@@ -1,21 +1,16 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  $:.unshift("/Library/RubyMotion/lib")
3
- require 'motion/project/template/ios'
3
+ $:.unshift("~/.rubymotion/rubymotion-templates")
4
4
 
5
- require "bundler/gem_tasks"
5
+ require "motion/project/template/ios"
6
+ require "motion/project/template/gem/gem_tasks"
6
7
  require "bundler/setup"
7
- Bundler.require :default
8
+ Bundler.require
8
9
 
9
10
  Motion::Project::App.setup do |app|
10
11
  app.name = 'motion-sqlite3'
11
12
 
12
- base_dir = File.dirname(__FILE__)
13
- app.files += Dir.glob(File.join(base_dir, "lib/motion-sqlite3/**/*.rb"))
14
-
15
13
  if ENV["DEFAULT_PROVISIONING_PROFILE"]
16
14
  app.provisioning_profile = ENV["DEFAULT_PROVISIONING_PROFILE"]
17
15
  end
18
-
19
- app.libs << "/usr/lib/libsqlite3.dylib"
20
- app.include 'sqlite3.h'
21
16
  end
@@ -1,3 +1,3 @@
1
1
  module SQLite3
2
- VERSION = "0.5.3"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = "A minimal wrapper over the SQLite 3 C API for RubyMotion"
8
8
  gem.summary = "A minimal wrapper over the SQLite 3 C API for RubyMotion"
9
9
  gem.license = "MIT"
10
- gem.homepage = "http://github.com/mattgreen/motion-sqlite3"
10
+ gem.homepage = "http://github.com/rubymotion-community/motion-sqlite3"
11
11
 
12
12
  gem.files = `git ls-files`.split($\)
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
@@ -16,5 +16,5 @@ Gem::Specification.new do |gem|
16
16
  gem.version = SQLite3::VERSION
17
17
 
18
18
  gem.add_development_dependency 'rake'
19
- gem.add_dependency 'motion.h', '~> 0.0.4'
19
+ gem.add_dependency 'motion.h', '~> 0.0.6'
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-sqlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.4
33
+ version: 0.0.6
34
34
  type: :runtime
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: 0.0.4
40
+ version: 0.0.6
41
41
  description: A minimal wrapper over the SQLite 3 C API for RubyMotion
42
42
  email:
43
43
  - mattgreenrocks@gmail.com
@@ -61,7 +61,7 @@ files:
61
61
  - lib/motion-sqlite3/version.rb
62
62
  - motion-sqlite3.gemspec
63
63
  - spec/database_spec.rb
64
- homepage: http://github.com/mattgreen/motion-sqlite3
64
+ homepage: http://github.com/rubymotion-community/motion-sqlite3
65
65
  licenses:
66
66
  - MIT
67
67
  metadata: {}
@@ -80,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.2.2
83
+ rubygems_version: 3.0.6
85
84
  signing_key:
86
85
  specification_version: 4
87
86
  summary: A minimal wrapper over the SQLite 3 C API for RubyMotion