sweetAlert 0.1.0 → 0.1.1
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 420c5ef732c6adfd5cdd0357d3766a9653d2143c
|
|
4
|
+
data.tar.gz: 0d1243d2f7a0892f4a03ac312a881aff37c1f0ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eec67008e936818cfc27d6be08604bd8acc48bb9923197ba711e7b8430525be84bb8fc0f7d12c7f36c7b11bdfe9d0a8be827d7d560dacaf80e04cc5b86aa178
|
|
7
|
+
data.tar.gz: 70bf55a4f81fdfee1711fb5d8226f93992618e5ff6430bf000870cba5fb70c3f0b49e3c19c1c8e046392301a3b62606d4756eed3c6b5977b89dbe4ab85c20fed
|
data/README.md
CHANGED
|
@@ -9,21 +9,35 @@ TODO: Delete this and the text above, and describe your gem
|
|
|
9
9
|
Add this line to your application's Gemfile:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem '
|
|
12
|
+
gem 'sweetAlert'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
And then execute:
|
|
16
16
|
|
|
17
17
|
$ bundle
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
Or install it yourself as:
|
|
20
21
|
|
|
21
|
-
$ gem install
|
|
22
|
+
$ gem install sweetAlert
|
|
23
|
+
|
|
24
|
+
Now you need to edit your `app/assets/javascripts/application.js` file and add the following line:
|
|
25
|
+
``` javascript
|
|
26
|
+
//= require sweetAlert
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
And then edit your `app/assets/stylesheets/application.css` file and add the following line:
|
|
30
|
+
``` css
|
|
31
|
+
*= require sweetAlert
|
|
32
|
+
```
|
|
33
|
+
|
|
22
34
|
|
|
23
35
|
## Usage
|
|
24
36
|
|
|
25
37
|
Read the sweetAlert documentation here http://t4t5.github.io/sweetalert/
|
|
26
38
|
|
|
39
|
+
|
|
40
|
+
|
|
27
41
|
## Development
|
|
28
42
|
|
|
29
43
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/sweetalert/version.rb
CHANGED
data/sweetalert.gemspec
CHANGED
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
21
21
|
spec.bindir = "exe"
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sweetAlert
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon
|
|
@@ -58,9 +58,9 @@ files:
|
|
|
58
58
|
- lib/sweetalert/version.rb
|
|
59
59
|
- sweetalert.gemspec
|
|
60
60
|
- vendor/assets/javascripts/.keep
|
|
61
|
-
- vendor/assets/javascripts/
|
|
61
|
+
- vendor/assets/javascripts/sweetAlert.js
|
|
62
62
|
- vendor/assets/stylesheets/.keep
|
|
63
|
-
- vendor/assets/stylesheets/
|
|
63
|
+
- vendor/assets/stylesheets/sweetAlert.css
|
|
64
64
|
homepage: https://github.com/Keenwise/sweetAlert
|
|
65
65
|
licenses:
|
|
66
66
|
- MIT
|