intl-tel-input-rails-wrapper 17.0.16

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/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "intl/tel/input/rails/wrapper"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,33 @@
1
+ require_relative 'lib/intl-tel-input/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'intl-tel-input-rails-wrapper'
5
+ spec.version = IntlTelInput::VERSION
6
+ spec.authors = ['atlmetal']
7
+ spec.email = ['mateodlr90@gmail.com']
8
+
9
+ spec.summary = 'intl-tel-input for the Rails asset pipeline.'
10
+ spec.description = <<-TEXT
11
+ A jQuery plugin for entering and validating international telephone numbers.
12
+ This gem allows for its easy inclusion into the Rails asset pipeline.
13
+ TEXT
14
+ spec.homepage = 'https://github.com/atlmetal/intl-tel-input-rails-wrapper'
15
+ spec.license = 'MIT'
16
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
17
+
18
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
19
+
20
+ spec.metadata['homepage_uri'] = spec.homepage
21
+ spec.metadata['source_code_uri'] = spec.homepage
22
+ # spec.metadata['changelog_uri'] = "TODO: Put your gem's CHANGELOG.md URL here."
23
+
24
+ spec.files = `git ls-files`.split("\n")
25
+ spec.require_path = 'lib'
26
+
27
+ spec.rdoc_options << '--exclude' << '.'
28
+
29
+ spec.add_dependency 'railties', '>= 3.1'
30
+ spec.add_dependency 'sass-rails'
31
+ spec.add_development_dependency 'bundler', '~> 1.5'
32
+ spec.add_development_dependency 'rake'
33
+ end
@@ -0,0 +1,6 @@
1
+ module IntlTelInput
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module IntlTelInput
2
+ VERSION = '17.0.16'.freeze
3
+ end
@@ -0,0 +1,2 @@
1
+ require 'intl-tel-input/version'
2
+ require 'intl-tel-input/rails'
@@ -0,0 +1,9 @@
1
+ RSpec.describe Intl::Tel::Input::Rails::Wrapper do
2
+ it "has a version number" do
3
+ expect(Intl::Tel::Input::Rails::Wrapper::VERSION).not_to be nil
4
+ end
5
+
6
+ it "does something useful" do
7
+ expect(false).to eq(true)
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "intl/tel/input/rails/wrapper"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end